https://rancher.com/ logo
#k3s
Title
# k3s
b

bright-london-1095

12/20/2022, 1:57 PM
Hi, I'm getting this error sometime and traefik won't be serving traffic resulting
502 bad gateway
. Has any faced this issue ?
k3s: v1.22.8
Copy code
echo 'Installing helm_v3 chart'
helm_v3 install --set-string global.systemDefaultRegistry= traefik <https://10.43.0.1:443/static/charts/traefik-10.14.100.tgz> --values /config/values-01_HelmChart.yaml --values /config/values-10_HelmChartConfig.yaml
Error: INSTALLATION FAILED: cannot re-use a name that is still in use
c

creamy-pencil-82913

12/20/2022, 6:02 PM
it looks like a previous installation or upgrade of helm has failed. Can you show more of the output that includes the current chart status, or use
helm ls -A
to show the chart status manually?
b

bright-london-1095

12/20/2022, 6:04 PM
As a workaround I deleted traefik helmchart and job to redeploy traefik
But i will post here in thread once i get that error again
Any other command apart from helm ls -A ?
c

creamy-pencil-82913

12/20/2022, 6:19 PM
just the full helm job pod output would be good
What kind of cluster is this? how many nodes, how are you upgrading it, etc.
b

bright-london-1095

12/20/2022, 6:19 PM
Single node
c

creamy-pencil-82913

12/20/2022, 6:20 PM
we haven’t really touched the traefik chart on 1.22 in quite a while so it shouldn’t be trying to do much with it
b

bright-london-1095

12/20/2022, 6:20 PM
Deleting traefik and then install k3s v1.22.8 which will install traefik2.x too
And the job does the installation of traefik
c

creamy-pencil-82913

12/20/2022, 6:22 PM
you should also be aware that 1.22 has been EOL for a little while. 1.23 will also be end of life on Feb 28.
b

bright-london-1095

12/20/2022, 6:23 PM
We will be upgrading to 1.24.8 in Q1 2023
103 Views