kubernetes: k8s.io/utils/net.GetIndexedIP() always fails with IPv6 networks
No matter what the used network size or the index is, GetIndexedIP() always returns an error.
For example when used with the network fd:11:b2:be::/64 and index 1. It fails with the error
can't generate IP with index 1 from subnet. subnet too small. subnet: "fd:11:b2:be::/64"
It works well with IPv4 subnets though.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 17 (11 by maintainers)
Thank you everyone for working on this. Figure i drop a quick comment for openness and transparency. The planned release date for Kubernetes 1.18 is next Tuesday (March 24). Since this seems to be related to IPv6 going to beta in 1.18 we (the release team) are considering this work release blocking and will keep on syncing with you all to ensure this gets into 1.18.0. Right now it seems that the way to help make sure that happens is to push back the release a day or two but I guess right now let’s wait and see how things go. Will have a better plan by Monday. Again, thank you everyone for all the work you do!
I’d like to have it, but I prefer to defer to @thockin the last decision because it’s pending on: