When I installed k8s, I encountered the following error:
E0524 08:35:51.976526 4675 controller.go:152] Unable to remove old endpoints from kubernetes service: StorageError: key not found, Code: 1, Key: /registry/masterleases/127.0.0.1, ResourceVersion: 0, AdditionalErrorMsg:
E0524 22:48:53.621517 5834 controller.go:184] Get "https://[::1]:6443/api/v1/namespaces/default/endpoints/kubernetes": dial tcp [::1]:6443: connect: connection refused
How to solve these two problems
我遇到了同样的问题,在安装apiserver的时候