![]() |
8 years ago | |
---|---|---|
.. | ||
.gitignore | 8 years ago | |
README.md | 8 years ago | |
config-default.sh | 8 years ago | |
config-test.sh | 8 years ago | |
coreos.xml | 8 years ago | |
forShellEval.sed | 8 years ago | |
namespace.yaml | 8 years ago | |
network_kubernetes_global.xml | 8 years ago | |
network_kubernetes_pods.xml | 8 years ago | |
node-openssl.cnf | 8 years ago | |
openssl.cnf | 8 years ago | |
user_data.yml | 8 years ago | |
user_data_master.yml | 8 years ago | |
user_data_minion.yml | 8 years ago | |
util.sh | 8 years ago |
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!