Remove hugepages

This commit is contained in:
Micke Nordin 2023-03-29 17:09:51 +02:00
parent 20e5a04951
commit ee89e1e0a5
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257

View file

@ -37,26 +37,22 @@ 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:
port: 80 port: 80
initialDelaySeconds: 180 initialDelaySeconds: 10
periodSeconds: 60 periodSeconds: 60
livenessProbe: livenessProbe:
tcpSocket: tcpSocket:
port: 80 port: 80
initialDelaySeconds: 300 initialDelaySeconds: 20
periodSeconds: 180 periodSeconds: 180
ports: ports:
- containerPort: 80 - containerPort: 80
@ -180,6 +176,3 @@ spec:
items: items:
- key: "000-default.conf" - key: "000-default.conf"
path: "000-default.conf" path: "000-default.conf"
- name: hugepage
emptyDir:
medium: HugePages