oc

The OpenShift Container Platform CLI.

TLDR

Log in to the OpenShift Container Platform server

>_ oc login
copy

Create a new project

>_ oc new-project [project_name]
copy

Add a new application to a project

>_ oc new-app [repo_url] --name [application]
copy

Open a remote shell session to a container

>_ oc rsh [pod_name]
copy

List pods in a project

>_ oc get pods
copy

Logout from the current session

>_ oc logout
copy

Copied to clipboard
free 100$ digital ocean credit