If a Kubernetes service is inactive, the cluster is not stable.
-
To monitor a cluster in a user interface, access the Kubernetes dashboard:
The Kubernetes dashboard pod and service should be running. For example.
backend8-123:~ # systemctl restart kubelet && systemctl status kubelet ● kubelet.service - Kubernetes Kubelet Server Loaded: loaded (/usr/lib/systemd/system/kubelet.service; enabled; vendor preset: disabled) Active: active (running) since Thu 2018-04-12 14:48:43 EDT; 76ms ago Docs: https://github.com/GoogleCloudPlatform/kubernetes Main PID: 12758 (kubelet) Tasks: 5 Memory: 11.7M CPU: 12ms CGroup: /system.slice/kubelet.service └─12758 /usr/bin/kubelet --logtostderr=true --v=1 --address=0.0.0.0 --port=10250 --allow-p... Apr 12 14:48:43 backend8-123 systemd[1]: Started Kubernetes Kubelet Server.
- Start the proxy in the background: "kubectl proxy &"
-
Start Firefox and access the localhost on the user interface:
http://localhost:8001/ui
The Kubernetes dashboard appears:
- To find Kubernetes manifest files, go to: /srv/kubernetes/manifests/
- To find runtime files to debug runtime errors, go to: /var/lib/docker/ and /var/lib/etcd/