From efce499bb9fd13a71c8f7a906ceea73a94c7c923 Mon Sep 17 00:00:00 2001 From: Thomas Fricke Date: Mon, 7 Dec 2015 12:09:30 +0100 Subject: [PATCH] add README.md --- cluster/libvirt-coreos/README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 cluster/libvirt-coreos/README.md diff --git a/cluster/libvirt-coreos/README.md b/cluster/libvirt-coreos/README.md new file mode 100644 index 00000000000..dc458ec2b82 --- /dev/null +++ b/cluster/libvirt-coreos/README.md @@ -0,0 +1,28 @@ +# Kubernetes CoreOS cluster + +With this tutorial one creates a Kubernetes CoreOS cluster containing of one +master and three minions (workers) running on `192.168.10.1`-`192.168.10.4`. + +For working correctly you need to create the directory addressed as `POOL_PATH` in +`util.sh`: +``` +$ sudo mkdir /var/lib/libvirt/images/kubernetes +$ sudo chown -R $USER:$USER /var/lib/libvirt/images/kubernetes/ +``` + +Then we follow the instructions in the main `kubernetes` directory. + +For debugging set `export UTIL_SH_DEBUG=1`. +``` +$ export KUBERNETES_PROVIDER=libvirt-coreos +$ make release-skip-tests +$ ./cluster/kube-up.sh +``` + +To bring the cluster down again, execute: +``` +$ ./cluster/kube-down.sh +``` + +Have fun! +