Skip to content

Commit

Permalink
add probe (#3133)
Browse files Browse the repository at this point in the history
  • Loading branch information
bobz965 committed Sep 8, 2023
1 parent 0aa39e8 commit 5d07211
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions yamls/webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,30 @@ spec:
- mountPath: /tmp/k8s-webhook-server/serving-certs
name: cert
readOnly: true
ports:
- containerPort: 8443
name: https
protocol: TCP
livenessProbe:
failureThreshold: 3
httpGet:
path: /validating
port: 8443
scheme: HTTPS
initialDelaySeconds: 60
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
readinessProbe:
failureThreshold: 3
httpGet:
path: /validating
port: 8443
scheme: HTTPS
initialDelaySeconds: 5
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 1
volumes:
- name: cert
secret:
Expand Down

0 comments on commit 5d07211

Please sign in to comment.