Skip to content

Commit b7c29fc

Browse files
committed
ANXKUBE-1353: Apply sysctls automatically with kubelet
sysctl --system can be executed multiple times, so this should be a safe change. It's also just a soft dependency (Wants instead of Requires), so even in case of an error, it would not block the startup of kubelet. It's still unclear why the unit is sometimes not executed and right now, I assume it has to do something with the network dependences.
1 parent 514408e commit b7c29fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

deploy/osps/default/osp-flatcar-cloud-init.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,7 @@ spec:
550550
After={{ .ContainerRuntime }}.service
551551
{{- if eq .CloudProviderName "anexia" }}
552552
Requires={{ .ContainerRuntime }}.service rpc-statd.service
553+
Wants=apply-sysctl-settings.service
553554
{{- else }}
554555
Requires={{ .ContainerRuntime }}.service
555556
{{- end }}

0 commit comments

Comments
 (0)