Попытка следовать учебнику на официальном GitHub: https://github.com/kubernetes/kube-state-metrics
Мне удается создать контейнер, но после того, как я хочу применить, используя kubectl apply -f kubernetes
, я получаю следующее сообщение об ошибке:
ction refused
unable to recognize "kubernetes/kube-state-metrics-cluster-role.yaml": Get http://localhost:8080/api?timeout=32s: dial tcp 127.0.0.1:8080: connect: connection re
fused
unable to recognize "kubernetes/kube-state-metrics-deployment.yaml": Get http://localhost:8080/api?timeout=32s: dial tcp 127.0.0.1:8080: connect: connection refu
sed
unable to recognize "kubernetes/kube-state-metrics-role-binding.yaml": Get http://localhost:8080/api?timeout=32s: dial tcp 127.0.0.1:8080: connect: connection re
fused
unable to recognize "kubernetes/kube-state-metrics-role.yaml": Get http://localhost:8080/api?timeout=32s: dial tcp 127.0.0.1:8080: connect: connection refused
unable to recognize "kubernetes/kube-state-metrics-service-account.yaml": Get http://localhost:8080/api?timeout=32s: dial tcp 127.0.0.1:8080: connect: connection
refused
Anyone knows what this is about?
Clusters Master Version is 1.10.11-gke.1