Add back hugepages

This commit is contained in:
Micke Nordin 2023-03-29 17:12:47 +02:00
parent ee89e1e0a5
commit 471739a03f
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257

View file

@ -37,12 +37,16 @@ spec:
- name: default-config - name: default-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
resources: resources:
limits: limits:
cpu: 1500m cpu: 1500m
hugepages-2Mi: 2048Mi
memory: 2048Mi memory: 2048Mi
requests: requests:
cpu: 500m cpu: 500m
hugepages-2Mi: 2048Mi
memory: 256Mi memory: 256Mi
readinessProbe: readinessProbe:
tcpSocket: tcpSocket:
@ -176,3 +180,6 @@ spec:
items: items:
- key: "000-default.conf" - key: "000-default.conf"
path: "000-default.conf" path: "000-default.conf"
- name: hugepage
emptyDir:
medium: HugePages