This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0. Requirements: There are no prior existing ingresses. | |
1. Add/Update configmap in each cluster: kubectl --context <clusterA,clusterB...> edit cm/ingress-uid -n kube-system | |
### | |
data: | |
provider-uid: 34e7fb390cc1a5a5 # 16-char hexstring must be *unique* per cluster (value doesn't matter) | |
uid: e3bb67f220a0f898 # 16-char hexstring must be the *same* in each cluster | |
### | |
2. Propagate same ingress object in each cluster (type should be of NodePort with same NodePort value). | |
kubectl --context <clusterA,clusterB...> create -f youringress.yaml | |