Disable huge pages

This commit is contained in:
Micke Nordin 2023-06-15 18:42:15 +02:00
parent 8c750c94db
commit 59d416f633
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257

View file

@ -38,8 +38,6 @@ spec:
- name: apache-config - name: apache-config
mountPath: /etc/apache2/sites-enabled/000-default.conf mountPath: /etc/apache2/sites-enabled/000-default.conf
subPath: 000-default.conf subPath: 000-default.conf
- name: hugepage
mountPath: /dev/hugepages
- name: script-config - name: script-config
mountPath: /usr/local/bin/nc-upgrade mountPath: /usr/local/bin/nc-upgrade
subPath: nc-upgrade subPath: nc-upgrade
@ -55,11 +53,9 @@ spec:
resources: resources:
limits: limits:
cpu: 2000m cpu: 2000m
hugepages-2Mi: 2048Mi
memory: 2048Mi memory: 2048Mi
requests: requests:
cpu: 1000m cpu: 1000m
hugepages-2Mi: 2048Mi
memory: 512Mi memory: 512Mi
readinessProbe: readinessProbe:
tcpSocket: tcpSocket:
@ -217,6 +213,3 @@ spec:
items: items:
- key: "config.php" - key: "config.php"
path: "config.php" path: "config.php"
- name: hugepage
emptyDir:
medium: HugePages