k3s/cluster/libvirt-coreos
Jordan Liggitt 0d2e5a0dd8
Enable service account token lookup by default
```release-note
kube-apiserver: --service-account-lookup now defaults to true. This enables service account tokens to be revoked by deleting the Secret object containing the token.
```
2017-04-04 22:00:11 -04:00
..
.gitignore
README.md
config-default.sh Update startup scripts for kube-dns ConfigMap and ServiceAccount 2017-03-09 11:10:23 -08:00
config-test.sh Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
coreos.xml
forEmptyDirRegistry.sed adding local registry to libvirt_coreos 2016-12-19 07:51:46 +01:00
forShellEval.sed Migrates addons from using ReplicationControllers to Deployments 2016-11-09 09:17:05 -08:00
namespace.yaml libvirt_coreos: Add DNS and reaise loglevel 2016-03-10 10:28:46 +01:00
network_kubernetes_global.xml
network_kubernetes_pods.xml
node-openssl.cnf libvirt_coreos: Add DNS and reaise loglevel 2016-03-10 10:28:46 +01:00
openssl.cnf libvirt_coreos: Add DNS and reaise loglevel 2016-03-10 10:28:46 +01:00
user_data.yml
user_data_master.yml libvirt_coreos: Add DNS and reaise loglevel 2016-03-10 10:28:46 +01:00
user_data_minion.yml Replace uses of --config with --pod-manifest-path 2017-02-07 14:32:37 -08:00
util.sh Enable service account token lookup by default 2017-04-04 22:00:11 -04: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