In order to be able to setup the VXLAN Cluster Mesh:
- There will need to be two EKS clusters running Calico CNI, this is done in different regions with VPC peering to peer the node CIDRs.
- VPC/node subnet CIDRs for each cluster will need to be unique to allow worker node peering to happen, and pod cidrs and svc cidrs also need to be unique for each cluster. This is set in the eksctl config file and the Calico Installation custom resources config file respectively.
- Clustermesh setup docs
Following steps are done for a 2-cluster setup using eksctl from a config file
-
Change the values under
manifests/eksctl-config-cluster1.yaml
as needed. Note the unique VPC and svc cidrs. -
Create the cluster:
eksctl create cluster -f manifests/eksctl-config-cluster1.yaml
-
Once the cluster is up and you have
kubectl
access, delete theaws-node
daemonset:kubectl delete daemonset -n kube-system aws-node
-
Change the values under
manifests/eksctl-config-cluster2.yaml
as needed. Note the unique VPC and svc cidrs. -
Create the cluster:
eksctl create cluster -f manifests/eksctl-config-cluster2.yaml
-
Once the cluster is up and you have
kubectl
access, delete theaws-node
daemonset:kubectl delete daemonset -n kube-system aws-node
-
The next step is to prepare the clusters for installing Calico Cloud or Enterprise:
-
If deciding to go with Calico Enterprise installation, go here:
-
If deciding to go with setting up the clusters to connect to a Calico Cloud instace, go here:
-