OpenShift-only Command-Line Tools
Let us talk now about the two OpenShift command-line tools.
oc
OpenShift includes a feature-rich graphical user interface, but most DevOps engineers prefer the speed and convenience of the kubectl
tool to perform actions on their clusters.
OpenShift bundles a tool called oc
with many of the same options as kubectl
but with a more profound knowledge of OpenShift-only objects and features.
Like kubectl
, the oc
tool can use Kustomize templates. Still, it offers an additional "oc process" feature, which can read values from the local environment: export some environment variables on your terminal, call "oc process," and your YAML manifests will include their values.
odo
Another OpenShift-only command-line tool is the odo
or "OpenShift Do" application. odo
helps software developers in the process of creating containerized applications running on OpenShift, abstracting Kubernetes and OpenShift concepts. odo
can quickly create and deploy containers including applications written in various programming languages and frameworks, from Java to Go to .NET to Python and JavaScript.
DevOps engineers can download the oc
and odo
tools directly from the OpenShift cluster through a menu on the web console.