Longhorn volume size #682
-
Hi, I have the following configuration in my kube.tf file:
I was under the impression that when I deploy, node from the first pool will get a 500GB Hetzner volume created and attached. What actually happens is longhorn uses local node disks and no Hetzner volume gets created. I have tried with versions 1.10.9 (some others from 1.9.x range as well but not sure which ones exactly) and 2.0.0. I have searched through the issues and discussions on this project and tried to follow the excellent best practices gist https://gist.github.com/ifeulner/d311b2868f6c00e649f33a72166c2e5b by ifeulner but I can't seem to get a volume created and used automatically. I have worked around the problem by creating a volume manually, attached it to the node and added it manually via the Longhorn UI. It works fine this way but I would really like to avoid this. Any ideas or suggestions? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
@transmogrifix This is the code taking care of this: terraform-hcloud-kube-hetzner/agents.tf Lines 99 to 142 in 192866e It should work and was working in the past. I will test myself and let you know. |
Beta Was this translation helpful? Give feedback.
-
@transmogrifix Thanks for finding this bug! It's been fixed in v2.0.1. You should be able to just |
Beta Was this translation helpful? Give feedback.
-
Oh wow, and here I was wondering why ssd storage seemed just as fast as node storage (and why longhorn storage size did not reflect the ssd size)....! |
Beta Was this translation helpful? Give feedback.
@transmogrifix Thanks for finding this bug! It's been fixed in v2.0.1. You should be able to just
terraform init -upgrade
to install the missing volumes and config.