Troubleshooting Services - Kubernetes

Kubernetes Appliance Software Installation Guide

Product
Kubernetes
Published
June 2018
Language
English (United States)
Last Update
2019-01-31
dita:mapPath
kpy1524680839041.ditamap
dita:ditavalPath
ft:empty
dita:id
kpy1524680839041
Product Category
Software

If a Kubernetes service is inactive, the cluster is not stable.

  1. 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.
    1. Start the proxy in the background: "kubectl proxy &"
    2. Start Firefox and access the localhost on the user interface:
      http://localhost:8001/ui
      The Kubernetes dashboard appears:


  2. To find Kubernetes manifest files, go to: /srv/kubernetes/manifests/
  3. To find runtime files to debug runtime errors, go to: /var/lib/docker/ and /var/lib/etcd/