Skip to content

Commit 08e6045

Browse files
authored
Merge pull request #2613 from CSCfi/oc-CLI
Update CLI tools doc and links
2 parents 4d7ebeb + a652102 commit 08e6045

File tree

4 files changed

+13
-15
lines changed

4 files changed

+13
-15
lines changed

docs/cloud/rahti/images/Using_Rahti_integrated_registry.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ an external dependency or improve performance.
77

88
The process is simple:
99

10-
1. [Install](../usage/cli.md#how-to-install-the-oc-tool) and [login with OC](../usage/cli.md#how-to-login-with-oc).
10+
1. [Install](../usage/cli.md#the-command-line-tools-page-in-the-rahti-web-ui) and [login with OC](../usage/cli.md#the-command-line-tools-page-in-the-rahti-web-ui).
1111

1212
1. With a terminal, connect to the Rahti registry:
1313
```sh

docs/cloud/rahti/tutorials/4cat.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ The tool has generated 4 kind of files: `service`, `deployment`, `configmap` an
356356
357357
## Deployment to Rahti
358358
359-
We will take the current unmodified YAML files and deploy them one by one. First you need to [install oc](../usage/cli.md#how-to-install-the-oc-tool) and [login into Rahti](../usage/cli.md#how-to-login-with-oc). Then you need to [create a Rahti project](../usage/projects_and_quota.md#creating-a-project). Finally make sure you are in the correct project: `oc project <project_name>`.
359+
We will take the current unmodified YAML files and deploy them one by one. First you need to [install oc](../usage/cli.md#the-command-line-tools-page-in-the-rahti-web-ui) and [login into Rahti](../usage/cli.md#how-to-login-with-oc). Then you need to [create a Rahti project](../usage/projects_and_quota.md#creating-a-project). Finally make sure you are in the correct project: `oc project <project_name>`.
360360
361361
### Volumes, ConfigMaps and Services
362362

docs/cloud/rahti/tutorials/custom-domain.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ This is the recommended option to obtain and renew Let's Encrypt certificates. T
9191

9292
![Cert manager](../../img/cert-manager.png)
9393

94-
1. First, as usual, you need to [install oc](../usage/cli.md#how-to-install-the-oc-tool) and [login into Rahti](../usage/cli.md#how-to-login-with-oc). Then you need to [create a Rahti project](../usage/projects_and_quota.md#creating-a-project). Finally make sure you are in the correct project: `oc project <project_name>`.
94+
1. First, as usual, you need to [install oc](../usage/cli.md#the-command-line-tools-page-in-the-rahti-web-ui) and [login into Rahti](../usage/cli.md#how-to-login-with-oc). Then you need to [create a Rahti project](../usage/projects_and_quota.md#creating-a-project). Finally make sure you are in the correct project: `oc project <project_name>`.
9595

9696
1. Double check that the domain name exists. Let's Encrypt needs to verify that you indeed control said domain name, and it does that by issuing a HTTP request to the actual Domain Name and it expects it to respond accordingly. To test it, enter the Domain name in your browser and see that Rahti answers accordingly.
9797

docs/cloud/rahti/usage/cli.md

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,17 @@ Rahti can be used via the command line either with OpenShift's _oc_ tool
44
or with the _kubectl_ tool from Kubernetes. Certain features specific to OpenShift
55
are only available when using the oc tool.
66

7-
## How to install the `oc` tool
7+
## The "Command Line Tools" page in the Rahti web UI
88

9-
The oc tool is a single binary that only needs to be included in your _path_. You may download it from the [Getting started with the OpenShift CLI](https://docs.openshift.com/container-platform/4.15/cli_reference/openshift_cli/getting-started-cli.html) page in OpenShift's documentation. Follow the detailed instructions in the link.
9+
The oc tool is a single binary that only needs to be included in your _path_. Instructions for downloading the oc tool including the download link for several platforms and operating systems can be found in the [Command Line Tools](https://console.rahti.csc.fi/command-line-tools) page in the web interface:
10+
11+
![Command line tools](../../img/cli_help_menu_4.png)
12+
13+
after clicking you will be welcomed with:
14+
15+
![OpenShift Command Line Tools page](../../img/openshift_cli_dialog_4.png)
16+
17+
Download the necessary package and copy it in your _path_.
1018

1119
In order to test that it was properly installed, open a new terminal, go to any folder, and run:
1220

@@ -16,16 +24,6 @@ $ oc --help
1624

1725
It should show the list of all available commands.
1826

19-
## The "Command Line Tools" page in the OpenShift web UI
20-
21-
Instructions for downloading the oc tool including the download link for several platforms and operating systems can be found in the "Command Line Tools" page in the web interface:
22-
23-
![Command line tools](../../img/cli_help_menu_4.png)
24-
25-
after clicking you will be welcomed with:
26-
27-
![OpenShift Command Line Tools page](../../img/openshift_cli_dialog_4.png)
28-
2927
## How to login with `oc`?
3028

3129
The oc login command to login can be found in the dropdown menu next to your name. There is a

0 commit comments

Comments
 (0)