Add startup probe to dind side-car (#4117)

This commit is contained in:
Nikola Jokic
2025-06-11 15:50:30 +02:00
committed by GitHub
parent eef57e1a77
commit 9d8c59aeb3
2 changed files with 26 additions and 14 deletions

View File

@@ -108,6 +108,14 @@ securityContext:
privileged: true
{{- if (ge (.Capabilities.KubeVersion.Minor | int) 29) }}
restartPolicy: Always
startupProbe:
exec:
command:
- docker
- info
initialDelaySeconds: 0
failureThreshold: 24
periodSeconds: 5
{{- end }}
volumeMounts:
- name: work