diff --git a/customers/base/nextcloud-deployment.yml b/customers/base/nextcloud-deployment.yml index dc1ab58..6bba354 100644 --- a/customers/base/nextcloud-deployment.yml +++ b/customers/base/nextcloud-deployment.yml @@ -62,12 +62,16 @@ spec: - name: run-volume mountPath: /var/run/apache2 subPath: apache2 + - name: hugepage + mountPath: /hugepages resources: limits: cpu: 1500m + hugepages-2Mi: 1Gi memory: 2048Mi requests: cpu: 500m + hugepages-2Mi: 1Gi memory: 256Mi readinessProbe: tcpSocket: @@ -83,8 +87,7 @@ spec: - containerPort: 8080 name: nextcloud-http command: ["/bin/bash"] - args: ["-c", "apachectl -D FOREGROUND"] - #args: ["-c", "cp /etc/apache2/mods-available/{php8.0.conf,php8.0.load}; apachectl -D FOREGROUND"] + args: ["-c", "cp /etc/apache2/mods-available/{php8.0.conf,php8.0.load}; apachectl -D FOREGROUND"] #command: ["/bin/sh","-c", "apachectl -D FOREGROUND; tail -f /dev/null"] initContainers: - image: docker.sunet.se/sunet/docker-jinja:latest @@ -235,3 +238,7 @@ spec: - name: conf-volume emptyDir: sizeLimit: 500Mi + - name: hugepage + emptyDir: + medium: HugePages +