Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 3 additions & 23 deletions modules/rosa-setting-up-cli.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -12,35 +12,15 @@ To set up the `rosa` CLI, download the latest release, then configure and initia

.Procedure

. Download the latest release of `rosa` for your operating system from the link:https://github.com/openshift/rosa/releases/latest[`rosa` releases page on GitHub].
. Download the latest release of the `rosa` CLI for your operating system from the link:https://access.redhat.com/products/red-hat-openshift-service-aws/[{product-title}] product page.
+
. Optional: After downloading a release, you can rename the executable file that you downloaded to `rosa`, and then add `rosa` to your path.
. It is recommended that after you download the release, you rename the executable file that you downloaded to `rosa`, and then add `rosa` to your path.
+
. After downloading `rosa`, enable Bash completion for `rosa`. Bash completion helps to automatically complete commands and suggest options when you press `Tab`. The command generates a Bash completion file for `rosa` and sources it to your current shell session.
. Optional: After downloading `rosa`, enable Bash completion for `rosa`. Bash completion helps to automatically complete commands and suggest options when you press `Tab`. The command generates a Bash completion file for `rosa` and sources it to your current shell session.
+
To configure your Bash shell to load `rosa` completions for each session, add the following command to your `Bashrc` file (`~/.Bashrc` or `~/.profile`).
+
[source,terminal]
----
$ . <(rosa completion)
----
+
. Enter the following command in the Bash terminal to verify that your user now has `cluster-admin` access. A cluster administrator can run this command without errors, but a dedicated administrator cannot.
+
[source,terminal]
----
$ oc get all -n openshift-apiserver
----
+
.Example output
[source,terminal]
----
NAME READY STATUS RESTARTS AGE
pod/apiserver-6ndg2 1/1 Running 0 17h
pod/apiserver-lrmxs 1/1 Running 0 17h
pod/apiserver-tsqhz 1/1 Running 0 17h
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/api ClusterIP 172.30.23.241 <none> 443/TCP 18h
NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE
daemonset.apps/apiserver 3 3 3 3 3 node-role.kubernetes.io/master= 18h
----
2 changes: 1 addition & 1 deletion modules/rosa-setting-up-environment.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ $ aws sts get-caller-identity
----
+
. Install `rosa`, the {product-title} command-line interface (CLI).
.. Download the link:https://github.com/openshift/moactl/releases[latest release] of `rosa` for your operating system.
.. Download the link:https://access.redhat.com/products/red-hat-openshift-service-aws/[latest release] of the `rosa` CLI for your operating system.
.. Optional: Rename the executable file you downloaded to `rosa`. This documentation uses `rosa` to refer to the executable file.
.. Optional: Add `rosa` to your path.
.. Enter the following command to verify your installation:
Expand Down