Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Commit

Permalink
kubelet-ds: Add liveness and readiness probes
Browse files Browse the repository at this point in the history
Signed-off-by: Suraj Deshmukh <[email protected]>
  • Loading branch information
surajssd authored and iaguis committed Feb 18, 2020
1 parent c443f92 commit c6ec3bf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions bootkube/resources/charts/kubelet/templates/kubelet-ds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@ spec:
fieldPath: status.hostIP
securityContext:
privileged: true
livenessProbe:
httpGet:
path: /healthz
port: 10248
readinessProbe:
httpGet:
path: /healthz
port: 10248
volumeMounts:
- mountPath: /var/lib/cni
name: coreos-var-lib-cni
Expand Down

0 comments on commit c6ec3bf

Please sign in to comment.