Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1.15 KB

deployment-on-local-cluster.md

File metadata and controls

39 lines (28 loc) · 1.15 KB

Deployment on Local Cluster

This project allows you to spin up virtualized Kubernets/OpenShift cluster. In this guide we will create a local Kubernetes cluster with two nodes, preinstalled Multus and Open vSwitch, and then install ovs-cni from local sources.

If you want to deploy ovs-cni on your arbitrary cluster, go to deployment on arbitrary cluster guide.

Start local cluster. If you want to use OpenShift instead of Kubernetes or different amount of nodes, check development guide.

KUBEVIRT_NUM_NODES=2 make cluster-up

Build ovs-cni from local sources and install it on the cluster.

make cluster-sync

You can ssh into created nodes using cluster/cli.sh.

cluster/cli.sh ssh node01

Finally if you want to use kubectl to access the cluster, start proxy.

./cluster/kubectl.sh proxy --port=8080 --disable-filter=true &

You can stop here and play with the cluster on your own or continue to demo that will guide you through definition of kubernetes networks, configuration of Open vSwitch bridges and attachment of pods to them.