Replies: 8 comments
-
@Breee Your Traefik values.yaml content looks fine, but you better include those in the corresponding section in the kube.tf file, and not re-install in via helm. This is done automatically. About the Longhorn errors, seeing some errors are ok if at the end it resolves itself on its own. Does it do so? |
Beta Was this translation helpful? Give feedback.
-
@mysticaltech Yeah, in the meantime i figured out that the configs are stored in the about longhorn: the error did not appear anymore, so i'm not sure what happend that day. I had to get rid of the PV and PVC tho and redeploy. |
Beta Was this translation helpful? Give feedback.
-
Yes, exactly we deploy a helmchartconfig to give traefik the required values. |
Beta Was this translation helpful? Give feedback.
-
Yep I did not figure out how set the values.yaml via kube.tf I only see this: https://github.com/kube-hetzner/terraform-hcloud-kube-hetzner/blob/master/kube.tf.example#L238 |
Beta Was this translation helpful? Give feedback.
-
@mysticaltech I came across longhorn issues again today:
I had to delete the PV + PVC and redeploy Using ReadWriteMany volumes could probably help, but they are pretty slow I think |
Beta Was this translation helpful? Give feedback.
-
@kube-hetzner/core Any ideas why that would happen? |
Beta Was this translation helpful? Give feedback.
-
For the first issue: When a master node boots it executes all manifests stored in: Also the traefik helmchart is added automaticly as long as the k3s config doesn't include the option to remove traefik. Instead of redeploying traefik completly or removing the traefik config the best way would be to just deploy a single HelmChartConfig to that folder as described here: Afaik this terraform module doesn't change any config if you change things in the kube.tf file and redeploy. It only applies the config once on first setup. Once the files have been created they stay as they were on first setup. For the longhorn issue: |
Beta Was this translation helpful? Give feedback.
-
@WolfspiritM For Longhorn did you check out the resource created by @ifeulner, maybe this could help you out. Here it is https://gist.github.com/ifeulner/d311b2868f6c00e649f33a72166c2e5b |
Beta Was this translation helpful? Give feedback.
-
Greetings,
I have run into two issues when the automatic updates hit and I hope that you guys can help me :)
The purpose is to use external DNS to automatically set the DNS entry of my cluster to my traefik LB IP.
After Automatic updates happen, this configuration is gone and my traefik LB gets IPv4 and IPv6 Ips as well as missing annotations in the service
I'm using longhorn with the following PV / PVC:
Beta Was this translation helpful? Give feedback.
All reactions