Kubernetes Initialization Failed

  • If the Kubernetes cluster fails to be initialized, check whether the procedure in Prerequisites is completed, whether cgroup is correctly configured, and whether the proxy address is configured in the environment variables.
  • If an image fails to be pulled during Kubernetes cluster initialization, use the image acceleration address to pull the image in advance. Generally, such an image can be used by Kubernetes only after being renamed. You can run the following command to view images used by Kubernetes:
    kubeadm config images list
  • When cri-dockerd is used, cluster initialization fails. Check whether --cri-socket is specified and whether the configuration is correct during initialization.