kubeadm init
There are several points to remember when setting up the cluster with "kubeadm init" and it is clearly documented on the Kubernetes site kubeadm cluster create:
- "kubeadm reset" if you have already created a previous cluster
- Remove the ".kube" folder from the home or root directory
- (Also stopping the kubelet with systemctl will allow for a smooth setup)
- Disable swap permanently on the machine, especially if you are rebooting your linux system
- And not to forget, install a pod network add-on according to the instructions provided on the add on site (not Kubernetes site)
- Follow the post initialization steps given on the command window by kubeadm.
If all these steps are followed correctly then your cluster will run properly.
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步