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

View File

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

View File

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