Common errors in k8s initialization
[init] Using Kubernetes version: v1.20.5
[preflight] Running pre-flight checks
1 [WARNING NumCPU]: the number of available CPUs 1 is less than the required 2
2 [WARNING IsDockerSystemdCheck]: detected "cgroupfs" as the Docker cgroup driver. The recommended driver is "systemd". Please follow the guide at https://kubernetes.io/docs/setup/cri/
3 [WARNING SystemVerification]: this Docker version is not on the list of validated versions: 20.10.5. Latest validated version: 19.03
4 [WARNING Hostname]: hostname "k8s" could not be reached
5 [WARNING Hostname]: hostname "k8s": lookup k8s on 192.168.0.1:53: no such host
Solution:
1. Adjust the number of CPU cores to the current number of cores + 1 (self adaptation)
2. Change the settings to make the container runtime and kubelet use SYSTEMd as CGroup driver https://blog.whsir.com/post-5312.html
3. Re install docker, and the latest verification version of docker is 19.03
4. Configure domain name resolution/etc/hosts
5. Refer to 4
Read More:
- K8s deployment Kafka has been reporting errors.
- Summary of k8s single master cluster deployment
- K8s error in installing calico plug-in
- “ValueError: check_hostname requires server_hostname“ when trying to update conda
- How to Solve K8S Error getting node
- Installation of k8s Helm
- Common errors and solutions in MapReduce stage
- Error from server (alreadyexists) clusterrolebindings.rbac.authorization .k8s.io “kubelet
- Summary of common errors in angularjs
- The deployment of etcd storage and flannel network configuration for kubernetes / k8s multi node deployment
- K8s configure HTTPS with existing certificate
- Analysis and solution of common errors in ArcEngine development
- Common errors reported by Eureka in spring cloud
- for k, v in k_map: ValueError: too many values to unpack (expected 2)
- Common solutions to errors in checkout or commit of SVN
- C + + common errors: “error: XXX in namespace ‘STD’ does not name a template type”
- K8s deployment of single node Nacos error server is down now, please try again later
- Pytorch RuntimeError: Error(s) in loading state_ dict for Dat aParallel:.. function submit.py Solutions for reporting errors
- R-common errors and their possible causes — Notes
- Common errors and solutions of Qt development application under Ubuntu