33# sufix1 - unique single digit whole number 1-9. Cannot match sufix2
44# sufix2 - unique single digit whole number 1-9. Cannot match sufix1
55# SUB - GUID for subscription
6- # clusterType - overlay -byocni-nokubeproxy-up-mesh is primary atm, but leaving for testing later.
7- # Example command: clusterPrefix=<alais> sufix1=1 sufix2=2 SUB=<GUID> clusterType=overlay -byocni-nokubeproxy-up-mesh ./cil-script.sh
6+ # clusterType - swift -byocni-nokubeproxy-up is primary atm, but leaving for testing later.
7+ # Example command: clusterPrefix=<alais> sufix1=1 sufix2=2 SUB=<GUID> clusterType=swift -byocni-nokubeproxy-up ./cil-script.sh
88
99sufixes=" ${sufix1} ${sufix2} "
1010install=helm
@@ -15,8 +15,10 @@ for unique in $sufixes; do
1515 make -C ./hack/aks $clusterType \
1616 AZCLI=az REGION=westus2 SUB=$SUB \
1717 CLUSTER=${clusterPrefix} -${unique} \
18- POD_CIDR=192.${unique} 0.0.0/16 SVC_CIDR=192.${unique} 1.0.0/16 DNS_IP=192.${unique} 1.0.10 \
19- VNET_PREFIX=10.${unique} 0.0.0/16 SUBNET_PREFIX=10.${unique} 0.0.0/16
18+ KUBE_PROXY_JSON_PATH=./kube-proxy.json \
19+ VNET_PREFIX=10.${unique} 0.0.0/16 \
20+ NODE_SUBNET_PREFIX=10.${unique} .1.0/24 \
21+ POD_SUBNET_PREFIX=10.${unique} .2.0/24
2022
2123 kubectl config use-context ${clusterPrefix} -${unique}
2224
@@ -68,4 +70,7 @@ cilium clustermesh status --context ${clusterPrefix}-${sufix2} --wait
6870
6971# # CA is passed between clusters in this step
7072cilium clustermesh connect --context ${clusterPrefix} -${sufix1} --destination-context ${clusterPrefix} -${sufix2}
73+
74+ # For 3+ clusters
75+ # cilium clustermesh connect --context ${clusterPrefix}-${sufix1} --destination-context ${clusterPrefix}-${sufix2} --connection-mode mesh
7176# These can be run in parallel in different bash shells
0 commit comments