From 471739a03f473e8e6262a477f0016548210afabe Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Wed, 29 Mar 2023 17:12:47 +0200 Subject: [PATCH] Add back hugepages --- customers/base/nextcloud-deployment.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/customers/base/nextcloud-deployment.yml b/customers/base/nextcloud-deployment.yml index 97691ef..dd8777e 100644 --- a/customers/base/nextcloud-deployment.yml +++ b/customers/base/nextcloud-deployment.yml @@ -37,12 +37,16 @@ spec: - name: default-config mountPath: /etc/apache2/sites-enabled/000-default.conf subPath: 000-default.conf + - name: hugepage + mountPath: /dev/hugepages resources: limits: cpu: 1500m + hugepages-2Mi: 2048Mi memory: 2048Mi requests: cpu: 500m + hugepages-2Mi: 2048Mi memory: 256Mi readinessProbe: tcpSocket: @@ -176,3 +180,6 @@ spec: items: - key: "000-default.conf" path: "000-default.conf" + - name: hugepage + emptyDir: + medium: HugePages