What is the difference between rhc and oc CLI-tools?
As I see, they do almost the same:
oc:
The OpenShift CLI exposes commands for managing your applications, as well as lower level tools to interact with each component of your system.
rhc does the same, no?
What should I use to manage my containers on OpenShift platform?
The rhc tool is for OpenShift 2. The oc tool is for OpenShift 3. They are completely different versions of the package. So you need to know which version of OpenShift you are using. If you are using the existing OpenShift Online version it is version 2.
With the OpenShift command-line interface (CLI), the oc command, you can create applications and manage OpenShift Container Platform projects from a terminal. The OpenShift CLI is ideal in the following situations: Working directly with project source code. Scripting OpenShift Container Platform operations.
oc apply computes and applies differences between objects: It performs a three-way merge between: the input into the command, the current version of the object, and. the most recent user specified object definition stored as an annotation in the current object.
The rhc
tool is for OpenShift 2. The oc
tool is for OpenShift 3. They are completely different versions of the package. So you need to know which version of OpenShift you are using. If you are using the existing OpenShift Online version it is version 2. If you are using the new OpenShift Online developer preview, it is version 3.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With