1. CNI Problems
Error log
| |
Because no CNI is installed, you need to remove --network-plugin=cni from the parameters in /var/lib/kubelet/kubeadm-flags.env.
| |
2. Node NotReady
There can be many reasons for a node being NotReady. It is usually caused by a network or container configuration error, and each possibility needs to be checked one by one.
Here the installation steps from the Using Kubeadm to install the Kubernetes cluster
document were used.
In the end, the cause turned out to be a mismatch between Kubelet’s cgroupDriver and Docker, which led to NotReady.
Kubelet’s configuration file is at /var/lib/kubelet/config.yaml. Modify it:
| |
It just needs to match Docker’s configuration file /etc/docker/daemon.json:
| |
3. Helm init cannot find the requested resource
The specific error message:
| |
Cause:
helm v2.14.3 is not compatible with the apiVersion of Kubernetes 1.16.0.
Solution:
| |
Update two things in tiller.yaml:
- the apiVersion version
- add a selector
| |
Create tiller
| |
Reference link, Github Issues .
