Cluster calico deployed by kuberadm runs incorrectly
report errors:
1, check calico
kubectl get pods -n kube-system
Calico-node 0/1 Running
2. check the log
kubectl describe calico-node-gdv9r -n kube-system
Calico error:
Readiness probe failed: calico/node is not ready: BIRD is not ready: Error querying BIRD: unable to connect to BIRDv4 socket: dial unix /var/run/bird/bird.ctl: connect: no such file or directory
Solution:
1. Remove the DOWN NIC/interface that Docker and Calico errors.
ip link docker0
2, delete Calico pod (pod will be rebuilt and run by k8s cluster after deletion)
kubectl delete pod calico-node-gdv9r -n kube-system
3, check Calico again and find it is normal</ font>
kubectl get pods -n kube-system
Read More:
- The solution to the crash loop back off error of coredns in k8s deployment
- [Solved] kubeadm join Cluster Error: error execution phase kubelet-start
- Initializing the Kubernetes master node ERROR: failed to pull image registry.aliyuncs.com/google_containers/coredns:v1.8.0
- [Solved] Docker failed to delete image error: no such image: CentOS
- [Solved] Fluent error: invalid command [initialize-flow
- Failed to Initialize Error: error execution phase preflight: [preflight] Some fatal errors occurred: [ERROR Port-6443]
- [Solved] sbatch: error: Batch script contains DOS line breaks (\r\n)
- stream copy error: reading from a closed fifo [How to Solve]
- Configure the node environment under Linux, internal/modules/cjs/loader.js:583 throw err; solution
- The solution of insufficient disk space of docker in Ubuntu
- [Solved] Win 10 VS Code Connect to the container of the server error: Cannot connect to the Docker daemon at … Is the docker daemon running
- Linux Install Docker Error: Failed to restart docker.service: Unit docker.service not found.
- See system logs and ‘systemctl status docker.service‘ for details
- Error: ENOSPC: no space left on device [How to Solve]
- [Solved] docker Error: System has not been booted with systemd as init system (PID 1). Can‘t operate. Failed to con
- The problem of inconsistent host names in building rabbitmq on Linux
- [Solved] Node uploads files to FTP server error: timed out while making data connection
- [Solved] Beeline Error: Error: Could not open client transport with JDBC Failed to Connection
- [Solved] Docker error: “unknown runtime specified NVIDIA” using GPU“
- docker-compose -version Run Error [How to Fix]