2021-01-03 15:33:13 +00:00
|
|
|
apiVersion: kubelet.config.k8s.io/v1beta1
|
|
|
|
kind: KubeletConfiguration
|
|
|
|
metadata:
|
|
|
|
name: kubezero-kubeletconfiguration
|
|
|
|
failSwapOn: false
|
2021-02-12 11:04:16 +00:00
|
|
|
cgroupDriver: cgroupfs
|
|
|
|
logging:
|
|
|
|
format: json
|
2021-01-03 15:33:13 +00:00
|
|
|
hairpinMode: hairpin-veth
|
2021-02-22 13:41:32 +00:00
|
|
|
{{- if .Values.systemd }}
|
2021-01-03 15:33:13 +00:00
|
|
|
resolvConf: /run/systemd/resolve/resolv.conf
|
2021-02-22 13:41:32 +00:00
|
|
|
{{- end }}
|
|
|
|
protectKernelDefaults: {{ .Values.protectKernelDefaults }}
|
2021-01-03 15:33:13 +00:00
|
|
|
eventRecordQPS: 0
|
|
|
|
# Breaks kubelet at boot time
|
|
|
|
# tlsCertFile: /var/lib/kubelet/pki/kubelet.crt
|
|
|
|
# tlsPrivateKeyFile: /var/lib/kubelet/pki/kubelet.key
|
|
|
|
tlsCipherSuites: [TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_RSA_WITH_AES_256_GCM_SHA384,TLS_RSA_WITH_AES_128_GCM_SHA256]
|
|
|
|
featureGates:
|
2021-03-05 17:18:45 +00:00
|
|
|
CustomCPUCFSQuotaPeriod: true
|
|
|
|
{{- if eq .Values.platform "aws" }}
|
2021-01-03 15:33:13 +00:00
|
|
|
CSIMigrationAWS: true
|
|
|
|
CSIMigrationAWSComplete: true
|
2021-02-22 13:41:32 +00:00
|
|
|
{{- end }}
|
|
|
|
kubeReserved:
|
2021-02-22 20:32:41 +00:00
|
|
|
cpu: 50m
|
|
|
|
memory: 128m
|
2021-03-05 17:18:45 +00:00
|
|
|
# cpuCFSQuotaPeriod: 10ms
|