Cluster Exploration

oc Introduction


We use the oc command to interact with the Kubernetes cluster. There are many commands available. View the help to get started.

oc help


View the Server Version information to verify you can communicate with your Minishift lab environment. Your environment should be on Kubernetes version v1.11.0.

oc version


View all of the nodes currently in the cluster (There should only be one).

oc get nodes

Use the wide output format option to view more information for each node.

oc get nodes -o wide

View the details for the single Minishift node.

oc describe node localhost