5.2. The oc CLI tool
The oc CLI tool offers the same capabilities as the kubectl CLI tool, but it extends to natively support additional OpenShift Container Platform features, including:
Route resource
The
Routeresource object is specific to OpenShift Container Platform distributions, and builds upon standard Kubernetes primitives.Additional commands
The additional command
oc new-app, for example, makes it easier to get new applications started using existing source code or pre-built images.
If you installed an earlier version of oc, you might not be able use it to complete all of the commands in MicroShift 4.17. If you want the latest features, you must download and install the latest version of oc that corresponds with your MicroShift version.
Using new capabilities often requires the latest oc binary. A 4.17 server might have additional capabilities that a 4.12 oc binary cannot use and a 4.17 oc binary might have additional capabilities that are unsupported by a 4.13 server.
|
X.Y ( |
X.Y+N footnote:versionpolicyn[Where N is a number greater than or equal to 1.] ( | |
| X.Y (Server) | Fully compatible. |
The |
| X.Y+N footnote:versionpolicyn[] (Server) |
The | Fully compatible. |