I have recently starting experimenting with Kubernetes. I have a cluster and everything looks good. I am trying to create a fully automation Ansible script to join / remove workers / master nodes at any point in time.
So far I have managed to do so but the token expires in 24h after launching the master prime node. So I am looking in between kubeadm token create or kubeadm token generate options.
I am not sure what is the difference between those two. Can someone with more experience explain a bit more than the official documentation: kubeadm token.