Skip to content

Commit f19e13b

Browse files
authored
Merge pull request #39518 from xJustin/enable-io
CCXDEV-6549: enabling remote health monitoring
2 parents 3d01e94 + 2189837 commit f19e13b

File tree

3 files changed

+81
-0
lines changed

3 files changed

+81
-0
lines changed

_topic_maps/_topic_map.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,8 @@ Topics:
468468
File: showing-data-collected-by-remote-health-monitoring
469469
- Name: Opting out of remote health reporting
470470
File: opting-out-of-remote-health-reporting
471+
- Name: Enabling remote health reporting
472+
File: enabling-remote-health-reporting
471473
- Name: Using Insights to identify issues with your cluster
472474
File: using-insights-to-identify-issues-with-your-cluster
473475
- Name: Using remote health reporting in a restricted network
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * support/insights-operator/enabling-remote-health-reporting.adoc
4+
5+
[id="insights-operator-new-pull-secret-enable_{context}"]
6+
= Modifying your global cluster pull secret to enable remote health reporting
7+
8+
You can modify your existing global cluster pull secret to enable remote health reporting. If you have previously disabled remote health monitoring, you must first download a new pull secret with your `cloud.openshift.com` access token from Red Hat OpenShift Cluster Manager.
9+
10+
.Prerequisites
11+
12+
* Access to the cluster as a user with the `cluster-admin` role.
13+
* Access to Red Hat OpenShift Cluster Manager.
14+
15+
.Procedure
16+
17+
. Navigate to link:https://console.redhat.com/openshift/downloads[https://console.redhat.com/openshift/downloads].
18+
. From *Tokens* -> *Pull Secret*, click *Download*.
19+
+
20+
The file `pull-secret.txt` containing your `cloud.openshift.com` access token in JSON format downloads:
21+
+
22+
[source,json,subs="+quotes"]
23+
----
24+
{
25+
"auths": {
26+
"cloud.openshift.com": {
27+
"auth": "_<your_token>_",
28+
"email": "_<email_address>_"
29+
}
30+
}
31+
----
32+
33+
. Download the global cluster pull secret to your local file system.
34+
+
35+
[source,terminal]
36+
----
37+
$ oc get secret/pull-secret -n openshift-config --template='{{index .data ".dockerconfigjson" | base64decode}}' > pull-secret
38+
----
39+
. Make a backup copy of your pull secret.
40+
+
41+
[source,terminal]
42+
----
43+
$ cp pull-secret pull-secret-backup
44+
----
45+
. Open the `pull-secret` file in a text editor.
46+
. Append the `cloud.openshift.com` JSON entry from `pull-secret.txt` into `auths`.
47+
. Save the file.
48+
. Update the secret in your cluster.
49+
+
50+
[source,terminal]
51+
----
52+
oc set data secret/pull-secret -n openshift-config --from-file=.dockerconfigjson=pull-secret
53+
----
54+
55+
It may take several minutes for the secret to update and your cluster to begin reporting.
56+
57+
.Verification
58+
59+
. Navigate to the {product-title} Web Console Overview page.
60+
. *Insights* in the *Status* tile reports the number of issues found.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
[id="enabling-remote-health-reporting"]
2+
= Enabling remote health reporting
3+
include::modules/common-attributes.adoc[]
4+
5+
:context: enabling-remote-health-reporting
6+
7+
toc::[]
8+
9+
10+
If you or your organization have disabled remote health reporting, you can enable this feature again. You can see that remote health reporting is disabled from the message "Insights not available" in the *Status* tile on the {product-title} Web Console Overview page.
11+
12+
To enable remote health reporting, you must xref:../../support/remote_health_monitoring/enabling-remote-health-reporting.adoc#insights-operator-new-pull-secret-enable_enabling-remote-health-reporting[Modify the global cluster pull secret] with a new authorization token.
13+
14+
[NOTE]
15+
====
16+
Enabling remote health reporting enables both Insights Operator and Telemetry.
17+
====
18+
19+
include::modules/insights-operator-new-pull-secret-enable.adoc[leveloffset=+1]

0 commit comments

Comments
 (0)