Dual Stack node-ip parameter is incorrect
Bug #2012007 reported by
Jeremy Brisko
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Kubernetes Common Layer |
Triaged
|
Medium
|
Unassigned | ||
Kubernetes Control Plane Charm |
Triaged
|
Medium
|
Unassigned | ||
Kubernetes Worker Charm |
Triaged
|
Medium
|
Unassigned |
Bug Description
When deploying dual stack Charmed Kubernetes the kubelet node-ip argument stays as either an IPv4 address, or an IPv6 address. This should be modified in dual stack to be (ipv4), (ipv6). The node needs to know about both addresses for pods using host networking. Otherwise they think they are running on a single stack network. As far as I can tell the function get_node_ip (https:/
To post a comment you must log in.
Thanks for the report. We will need to be careful to make sure we don't break other code that calls get_node_ip. The only other reference I can find is in kubernetes- worker[ 1], which will need to be updated to properly account for multiple addresses.
[1]: https:/ /github. com/charmed- kubernetes/ charm-kubernete s-worker/ blob/5f408eefde 950022afca62ad0 77650659b81da63 /reactive/ kubernetes_ worker. py#L597