Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When WireGuard node-to-node encryption is enabled and the control-planes are encrypted, this leads to the KubeAPI becoming unresponsive. This happens when the second control-plane with a stacked etcd architecture joins because the second etcd will join the first and then the first control-plane consumes the published CiliumNode CR and add the node to its WireGuard interface and IPCache so that all traffic is now routed over it. This includes the etcd traffic. The second node does not yet have the first control-plane added to the WireGuard interface, hence the etcd traffic is dropped. This leads to an unresponsive KubeAPI when the second node now queries the CiliumNode CR it has created and the daemon setup never reaches the inclusion of the first node in the WireGuard interface. Therefore, we re-order the setup logic to first enable the CiliumNode watchers and push their own CiliumNode resource later. Fixes: cilium#28965 Signed-off-by: Leonard Cohnen <[email protected]>
- Loading branch information