Skip to content

Simple CLI guide

This page is a super easy to follow, "TL;DR", minimum list of commands to get a ROSA cluster deployed using the CLI. This will work great for this workshop, though more attention should be paid for clusters to be used in production.

Assumptions#

The steps on this page assume you have completed the prerequisites in the Setup section.

Create account roles#

Run once per AWS account, per y-stream OpenShift version:

rosa create account-roles --mode auto --yes

Deploy the cluster#

  1. Create the cluster with the default configuration. Just choose a cluster name.

    rosa create cluster --cluster-name <cluster-name> --sts --mode auto --yes
    
  2. Check the status.

    rosa list clusters