Why does the script precompute private ipv4's instead of having them auto assigned? #541
Replies: 2 comments 9 replies
-
I checked that indeed auto-assigning works fine, consider this PR: #542 I'm open to discussion, should anyone object to the pr. |
Beta Was this translation helpful? Give feedback.
-
It's been a while, but I finally got around contacting support and now reporting back here. In short: auto-assigning IPs to different pre-created subnets is not going to be supported soon, but it is on Hetzner's radar as per this new issue: hetznercloud/terraform-provider-hcloud#672 .
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I see that the script goes to great lengths to precompute the private ips in the various subnets. I've seen this in other projects too. Could this be a relic from the past? One can assign an hcloud_server to a private network and let the private ip be auto assigned. This would remove quite a bit of book keeping, and makes it much easier to add anything to the network.
I have not been able to find bits of code the depend on knowing the private ip before the nodes are created, but perhaps I missed something.
Any thoughts?
Beta Was this translation helpful? Give feedback.
All reactions