Update nginx-ingress from v0.25.1 to v0.26.1

* Add lifecycle hook to allow draining connections for
up to 5 minutes
This commit is contained in:
Dalton Hubble 2019-09-29 11:56:31 -07:00
parent 78bfff0afe
commit 7bcf2d7831
6 changed files with 37 additions and 10 deletions

View File

@ -30,6 +30,8 @@ Notable changes between versions.
#### Addons #### Addons
* Update nginx-ingress from v0.25.1 to [v0.26.0](https://github.com/kubernetes/ingress-nginx/releases/tag/nginx-0.26.0) ([#555](https://github.com/poseidon/typhoon/pull/555))
* Add lifecycle hook to allow draining for up to 5 minutes
* Update Grafana from v6.3.5 to [v6.3.6](https://github.com/grafana/grafana/releases/tag/v6.3.6) * Update Grafana from v6.3.5 to [v6.3.6](https://github.com/grafana/grafana/releases/tag/v6.3.6)
## v1.16.0 ## v1.16.0

View File

@ -22,7 +22,7 @@ spec:
spec: spec:
containers: containers:
- name: nginx-ingress-controller - name: nginx-ingress-controller
image: quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.25.1 image: quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.26.1
args: args:
- /nginx-ingress-controller - /nginx-ingress-controller
- --ingress-class=public - --ingress-class=public
@ -65,6 +65,11 @@ spec:
periodSeconds: 10 periodSeconds: 10
successThreshold: 1 successThreshold: 1
timeoutSeconds: 5 timeoutSeconds: 5
lifecycle:
preStop:
exec:
command:
- /wait-shutdown
securityContext: securityContext:
capabilities: capabilities:
add: add:
@ -73,4 +78,4 @@ spec:
- ALL - ALL
runAsUser: 33 # www-data runAsUser: 33 # www-data
restartPolicy: Always restartPolicy: Always
terminationGracePeriodSeconds: 60 terminationGracePeriodSeconds: 300

View File

@ -22,7 +22,7 @@ spec:
spec: spec:
containers: containers:
- name: nginx-ingress-controller - name: nginx-ingress-controller
image: quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.25.1 image: quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.26.1
args: args:
- /nginx-ingress-controller - /nginx-ingress-controller
- --ingress-class=public - --ingress-class=public
@ -65,6 +65,11 @@ spec:
periodSeconds: 10 periodSeconds: 10
successThreshold: 1 successThreshold: 1
timeoutSeconds: 5 timeoutSeconds: 5
lifecycle:
preStop:
exec:
command:
- /wait-shutdown
securityContext: securityContext:
capabilities: capabilities:
add: add:
@ -73,4 +78,4 @@ spec:
- ALL - ALL
runAsUser: 33 # www-data runAsUser: 33 # www-data
restartPolicy: Always restartPolicy: Always
terminationGracePeriodSeconds: 60 terminationGracePeriodSeconds: 300

View File

@ -22,7 +22,7 @@ spec:
spec: spec:
containers: containers:
- name: nginx-ingress-controller - name: nginx-ingress-controller
image: quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.25.1 image: quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.26.1
args: args:
- /nginx-ingress-controller - /nginx-ingress-controller
- --ingress-class=public - --ingress-class=public
@ -62,6 +62,11 @@ spec:
successThreshold: 1 successThreshold: 1
failureThreshold: 3 failureThreshold: 3
timeoutSeconds: 5 timeoutSeconds: 5
lifecycle:
preStop:
exec:
command:
- /wait-shutdown
securityContext: securityContext:
capabilities: capabilities:
add: add:
@ -70,5 +75,5 @@ spec:
- ALL - ALL
runAsUser: 33 # www-data runAsUser: 33 # www-data
restartPolicy: Always restartPolicy: Always
terminationGracePeriodSeconds: 60 terminationGracePeriodSeconds: 300

View File

@ -22,7 +22,7 @@ spec:
spec: spec:
containers: containers:
- name: nginx-ingress-controller - name: nginx-ingress-controller
image: quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.25.1 image: quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.26.1
args: args:
- /nginx-ingress-controller - /nginx-ingress-controller
- --ingress-class=public - --ingress-class=public
@ -65,6 +65,11 @@ spec:
periodSeconds: 10 periodSeconds: 10
successThreshold: 1 successThreshold: 1
timeoutSeconds: 5 timeoutSeconds: 5
lifecycle:
preStop:
exec:
command:
- /wait-shutdown
securityContext: securityContext:
capabilities: capabilities:
add: add:
@ -73,4 +78,4 @@ spec:
- ALL - ALL
runAsUser: 33 # www-data runAsUser: 33 # www-data
restartPolicy: Always restartPolicy: Always
terminationGracePeriodSeconds: 60 terminationGracePeriodSeconds: 300

View File

@ -22,7 +22,7 @@ spec:
spec: spec:
containers: containers:
- name: nginx-ingress-controller - name: nginx-ingress-controller
image: quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.25.1 image: quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.26.1
args: args:
- /nginx-ingress-controller - /nginx-ingress-controller
- --ingress-class=public - --ingress-class=public
@ -65,6 +65,11 @@ spec:
periodSeconds: 10 periodSeconds: 10
successThreshold: 1 successThreshold: 1
timeoutSeconds: 5 timeoutSeconds: 5
lifecycle:
preStop:
exec:
command:
- /wait-shutdown
securityContext: securityContext:
capabilities: capabilities:
add: add:
@ -73,4 +78,4 @@ spec:
- ALL - ALL
runAsUser: 33 # www-data runAsUser: 33 # www-data
restartPolicy: Always restartPolicy: Always
terminationGracePeriodSeconds: 60 terminationGracePeriodSeconds: 300