oc login --server=https://172.28.128.4:8443. You should now be able to use the oc CLI tool to work with Kubernetes and OpenShift resources: oc get pods .