k8wiz
Cilium
Medium
Security

With encryption.nodeEncryption=true, which nodes does Cilium leave out of node-to-node WireGuard encryption by default?

Select your answer:

Show answer and explanation

Answer: Nodes with the control-plane role label

Explanation

The node-encryption-opt-out-labels option defaults to node-role.kubernetes.io/control-plane, so those nodes skip node-to-node encryption. Otherwise a worker whose key changed would have to update its CiliumNode over a connection encrypted with its old key and could lock itself out. Pod-to-pod traffic on those nodes is still encrypted.

Read more about Cilium