QuestionQ9

VerifiedCluster Mesh

You manage two Kubernetes clusters, labeled Cluster A and Cluster B, both with Cilium installed.

You want to mesh Cluster A and Cluster B together. The clusters have the following characteristics:

  • Both clusters are configured in encapsulation mode.
  • Their PodCIDR ranges differ: Cluster A uses 192.168.0.0723, while Cluster B uses 192.168.2.0/24.
  • Nodes in all clusters have IP connectivity using their respective Internal IP addresses.
  • The network infrastructure between the clusters permits inter-cluster communication.
  • Cluster A runs Kubernetes version 1.28, and Cluster B runs Kubernetes version 1.27.
  • Their Cilium versions also differ: Cluster A uses version 1.14, and Cluster B uses version 1.13.
  • Both clusters share the same cluster name and cluster ID.
  • The Cilium certificate authority differs between Cluster A and Cluster B.

Can a cluster mesh be created under these conditions?

Explanation

Each cluster in a Cilium Cluster Mesh must have a unique cluster name and ID. These settings can be changed after installation, though running workloads must be restarted. Cilium versions may differ by one minor release, so versions 1.13 and 1.14 meet that compatibility requirement. The clusters must also trust each other’s Cluster Mesh certificates. (docs.cilium.io)

The stated Cluster A PodCIDR, 192.168.0.0723, is not valid CIDR notation. It must be corrected and checked for overlap before the mesh can be established.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!