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
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