The purpose of this repo is to demonstrate the capability to run a multicluster service mesh with multiple clusters. The install scripts will do the following
- Creates a GCP GKE cluster and a kops cluster on GCE to simulate a self managed k8s cluster
- Installs Istio in multicluster multi control plane mode and link the two clusters together
- Connects both clusters to Anthos
- Deploy a sample application spread across both clusters
-
Only works and tested in GCP Cloud Shell.
-
In the GCP Cloud Shell terminal window, clone this repo
$ git clone https://github.com/codingphun/anthos-multicluster-mesh.git
-
Go into the clone directory and run bootstrap script
# change to the install directory $ cd ~/anthos-multicluster-mesh $ source ./boostrap.sh
-
Run Athos hub connection scripts
$ source ./gke-connect-hub.sh $ source ./onprem-k8s-connect-hub.sh
-
Install Sample App
$ ./hybrid-multicluster/istio-deploy-hipster.sh