This is a cache of https://docs.openshift.com/rosa/cli_reference/index.html. It is a snapshot of the page at 2024-11-23T03:08:26.157+0000.
<strong>cli</strong> tools overview | <strong>cli</strong> tools | Red Hat OpenShift Service on AWS
×

A user performs a range of operations while working on Red Hat OpenShift Service on AWS (ROSA) such as the following:

  • Managing clusters

  • Building, deploying, and managing applications

  • Managing deployment processes

  • Developing Operators

  • Creating and maintaining Operator catalogs

ROSA offers a set of command-line interface (cli) tools that simplify these tasks by enabling users to perform various administration and development operations from the terminal. These tools expose simple commands to manage the applications, as well as interact with each component of the system.

List of cli tools

The following set of cli tools are available in ROSA:

  • OpenShift cli (oc): This is one of the more commonly used developer cli tools. It helps both cluster administrators and developers to perform end-to-end operations across ROSA using the terminal. Unlike the web console, it allows the user to work directly with the project source code using command scripts.

  • Knative cli (kn): The Knative (kn) cli tool provides simple and intuitive terminal commands that can be used to interact with OpenShift Serverless components, such as Knative Serving and Eventing.

  • Pipelines cli (tkn): OpenShift Pipelines is a continuous integration and continuous delivery (CI/CD) solution in Red Hat OpenShift Service on AWS, which internally uses Tekton. The tkn cli tool provides simple and intuitive commands to interact with OpenShift Pipelines using the terminal.

  • opm cli: The opm cli tool helps the Operator developers and cluster administrators to create and maintain the catalogs of Operators from the terminal.

  • Operator SDK: The Operator SDK, a component of the Operator Framework, provides a cli tool that Operator developers can use to build, test, and deploy an Operator from the terminal. It simplifies the process of building Kubernetes-native applications, which can require deep, application-specific operational knowledge.

  • ROSA cli (rosa): Use the rosa cli to create, update, manage, and delete ROSA clusters and resources.