-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing typos in multiple docs and enhancing the oc procedure (#1073)
* Fixing typos in multiple docs and enhancing the oc procedure Signed-off-by: Michal Maléř <mmaler@redhat.com> * Update src/main/pages/che-7/administration-guide/proc_enabling-che-metrics-collections.adoc Co-authored-by: Fabrice Flore-Thébault <ffloreth@redhat.com>
- Loading branch information
1 parent
c2d9f34
commit a8985c9
Showing
9 changed files
with
17 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 9 additions & 14 deletions
23
...es/che-7/overview/proc_finding-che-cluster-url-using-openshift-4-cli-tools.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,30 @@ | ||
[id="finding-{prod-id-short}-cluster-url-using-openshift-4-cli-tools_{context}"] | ||
= Finding {prod-short} cluster URL using the OpenShift 4 CLI | ||
|
||
This section describes how to obtain the {prod-short} cluster URL using the OpenShift 4 CLI (command line interface). The URL can be retrieved from the OpenShift logs or from the `checluster` Customer Resource. | ||
|
||
This section describes how to obtain the {prod-short} cluster URL using the OpenShift 4 CLI (command line interface). The URL can be retrieved from the OpenShift logs or from the `checluster` Custom Resource. | ||
.Prerequisites | ||
* {prod-short} is deployed in a OpenShift cluster. Verify the state of the deployment, see xref:viewing-the-state-of-the-{prod-id-short}-cluster-deployment-using-openshift-4-cli-tools_{context}[]. | ||
* {prod-short} is deployed in an OpenShift cluster. To verify the state of the deployment, see xref:viewing-the-state-of-the-{prod-id-short}-cluster-deployment-using-openshift-4-cli-tools_{context}[]. | ||
* User is located in a {prod-short} installation namespace. | ||
|
||
.Procedure | ||
|
||
. To retrieve a {prod-short} cluster URL from the `checluster` CR, run: | ||
. To retrieve a {prod-short} cluster URL from the `checluster` CR (Custom Resource), run: | ||
+ | ||
[options="nowrap",role=white-space-pre] | ||
---- | ||
$ oc get checluster --output jsonpath='{.items[0].status.cheURL}' | ||
---- | ||
|
||
. The {prod-short} cluster URL is displayed. | ||
//// | ||
+ | ||
Alternatively, wait for the logs to show the message `{prod} is now available at:` followed by the {prod-short} cluster URL: | ||
|
||
Alternatively, wait for the deployment logs as mentioned in the Prerequisites section to display the message: `{prod} is now available at:` followed by the {prod-short} cluster URL: | ||
+ | ||
[subs="+attributes",options="nowrap",role=white-space-pre] | ||
---- | ||
include::examples/{project-context}-cluster-url-logs.log[] | ||
---- | ||
+ | ||
After the deployment is finished, click the {prod-short} cluster URL in the log output or use the following command to filter it out: | ||
After the deployment is finished, in the log output, click the {prod-short} cluster URL to start the {prod-shor} instance, or use the following command to isolate it: | ||
+ | ||
[options="nowrap",role=white-space-pre] | ||
---- | ||
$ oc logs --tail=10 `oc get pods --output name | grep operator` | grep "available at" | awk -F'available at: ' '{print $2}' | sed 's/"//' | ||
$ oc logs --tail=10 `oc get pods -o name | grep operator` | \ | ||
grep "available at" | \ | ||
awk -F'available at: ' '{print $2}' | sed 's/"//' | ||
---- | ||
//// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters