1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 21:46:22 +01:00
Files
openshift-docs/cloud_experts_tutorials/cloud-experts-getting-started/cloud-experts-getting-started-deploying/cloud-experts-getting-started-simple-cli-guide.adoc

45 lines
1.2 KiB
Plaintext

:_mod-docs-content-type: ASSEMBLY
[id="cloud-experts-getting-started-simple-cli-guide"]
= Tutorial: Simple CLI guide
include::_attributes/attributes-openshift-dedicated.adoc[]
:context: cloud-experts-getting-started-simple-cli-guide
toc::[]
//rosaworkshop.io content metadata
//Brought into ROSA product docs 2023-11-16
This page outlines the minimum list of commands to deploy a {product-title} (ROSA) cluster using the command-line interface (CLI).
[NOTE]
====
While this simple deployment works well for a tutorial setting, clusters used in production should be deployed with a more detailed method.
====
== Prerequisites
* You have completed the prerequisites in the Setup tutorial.
== Creating account roles
Run the following command _once_ for each AWS account and y-stream OpenShift version:
[source,terminal]
----
rosa create account-roles --mode auto --yes
----
== Deploying the cluster
. Create the cluster with the default configuration by running the following command substituting your own cluster name:
+
[source,terminal]
----
rosa create cluster --cluster-name <cluster-name> --sts --mode auto --yes
----
. Check the status of your cluster by running the following command:
+
[source,terminal]
----
rosa list clusters
----