k3s/cluster/libvirt-coreos
pospispa a06901a868 Admission Controller PVC Finalizer Plugin
This admission plugin puts finalizer to every created PVC. The finalizer is
removed by PVCProtectionController when the PVC is not referenced by any
pods and thus the PVC can be deleted.
2017-11-23 11:46:28 +01:00
..
.gitignore
README.md fix kubemark, juju, and libvirt-coreos README.md (from minion to node) 2017-10-10 06:45:15 +00:00
config-default.sh Merge kube-dns templates into a single file 2017-10-03 09:43:52 -07:00
config-test.sh
coreos.xml
forEmptyDirRegistry.sed
forShellEval.sed
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 Providing kubeconfig file is now the switch for standalone mode 2017-07-24 11:03:00 -07:00
util.sh Admission Controller PVC Finalizer Plugin 2017-11-23 11:46:28 +01:00

README.md

Kubernetes CoreOS cluster

With this tutorial one creates a Kubernetes CoreOS cluster containing of one master and three nodes (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