-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[v1.26.6+k3s1 on nix23.05] Traefik pods crashing due to Helm 3.9.0 needed #8831
Comments
Can you confirm that all of your nodes are running the same release of K3s? I'm not sure how you would get in a state where it's trying to install the traefik chart using an old version of the klipper-helm image, unless for some reason one of your servers was still on an older version of K3s. Make sure they're both on the latest available 1.26 release, and the issue should resolve itself. |
Good point, I only checked the version on one node. Here:
Jackpot. I will update the third node and see if that changes the behaviour. Hadn't even thought of that... |
Yep, that was at least part of it. Now the message is this:
Do I have to specify the requested namespace as an annotation in the Got an idea? |
Just add the missing annotations to that resource. You don't need to do anything to the chart. |
I deleted the errornous object after dumping it to disk ( Thanks for all your help! Much appreciated. :) |
Environmental Info:
K3s Version:
Nix OS:
Node(s) CPU architecture, OS, and Version:
Cluster Configuration:
2 Servers, 1 Agent
Describe the bug:
When k3s attempts to auto-update the integrated Traefik, this happens:
Steps To Reproduce:
I am not the original cluster admin. Our company has recently lost their clusteradmin and as I was the most capable to work with linux, I have since spent hours reading the Kubernetes documentation whilst experimenting on a private cluster at home, in an attempt to migrate my Docker Compose configuration as well as some system services to their apropriate Kubernetes variants. So, my experience with both Kubernetes and k3s is very little and mostly derived from reading the "Concepts" chapter and my past experience with Docker, Docker Compose, systemd and friends. Hence the information I provide here are as far as I can go... sorry!
What I do know, however, is that a
HelmChartConfig
was created. I have snipped out details that seem much more like secrets to me (I should convert them into actualSecret
s asap).Expected behavior:
I expected Traefik to just stay as it was, as it is a built-in resource. So it should not change, or try to change.
Actual behavior:
When I got to work this morning, it was in a constant backoff state since the "update" had failed.
Additional context / logs:
I already added the logs above, not sure what else I could add here. What I can add though, is that I have looked at the NixOS version supplied in 23.05, read the documentation on customizing built-in components, looked at the built-in
HelmChart
(which uses the tag2.9.10
, by the way) and consulted with all locally available resources. Long story short, I have no idea what is actually wrong here...Thank you and kind regards!
The text was updated successfully, but these errors were encountered: