Error: token failed, reason: getaddrinfo EAI_AGAIN ks-apiserver
Edit coredns configuration information
kubectl -n kube-system edit cm coredns -o yaml
Comment out :
# forward . /etc/resolv.conf {
# max_concurrent 1000
#}
View coredns pod
kubectl get pods -n kube-system | grep core
Delete these two, The system will automatically rebuild
kubectl delete pod coredns-6d8c4cb4d-kvtp5 -n kube-system
kubectl delete pod coredns-6d8c4cb4d-tr22x -n kube-system
Read More:
- [Solved] Readiness probe failed: calico/node is not ready: BIRD is not ready: Error querying BIRD: unable to
- [Solved] Linux SSH Login Terminal Error: shell request failed on channel 0
- [Solved] secureCRT Failed to Login Ubuntu20.04 Error: Key exchange failed
- AFTER THE GIT SOURCE CODE IS INSTALLED, AN ERROR IS REPORTED /USR/BIN/GIT: NO SUCH FILE OR DIRECTORY
- [Solved] websocket: the client is not using the websocket protocol: ‘upgrade’ token not found in ‘Connection’ head
- [Solved] SSH Failed to Login Ubuntu Error: Socket error Event: 32 Error: 10053. Connection closing…Socket close.
- The resolution of Ubuntu 16.04 screen can’t be modified and the solution of circulating login
- The solution to the crash loop back off error of coredns in k8s deployment
- Initializing the Kubernetes master node ERROR: failed to pull image registry.aliyuncs.com/google_containers/coredns:v1.8.0
- Shell Script syntax error near unexpected token `done’
- Ubuntu shell Script syntax error near unexpected token `$‘{\r‘‘
- [Solved] lftp Login Error: Fatal error: Certificate verification: Not trusted
- [Solved] error:getaddrinfo ENOTFOUND xxx.xxxx.com xxx.xxxx.com:443
- [Solved] Login with Ubuntu graphical interface, error sorry, that didn’t work.please try again
- Linux changing password enter new UNIX password: passwd: authentication token manipulation error
- [Solved] bash: /etc/vimrc: line 15: syntax error near unexpected token `“autocmd“‘
- [Solved] Ubuntu Terminal Error: subprocess installed post-installation script returned error exit status 1
- [Solved] Linux shell Script Error: syntax error near unexpected token `do
- subprocess installed post-installation script returned error exit status 1
- Running shell script reports an error: “syntax error near unexpected token solution ‘”