JeremyOT / mcs-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multi-Cluster Services Demo

This demo shows what the Multi-Cluster Services API could look like, using a hacky implementation.

  1. Install kind
  2. 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
  1. 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
  1. Create local clusters, connect their networks, and enable Multi-Cluster Services by installing the MCS CRDs.
./up.sh
  1. Run the demo
./demo/demo.sh
  1. Clean up
./down.sh

About

License:Apache License 2.0


Languages

Language:Shell 100.0%