Merge pull request #1584 from aledbf/add-probes

Add missing probes in deployments
This commit is contained in:
Manuel Alejandro de Brito Fontes 2017-10-25 08:28:11 -03:00 committed by GitHub
commit 1a173fe4ab
2 changed files with 38 additions and 0 deletions

View file

@ -40,3 +40,22 @@ spec:
containerPort: 80 containerPort: 80
- name: https - name: https
containerPort: 443 containerPort: 443
livenessProbe:
failureThreshold: 3
httpGet:
path: /healthz
port: 10254
scheme: HTTP
initialDelaySeconds: 10
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
readinessProbe:
failureThreshold: 3
httpGet:
path: /healthz
port: 10254
scheme: HTTP
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1

View file

@ -39,3 +39,22 @@ spec:
containerPort: 80 containerPort: 80
- name: https - name: https
containerPort: 443 containerPort: 443
livenessProbe:
failureThreshold: 3
httpGet:
path: /healthz
port: 10254
scheme: HTTP
initialDelaySeconds: 10
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
readinessProbe:
failureThreshold: 3
httpGet:
path: /healthz
port: 10254
scheme: HTTP
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1