Fix: Disable MemoryQos due to increased OOMKills

This commit is contained in:
Stefan Reimer 2023-12-04 14:09:16 +00:00
parent f7154c605a
commit 96dc628d21
3 changed files with 5 additions and 4 deletions

View File

@ -6,6 +6,7 @@ cgroupDriver: cgroupfs
logging:
format: json
hairpinMode: hairpin-veth
ContainerRuntimeEndpoint: "unix:///var/run/crio/crio.sock"
{{- if .Values.systemd }}
resolvConf: /run/systemd/resolve/resolv.conf
{{- end }}
@ -32,6 +33,5 @@ kubeReserved:
#evictionHard:
# memory.available: "484Mi"
imageGCLowThresholdPercent: 70
# kernelMemcgNotification: true
serializeImagePulls: false
maxParallelImagePulls: 2
maxParallelImagePulls: 4

View File

@ -1,7 +1,9 @@
{{- /* Feature gates for all control plane components */ -}}
{{- /* ToAdd: "PodAndContainerStatsFromCRI" */ -}}
{{- /* Issues: "MemoryQoS" */ -}}
{{- /* v1.28: "NodeSwap" */ -}}
{{- define "kubeadm.featuregates" }}
{{- $gates := list "CustomCPUCFSQuotaPeriod" "MemoryQoS" }}
{{- $gates := list "CustomCPUCFSQuotaPeriod" }}
{{- if eq .return "csv" }}
{{- range $key := $gates }}
{{- $key }}=true,

View File

@ -20,7 +20,6 @@
### FeatureGates
- CustomCPUCFSQuotaPeriod
- [MemoryQoS](https://kubernetes.io/blog/2023/05/05/qos-memory-resources/)
# Upgrade
`(No, really, you MUST read this before you upgrade)`