OpenShift Health Check Lab(2025)!

Updated on 2nd January, 2025

Here is a categorized list of tools and software that can directly or indirectly integrate with OpenShift:

Join Our WhatsApp Channel and get up to date information!

Install Assisted Labs App and get OpenShift Hands-on Labs and Order OpenShift Cluster for your learning.

OpenShift Hands on Labs

Lab Duration: 60 minutes.

Below is a general summary of commands related to health checks in OpenShift v4:

Cluster Health:

oc get nodes: Displays the status of all nodes in the OpenShift cluster.

oc get pods –all-namespaces: Lists all pods in all namespaces.

Node Health:

oc adm node status : Checks the status of a specific node.

oc adm top node: Provides resource usage statistics for nodes.

Cluster Operator Status:

oc get clusteroperators: Lists the status of various cluster operators.

oc describe clusteroperator : Provides detailed information about a specific cluster operator.

Pod Health:

oc get pods: Lists all pods in the current namespace.

oc describe pod : Displays detailed information about a specific pod.

Logs and Events:

oc logs : Fetches the logs of a specific pod.

oc get events: Displays cluster events, which can help identify issues.

Network Health:

oc get svc: Lists all services in the current namespace.

oc get routes: Displays information about routes and their status.

Storage Health:

oc get pv,pvc: Lists information about persistent volumes and persistent volume claims.

oc describe pv : Provides details about a specific persistent volume.

Custom Resource Health:

oc get : Lists instances of custom resources.

oc describe : Displays detailed information about a specific custom resource.

Check Cluster Operators’ Health:

oc get co: Lists all cluster operators and their status.

oc describe co : Provides detailed information about a specific cluster operator.

Node Troubleshooting:

oc debug node/: Initiates a debugging session on a specific node.

ETCD Health:

Get the detailed Health check with commands and expected output at Assisted Labs App.

https://play.google.com/store/apps/details?id=com.assistedlabs.app&hl=en

Yay! 🎉 You made it to the end of the article!


Comments

2 responses to “OpenShift Health Check Lab(2025)!”

  1. […] If you are looking for developing skills, Learn OpenShift Health Check […]