You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/hosted-control-planes-monitoring-dashboard.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ data:
35
35
----
36
36
37
37
+
38
-
When monitoring dashboards are enabled, for each hosted cluster that the HyperShift Operator manages, the Operator creates a config map named `cp-[NAMESPACE]-[NAME]` in the `openshift-config-managed` namespace, where `NAMESPACE` is the namespace of the hosted cluster and `NAME` is the name of the hosted cluster. As a result, a new dashboard is added in the administrative console of the management cluster.
38
+
When monitoring dashboards are enabled, for each hosted cluster that the HyperShift Operator manages, the Operator creates a config map named `cp-<hosted_cluster_namespace>-<hosted_cluster_name>` in the `openshift-config-managed` namespace, where `<hosted_cluster_namespace>` is the namespace of the hosted cluster and `<hosted_cluster_name>` is the name of the hosted cluster. As a result, a new dashboard is added in the administrative console of the management cluster.
39
39
40
40
. To view the dashboard, log in to the management cluster's console and go to the dashboard for the hosted cluster by clicking *Observe -> Dashboards*.
41
41
@@ -44,7 +44,7 @@ When monitoring dashboards are enabled, for each hosted cluster that the HyperSh
44
44
[#hosted-control-planes-customize-dashboards]
45
45
== Dashboard customization
46
46
47
-
To generate dashboards for each hosted cluster, the HyperShift Operator uses a template that is stored in the `monitoring-dashboard-template` config map in the operator namespace (`hypershift`). This template contains a set of Grafana panels that contain the metrics for the dashboard. You can edit the content of the config map to customize the dashboards.
47
+
To generate dashboards for each hosted cluster, the HyperShift Operator uses a template that is stored in the `monitoring-dashboard-template` config map in the Operator namespace (`hypershift`). This template contains a set of Grafana panels that contain the metrics for the dashboard. You can edit the content of the config map to customize the dashboards.
48
48
49
49
When a dashboard is generated, the following strings are replaced with values that correspond to a specific hosted cluster:
Copy file name to clipboardExpand all lines: modules/hosted-control-planes-pause-reconciliation.adoc
+7-9Lines changed: 7 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,24 +10,22 @@ If you are a cluster instance administrator, you can pause the reconciliation of
10
10
11
11
.Procedure
12
12
13
-
. To pause reconciliation for a hosted cluster and hosted control plane, populate the `pausedUntil` field of the `HostedCluster` resource, as shown in the following examples. In the examples, the value for `pausedUntil` is defined in an environment variable prior to the command.
13
+
. To pause reconciliation for a hosted cluster and hosted control plane, populate the `pausedUntil` field of the `HostedCluster` resource.
14
14
+
15
-
** To pause the reconciliation until a specific time, specify an RFC339 timestamp:
15
+
** To pause the reconciliation until a specific time, enter the following command:
<2> Specify your hosted cluster namespace, for example, `clusters`.
53
+
+
66
54
.Example output
67
55
+
68
56
[source,terminal]
@@ -77,71 +65,32 @@ The service account must have enough permissions to query all of the objects fro
77
65
+
78
66
If your username or service account does not have enough permissions, the output contains only the objects that you have permissions to access. During that process, you might see `forbidden` errors.
79
67
+
80
-
** To use impersonation by using a service account, enter the following commands. Replace values as necessary:
81
-
+
82
-
[source,terminal]
83
-
----
84
-
$ CLUSTERNAME="samplecluster"
85
-
----
86
-
+
87
-
[source,terminal]
88
-
----
89
-
$ CLUSTERNS="clusters"
90
-
----
91
-
+
92
-
[source,terminal]
93
-
----
94
-
$ SA="samplesa"
95
-
----
96
-
+
97
-
[source,terminal]
98
-
----
99
-
$ SA_NAMESPACE="default"
100
-
----
101
-
+
102
-
[source,terminal]
103
-
----
104
-
$ mkdir clusterDump-${CLUSTERNS}-${CLUSTERNAME}
105
-
----
68
+
** To use impersonation by using a service account, enter the following command:
* To verify that the new version was rolled out, check the `.status.version` value and the status conditions.
23
+
* To verify that the new version was rolled out, check the `.status.version` and `.status.conditions` values in the `HostedCluster` custom resource (CR) by running the following command:
24
+
+
25
+
[source,terminal]
26
+
----
27
+
$ oc get hostedcluster <hosted_cluster_name> -o yaml
0 commit comments