Change readiness probe for nginx ingress that works behind a CP lb
This commit is contained in:
parent
baf5c07446
commit
9d4dfe7609
16 changed files with 148 additions and 67 deletions
|
|
@ -19,13 +19,18 @@ spec:
|
|||
- image: gcr.io/google_containers/nginx-ingress-controller:0.8.3
|
||||
name: nginx-ingress-lb
|
||||
imagePullPolicy: Always
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /ingress-controller-healthz
|
||||
port: 80
|
||||
scheme: HTTP
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /healthz
|
||||
port: 10254
|
||||
path: /ingress-controller-healthz
|
||||
port: 80
|
||||
scheme: HTTP
|
||||
initialDelaySeconds: 30
|
||||
timeoutSeconds: 5
|
||||
initialDelaySeconds: 10
|
||||
timeoutSeconds: 1
|
||||
# use downward API
|
||||
env:
|
||||
- name: POD_NAME
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue