-
-
Notifications
You must be signed in to change notification settings - Fork 375
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
[Bug]: Traefik fails after automatic self-restart because of missing CRD #1391
Comments
I fixed my current cluster by installing the new CRD and RBAC definitions # Install Traefik Resource Definitions:
kubectl apply -f https://raw.githubusercontent.com/traefik/traefik/v3.0/docs/content/reference/dynamic-configuration/kubernetes-crd-definition-v1.yml
# Install RBAC for Traefik:
kubectl apply -f https://raw.githubusercontent.com/traefik/traefik/v3.0/docs/content/reference/dynamic-configuration/kubernetes-crd-rbac.yml and then, in addition, I needed to change all the k8s traefik yaml resource definitions to use |
Interesting, maybe a bug should be opened on k3s' side. |
Looking around where this autoupdate is defined I found that
|
@schlichtanders It could be updated automatically along with k3s. However, if I remember correctly (I need to re-check in the code), we had dissociated traefik from k3s and are now installing it directly via helm. Maybe you were running an old cluster? |
@schlichtanders Any updates here? |
Description
My running hetzner cluster out of a sudden shows a self-signed certificate problem despite the certificate is actually still valid.
It turns out that traefik was restarted 16 hours ago and now throws some errors (and I hope that they are the source of the problem)
I interprete this as following:
serverstransporttcps.traefik.io
which was not yet provided with the initial cluster initializationQuestions:
serverstransporttcps.traefik.io
into a running cluster? Answer at [Bug]: Traefik fails after automatic self-restart because of missing CRD #1391 (comment)Or is there a way to self-update such that also traefik CRD and RBAC are updated?EDIT: that would not suffice, because apparently also my resource definitions needed to be adapted). Answer: settraefik_image_tag
inkube.tf
Kube.tf file
Screenshots
No response
Platform
Linux
The text was updated successfully, but these errors were encountered: