Wikis - Page

(HCM) Support Tip: Environment Diagnosis

0 Likes

The following commands can be used for environment diagnosis.

  1. Run kubectl get nodes to list all nodes registered in Kubernetes.
  2. Run kubectl get pods -n hcm1 to see all HCM microservices are up and running.
  3. Run kubectl get pods -n core to see core microservices are up and running.
  4. Run kubectl describe pods -n <namespace> <pod_id> to see details of the particular pod.
  5. Run kubectl logs -n <namespace> <pod_id> -c <container_id> to see logs of the particular docker container in the particular pod (run without -c parameter to see which containers the pod consists of).
  6. Run kubectl delete -n <namespace> <pod_id> to restart the particular pod (Kubernetes re-create a pod if deleted manually).

Labels:

Support Tips/Knowledge Docs
Comment List
Related
Recommended