Kubernetes version: 1.26.3
Cloud being used: GCP and AWS
Installation method: Official Docker & K8s, with cri-docker
Host OS: Ubuntu 22.04 (Jammy)
CNI and version: latest version
CRI and version: latest version
hello, i’ve same problem
i’m using ubuntu, and cri dockerd, also using latest version kubernetes
i’ve been try to:
i’ve another question about this problem what should i do?
root@ip-172-31-25-66:/home/ubuntu# kubectl get nodes
E0404 02:46:09.711083 16632 memcache.go:265] couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp 127.0.0.1:8080: connect: connection refused
E0404 02:46:09.711632 16632 memcache.go:265] couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp 127.0.0.1:8080: connect: connection refused
E0404 02:46:09.713163 16632 memcache.go:265] couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp 127.0.0.1:8080: connect: connection refused
E0404 02:46:09.714814 16632 memcache.go:265] couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp 127.0.0.1:8080: connect: connection refused
E0404 02:46:09.716360 16632 memcache.go:265] couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp 127.0.0.1:8080: connect: connection refused
The connection to the server localhost:8080 was refused - did you specify the right host or port?
i try to open all my ports, also disable all my firewall (ufw), but still same
new problem when i checked on crictl it showing exited, but now i could using command kubectl
ubuntu@ip-172-31-25-66:~$ crictl --runtime-endpoint unix:///var/run/cri-dockerd.sock ps -a
CONTAINER IMAGE CREATED STATE NAME ATTEMPT POD ID POD
ab9510ca5b943 fce326961ae2d 33 seconds ago Exited etcd 17 1653f36fe5117 etcd-ip-172-31-25-66
c24f944845830 ce8c2293ef09c 36 seconds ago Exited kube-controller-manager 17 bea0890e241e0 kube-controller-manager-ip-172-31-25-66
1e7c16658c126 1d9b3cbae03ce 2 minutes ago Exited kube-apiserver 14 eb764804e66e7 kube-apiserver-ip-172-31-25-66
fcac31ae135ac 5a79047369329 4 minutes ago Exited kube-scheduler 14 fb6dd14bf5768 kube-scheduler-ip-172-31-25-66