traefik suddenly not working - how to upgrade from the command line? #264
-
Hey all - so I think k3 automatically was upgrading traefik when something failed during install. Typically I can do a helm "upgrade" command via lens to get traefik back, but it's unresponsive - is there a helm upgrade command that targets the traefik version that is being used? The app version is listed as 2.6.2. Would love any help here...thanks so much. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@TimHeckel Please look in the Traefik template So just apply the most recent |
Beta Was this translation helpful? Give feedback.
-
Awesome to hear @TimHeckel, and to upgrade, the easiest path is just to deploy a new cluster and migrate everything with a sweet tool from VMWare called Velero; more about this here https://velero.io/docs/v1.9/migration-case/. |
Beta Was this translation helpful? Give feedback.
@TimHeckel Please look in the Traefik template
traefik_config.yaml.tpl
; it should have a spec offailurePolicy: abort
, which should protect the cluster against failed Traefik upgrades. But maybe the version of Kube-Hetzner you have does not have it.So just apply the most recent
traefik_config.yaml.tpl
found in the repo, transfer it to a proper yaml format first manually, and if you want to read your current one viakubectl get helmchartconfig
in the proper namespace.