mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 12:07:47 +00:00
add README.md
This commit is contained in:
parent
f1603a0213
commit
efce499bb9
28
cluster/libvirt-coreos/README.md
Normal file
28
cluster/libvirt-coreos/README.md
Normal file
@ -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!
|
||||
|
Loading…
Reference in New Issue
Block a user