Cluster Exploration

oc Introduction

Overview

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

oc help

Version

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

Nodes

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