The connection to the server localhost:8080 was refused - did you specify the right host or port?
이 현상은 Docker 데몬이 활성화 되어 있지 않을때 발생합니다. 최초 Kubernetes 설치 후 정상이었지만 reboot 후 "The connection to the server localhost:8080 was refused - did you specify the right host or port?" 이 발생하였다면 아래와 같이 작업을 하면 앞으로 reboot 을 하더라도 정상 출력.
# systemctl restart docker # systemctl enable docker Created symlink from /etc/systemd/system/multi-user.target.wants/docker.service to /usr/lib/systemd/system/docker.service.
# systemctl restart containerd # systemctl enable containerd Created symlink from /etc/systemd/system/multi-user.target.wants/containerd.service to /usr/lib/systemd/system/containerd.service.