1 报错截图 The connection to the server :6443 was refused - did you specify the right kube-apiserver容器启动异常 2首先确认 防火墙已经关闭 selinux设置disabled完成 docker启动正常 kubelet运行状态active docker images存在所需镜像 3 解决方案 3.1 master节点 kubectl 查看命令是否正常 进入home目录 cd ~ 查看...
问题一: kubeadm config images pull报错 pulling image: rpc error: cng dial unix /var/run/containerd/containerd.sock: connect: permission denied\ 问题描述 已配置镜像仓库地址为aliyun的地址,pull镜像时报错permission denied [shirley@master k8s_install]$ kubeadm config images pull --config kubeadm.yam ...
3月 05 15:34:36 master kubelet[3753]: E0305 15:34:36.422349 3753 kubelet_node_status.go:92] "Unable to register node with API server" err="Post \"https://192.168.100.101:6443/api/v1/nodes\": dial tcp 192.168.100.101:6443: connect: connection refused" node="master"#出错原因分析:拉...
Aug 30 11:17:55 localhost.localdomain kubelet[2417]: E0830 11:17:55.572509 2417 kubelet_node_status.go:103] Unable to register node "localhost.localdomain" with API server: Post https://10.0.2.15:6443/api/v1/nodes: dial tcp 10.0.2.15:6443: connect: connection refused Aug 30 11:17:55 ...
timeout=10s": dial tcp 192.168.0.18:6443: connect: connection refusedTo see the stack trace of this error execute with --v=5 or higher 加入节点的时候会经常报这个错,很可能的原因是token的问题。执行以下命令查询现在的token,然后将该值替换到join命令里即可。
//kubernetes.io/docs/setup/cri/ error execution phase preflight: couldn't validate the identity of the API Server: Get "https://192.168.0.18:6443/api/v1/namespaces/kube-public/configmaps/cluster-info?timeout=10s": dial tcp 192.168.0.18:6443: connect: connection refused To see the stack ...
dial tcp 195.134.66.28:6443: connect: connection refused this seems like the api server is not running. you can try inspecting the Pod / container logs for it. neolit123 added kind/support and removed priority/awaiting-more-evidence labels Oct 22, 2019 neolit123 added this to the v1.17...
[root@master bin]# kubectl get csWarning: v1 ComponentStatus is deprecated in v1.19+NAME STATUS MESSAGE ERRORscheduler Unhealthy Get "http://127.0.0.1:10251/healthz": dial tcp 127.0.0.1:10251: connect: connection refusedcontroller-manager Healthy oketcd-1 Healthy {"health":"true"}etcd-2 Hea...
controller-manager Unhealthy Gethttp://127.0.0.1:10252/healthz:dial tcp 127.0.0.1:10252: connect: connection refused etcd-0 Healthy {“health”:“true”} [root@K8S-PROD-M1 workspace]# kubectl get all --all-namespaces=true NAMESPACE NAME READY STATUS RESTARTS AGE ...
6443是kube-api的端口,所以是kube-api除了问题 kubeadm的kube-api是镜像部署,dokcer images查看镜像,发现kube-apiserver-amd64这个镜像不存在 cd /etc/kubernetes/manifests kubectl create -f kube-apiserver.yaml 输出: sUnable to connect to the server: dial tcp 192.168.61.11:6443: i/o timeout ...