0
votes

I am a k8s newbie, so I apologize if this has been asked before. There are quite a few aspects to k8s, so I am unsure of what previous questions would apply to this.

Earlier this month, I used the latest version of Kubespray to deploy k8s. I'm deploying on two VMs, one as the master and one as the worker. I have not made any specific changes to the deployment. I have to work through a few network specific issues, but once those are worked out, Ansible deploys k8s without any errors. I can then run kubectl get pods --all-namespaces which lists out all of my running pods in the kube-system namespace, including the dashboard. I can obtain the dashboard url via the command kubectl cluster-info. Upon going to the URL, I am getting the error "Error trying to reach service: 'net/http: TLS handshake timeout'". I have put this server, and my entire domain, in my no_proxy settings, but I am still getting this issue. Upon looking at the dashboard logs via kubectl logs -n kube-system kubernetes-dashboard-556b9ff8f8-6fc2n I see the error "Metric client health check failed: the server could not find the requested resource (get services heapster). Retrying in 30 seconds." I have looked this error up, and I see quite a few different fixes, but I am not sure which fix should be applied to a Kubespray deployment. Any help is greatly appreciated!

1

1 Answers

0
votes

I have run into the same message about heapster not being found. I switched to using Octant (https://octant.dev/) which does not use any cluster resources.