Improve stability of traefik load balancer IP

By default, if the helm chart installation or upgrade fails for any
reason, the whole helm chart is deleted and recreated from scratch,
with a new load balancer bound to a new IP.

By setting the traefik helm chart failure policy to `stop`, we prevent
the load balancer service from being recreated in case of chart
upgrade failure, at the cost of requiring manual user intervention to
restore automatic upgrades.
This commit is contained in:
Marco Nenciarini 2022-03-21 19:12:04 +01:00
parent c3244644db
commit 98ccc2742d
No known key found for this signature in database
GPG Key ID: 589F03F01BA55038

View File

@ -4,6 +4,7 @@ metadata:
name: traefik name: traefik
namespace: kube-system namespace: kube-system
spec: spec:
failurePolicy: stop
valuesContent: |- valuesContent: |-
service: service:
enabled: true enabled: true