Skip to content

Commit

Permalink
Merge pull request kubernetes#858 from MIBc/master
Browse files Browse the repository at this point in the history
Add liveness and readiness probe in deployment file
  • Loading branch information
k8s-ci-robot authored Aug 5, 2019
2 parents e2b95a0 + be1a657 commit ec38c68
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion kubernetes/kube-state-metrics-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,15 @@ spec:
containerPort: 8080
- name: telemetry
containerPort: 8081
readinessProbe:
livenessProbe:
httpGet:
path: /healthz
port: 8080
initialDelaySeconds: 5
timeoutSeconds: 5
readinessProbe:
httpGet:
path: /
port: 8080
initialDelaySeconds: 5
timeoutSeconds: 5

0 comments on commit ec38c68

Please sign in to comment.