Allocate hugepages
This commit is contained in:
parent
caef690d29
commit
1543b52758
1 changed files with 9 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue