This demo shows what the Multi-Cluster Services API could look like, using a hacky implementation.
- Install kind
- Clone my hacky branch of K8s 1.18 to $GOPATH/src/k8s.io/kubernetes.
git clone --single-branch --branch mcs-api-staging https://github.com/JeremyOT/kubernetes.git $GOPATH/src/k8s.io/kubernetes
- Build K8s with MCS support. This assumes the mcs-api-staging branch is installed
in your $GOPATH as k8s.io/kubernetes. Set
$KUBEROOT
if using another location.
./prepare-mcs-image.sh
- Create local clusters, connect their networks, and enable Multi-Cluster Services by installing the MCS CRDs.
./up.sh
- Run the demo
./demo/demo.sh
- Clean up
./down.sh