k3s/cluster/libvirt-coreos
k8s-merge-robot e20a0db159 Merge pull request #19001 from endocode/fix-libvirt-coreos-cluster
Auto commit by PR queue bot
2016-01-12 08:15:00 -08:00
..
.gitignore Revert "libvirt-coreos cluster: Fix etcd versions incompatibility issue" 2015-08-10 10:14:21 +02:00
README.md update generated docs 2016-01-08 10:12:18 +01:00
config-default.sh Minion->Node rename: NUM_NODES 2015-11-25 00:45:10 -08:00
config-test.sh Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
coreos.xml Revert "libvirt-coreos cluster: Fix etcd versions incompatibility issue" 2015-08-10 10:14:21 +02:00
network_kubernetes_global.xml libvirt-coreos cluster provider 2015-02-19 12:44:35 +01:00
network_kubernetes_pods.xml Fix IP conflict on master's cbr0 and host's virbr_kub_pods 2015-09-08 16:23:18 +08:00
skydns-rc.yaml Change config files to kube-system which were missed in the original PR 2015-07-07 01:05:19 -07:00
skydns-svc.yaml FIX : replace publicIP (decapricated) for clusterIP 2016-01-02 00:05:57 -05:00
user_data.yml change minion to node for libvirt-coreos 2015-10-26 19:04:00 +08:00
user_data_master.yml adding service account to libvirt 2015-12-07 14:33:12 +01:00
user_data_minion.yml keep kubeproxy hostname consistent with kubelet 2015-11-28 10:47:29 +08:00
util.sh take all ssh public keys into account 2015-12-22 10:33:52 +01:00

README.md

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!

Analytics