infraly / k8s-on-openstack

An opinionated way to deploy a Kubernetes cluster on top of an OpenStack cloud.
Apache License 2.0
112 stars 48 forks source link

Kubeadm token refactory #22

Closed zioproto closed 6 years ago

zioproto commented 6 years ago

Hello @ctrlaltdel ,

if you run Kubernetes for over 1 month the initial Token will expire.

If you need to add more nodes in the future using the playbook it will fail.

This PR fixes the problem creating a join token at every playbook run. The token will expire after 24 hours.