"unable to fetch kubeadm-config" Displayed When Adding a Node to a Kubernetes Cluster
Symptom
The message "unable to fetch kubeadm-config" is displayed when a node is added to a cluster.

Key Process and Cause Analysis
If an error message is displayed indicating no permission for obtaining the config file, the token is incorrect or invalid. By default, the token on the primary node is retained for only 24 hours. After the validity period expires, the token becomes invalid.
Conclusion and Solution
- Check the token status on the primary node.
kubeadm token list

- If the token has expired, create a temporary token.
kubeadm create token
- Use the new token to add a new node.
Parent topic: Docker & Kubernetes