k3s/cluster/libvirt-coreos
Jan Safranek 82d35fb461 Add admission controller for default storage class.
The admission controller adds a default class to PVCs that do not require any
specific class. This way, users (=PVC authors) do not need to care about
storage classes, administrator can configure a default one and all these PVCs
that do not care about class will get the default one.
2016-08-18 18:55:35 +02:00
..
.gitignore
README.md
config-default.sh libvirt_coreos: to remove old skydns fork fetching from addons 2016-08-01 14:41:10 +02:00
config-test.sh
coreos.xml
forShellEval.sed libvirt_coreos: to remove old skydns fork fetching from addons 2016-08-01 14:41:10 +02:00
namespace.yaml
network_kubernetes_global.xml
network_kubernetes_pods.xml
node-openssl.cnf
openssl.cnf
user_data.yml
user_data_master.yml
user_data_minion.yml
util.sh Add admission controller for default storage class. 2016-08-18 18:55:35 +02: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