Skip to content

Commit d3900c3

Browse files
authored
Merge pull request #75201 from eromanova97/OBSDOCS-1011
OBSDOCS-1011: Fix information about the user-workload-monitoring-conf…
2 parents cc7d736 + be85e78 commit d3900c3

File tree

22 files changed

+33
-107
lines changed

22 files changed

+33
-107
lines changed

modules/monitoring-adding-a-secret-to-the-alertmanager-configuration.adoc

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ ifndef::openshift-dedicated,openshift-rosa[]
2323
** You have created the `cluster-monitoring-config` config map.
2424
** You have created the secret to be configured in Alertmanager in the `openshift-monitoring` project.
2525
* *If you are configuring components that monitor user-defined projects*:
26-
** A cluster administrator has enabled monitoring for user-defined projects.
2726
** You have access to the cluster as a user with the `cluster-admin` cluster role, or as a user with the `user-workload-monitoring-config-edit` role in the `openshift-user-workload-monitoring` project.
2827
** You have created the secret to be configured in Alertmanager in the `openshift-user-workload-monitoring` project.
28+
** A cluster administrator has enabled monitoring for user-defined projects.
2929
endif::openshift-dedicated,openshift-rosa[]
3030
ifdef::openshift-dedicated,openshift-rosa[]
3131
* You have access to the cluster as a user with the `dedicated-admin` role.
@@ -128,13 +128,6 @@ data:
128128
- test-secret
129129
- test-api-receiver-token
130130
----
131-
ifndef::openshift-dedicated,openshift-rosa[]
132-
+
133-
[NOTE]
134-
====
135-
Configurations applied to the `user-workload-monitoring-config` `ConfigMap` object are not activated unless a cluster administrator has enabled monitoring for user-defined projects.
136-
====
137-
endif::openshift-dedicated,openshift-rosa[]
138131

139132
. Save the file to apply the changes to the `ConfigMap` object. The new configuration is applied automatically.
140133

modules/monitoring-assigning-tolerations-to-monitoring-components.adoc

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ ifndef::openshift-dedicated,openshift-rosa[]
2222
** You have created the `cluster-monitoring-config` `ConfigMap` object.
2323
* *If you are configuring components that monitor user-defined projects*:
2424
** You have access to the cluster as a user with the `cluster-admin` cluster role, or as a user with the `user-workload-monitoring-config-edit` role in the `openshift-user-workload-monitoring` project.
25-
** You have created the `user-workload-monitoring-config` `ConfigMap` object.
25+
** A cluster administrator has enabled monitoring for user-defined projects.
2626
endif::openshift-dedicated,openshift-rosa[]
2727
ifdef::openshift-dedicated,openshift-rosa[]
2828
* You have access to the cluster as a user with the `dedicated-admin` role.
@@ -126,13 +126,6 @@ data:
126126
----
127127

128128
. Save the file to apply the changes. The new component placement configuration is applied automatically.
129-
ifndef::openshift-dedicated,openshift-rosa[]
130-
+
131-
[NOTE]
132-
====
133-
Configurations applied to the `user-workload-monitoring-config` `ConfigMap` object are not activated unless a cluster administrator has enabled monitoring for user-defined projects.
134-
====
135-
endif::openshift-dedicated,openshift-rosa[]
136129
+
137130
[WARNING]
138131
====

modules/monitoring-attaching-additional-labels-to-your-time-series-and-alerts.adoc

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ifndef::openshift-dedicated,openshift-rosa[]
1616
** You have created the `cluster-monitoring-config` `ConfigMap` object.
1717
* *If you are configuring components that monitor user-defined projects*:
1818
** You have access to the cluster as a user with the `cluster-admin` cluster role, or as a user with the `user-workload-monitoring-config-edit` role in the `openshift-user-workload-monitoring` project.
19-
** You have created the `user-workload-monitoring-config` `ConfigMap` object.
19+
** A cluster administrator has enabled monitoring for user-defined projects.
2020
endif::openshift-dedicated,openshift-rosa[]
2121
ifdef::openshift-dedicated,openshift-rosa[]
2222
* You have access to the cluster as a user with the `dedicated-admin` role.
@@ -135,13 +135,6 @@ data:
135135
----
136136
137137
. Save the file to apply the changes. The new configuration is applied automatically.
138-
ifndef::openshift-dedicated,openshift-rosa[]
139-
+
140-
[NOTE]
141-
====
142-
Configurations applied to the `user-workload-monitoring-config` `ConfigMap` object are not activated unless a cluster administrator has enabled monitoring for user-defined projects.
143-
====
144-
endif::openshift-dedicated,openshift-rosa[]
145138
+
146139
[WARNING]
147140
====

modules/monitoring-configuring-a-local-persistent-volume-claim.adoc

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ifndef::openshift-dedicated,openshift-rosa[]
2121
** You have created the `cluster-monitoring-config` `ConfigMap` object.
2222
* *If you are configuring components that monitor user-defined projects*:
2323
** You have access to the cluster as a user with the `cluster-admin` cluster role, or as a user with the `user-workload-monitoring-config-edit` role in the `openshift-user-workload-monitoring` project.
24-
** You have created the `user-workload-monitoring-config` `ConfigMap` object.
24+
** A cluster administrator has enabled monitoring for user-defined projects.
2525
endif::openshift-dedicated,openshift-rosa[]
2626
ifdef::openshift-dedicated,openshift-rosa[]
2727
* You have access to the cluster as a user with the `dedicated-admin` role.
@@ -207,13 +207,6 @@ Storage requirements for the `thanosRuler` component depend on the number of rul
207207
====
208208

209209
. Save the file to apply the changes. The pods affected by the new configuration are restarted automatically and the new storage configuration is applied.
210-
ifndef::openshift-dedicated,openshift-rosa[]
211-
+
212-
[NOTE]
213-
====
214-
Configurations applied to the `user-workload-monitoring-config` `ConfigMap` object are not activated unless a cluster administrator has enabled monitoring for user-defined projects.
215-
====
216-
endif::openshift-dedicated,openshift-rosa[]
217210
ifdef::openshift-dedicated,openshift-rosa[]
218211
+
219212
[WARNING]

modules/monitoring-configuring-external-alertmanagers.adoc

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ ifndef::openshift-dedicated,openshift-rosa[]
2424
** You have created the `cluster-monitoring-config` config map.
2525
* *If you are configuring components that monitor user-defined projects*:
2626
** You have access to the cluster as a user with the `cluster-admin` cluster role, or as a user with the `user-workload-monitoring-config-edit` role in the `openshift-user-workload-monitoring` project.
27-
** You have created the `user-workload-monitoring-config` config map.
27+
** A cluster administrator has enabled monitoring for user-defined projects.
2828
endif::openshift-dedicated,openshift-rosa[]
2929
ifdef::openshift-dedicated,openshift-rosa[]
3030
* You have access to the cluster as a user with the `dedicated-admin` role.
@@ -165,14 +165,5 @@ data:
165165
----
166166

167167
. Save the file to apply the changes to the `ConfigMap` object. The new component placement configuration is applied automatically.
168-
ifndef::openshift-dedicated,openshift-rosa[]
169-
+
170-
[NOTE]
171-
====
172-
Configurations applied to the `user-workload-monitoring-config` `ConfigMap` object are not activated unless a cluster administrator has enabled monitoring for user-defined projects.
173-
====
174-
endif::openshift-dedicated,openshift-rosa[]
175168

176169
. Save the file to apply the changes to the `ConfigMap` object. The new component placement configuration is applied automatically.
177-
178-

modules/monitoring-configuring-pod-topology-spread-constraints.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ ifndef::openshift-dedicated,openshift-rosa[]
2929
** You have access to the cluster as a user with the `cluster-admin` cluster role.
3030
** You have created the `cluster-monitoring-config` `ConfigMap` object.
3131
* *If you are configuring pods for user-defined monitoring:*
32-
** A cluster administrator has enabled monitoring for user-defined projects.
3332
** You have access to the cluster as a user with the `cluster-admin` cluster role, or as a user with the `user-workload-monitoring-config-edit` role in the `openshift-user-workload-monitoring` project.
33+
** A cluster administrator has enabled monitoring for user-defined projects.
3434
endif::openshift-dedicated,openshift-rosa[]
3535
ifdef::openshift-dedicated,openshift-rosa[]
3636
* You have access to the cluster as a user with the `dedicated-admin` role.

modules/monitoring-configuring-remote-write-storage.adoc

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ ifndef::openshift-dedicated,openshift-rosa[]
1717
** You have created the `cluster-monitoring-config` `ConfigMap` object.
1818
* *If you are configuring components that monitor user-defined projects:*
1919
** You have access to the cluster as a user with the `cluster-admin` cluster role or as a user with the `user-workload-monitoring-config-edit` role in the `openshift-user-workload-monitoring` project.
20-
** You have created the `user-workload-monitoring-config` `ConfigMap` object.
20+
** A cluster administrator has enabled monitoring for user-defined projects.
2121
endif::openshift-dedicated,openshift-rosa[]
2222
ifdef::openshift-dedicated,openshift-rosa[]
2323
* You have access to the cluster as a user with the `dedicated-admin` role.
@@ -202,13 +202,6 @@ data:
202202
See the link:https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config[Prometheus relabel_config documentation] for information about write relabel configuration options.
203203
204204
. Save the file to apply the changes. The pods affected by the new configuration restart automatically.
205-
ifndef::openshift-dedicated,openshift-rosa[]
206-
+
207-
[NOTE]
208-
====
209-
Configurations applied to the `user-workload-monitoring-config` `ConfigMap` object are not activated unless a cluster administrator has enabled monitoring for user-defined projects.
210-
====
211-
endif::openshift-dedicated,openshift-rosa[]
212205
+
213206
[WARNING]
214207
====

modules/monitoring-configuring-the-monitoring-stack.adoc

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ifndef::openshift-dedicated,openshift-rosa[]
2121
** You have created the `cluster-monitoring-config` `ConfigMap` object.
2222
* *If you are configuring components that monitor user-defined projects*:
2323
** You have access to the cluster as a user with the `cluster-admin` cluster role, or as a user with the `user-workload-monitoring-config-edit` role in the `openshift-user-workload-monitoring` project.
24-
** You have created the `user-workload-monitoring-config` `ConfigMap` object.
24+
** A cluster administrator has enabled monitoring for user-defined projects.
2525
endif::openshift-dedicated,openshift-rosa[]
2626
ifdef::openshift-dedicated,openshift-rosa[]
2727
* You have access to the cluster as a user with the `dedicated-admin` role.
@@ -137,13 +137,6 @@ The Prometheus config map component is called `prometheusK8s` in the `cluster-mo
137137
endif::openshift-dedicated,openshift-rosa[]
138138

139139
. Save the file to apply the changes to the `ConfigMap` object. The pods affected by the new configuration are restarted automatically.
140-
ifndef::openshift-dedicated,openshift-rosa[]
141-
+
142-
[NOTE]
143-
====
144-
Configurations applied to the `user-workload-monitoring-config` `ConfigMap` object are not activated unless a cluster administrator has enabled monitoring for user-defined projects.
145-
====
146-
endif::openshift-dedicated,openshift-rosa[]
147140
+
148141
[WARNING]
149142
====

modules/monitoring-creating-cluster-id-labels-for-metrics.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ifndef::openshift-dedicated,openshift-rosa[]
3434
** You have created the `cluster-monitoring-config` `ConfigMap` object.
3535
* *If you are configuring components that monitor user-defined projects:*
3636
** You have access to the cluster as a user with the `cluster-admin` cluster role or as a user with the `user-workload-monitoring-config-edit` role in the `openshift-user-workload-monitoring` project.
37-
** You have created the `user-workload-monitoring-config` `ConfigMap` object.
37+
** A cluster administrator has enabled monitoring for user-defined projects.
3838
endif::openshift-dedicated,openshift-rosa[]
3939
ifdef::openshift-dedicated,openshift-rosa[]
4040
* You have access to the cluster as a user with the `dedicated-admin` role.

modules/monitoring-creating-scrape-sample-alerts.adoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ You can create alerts that notify you when:
1414
.Prerequisites
1515

1616
* You have access to the cluster as a user with the `cluster-admin` cluster role, or as a user with the `user-workload-monitoring-config-edit` role in the `openshift-user-workload-monitoring` project.
17-
* You have enabled monitoring for user-defined projects.
18-
* You have created the `user-workload-monitoring-config` `ConfigMap` object.
17+
* A cluster administrator has enabled monitoring for user-defined projects.
1918
* You have limited the number of samples that can be accepted per target scrape in user-defined projects, by using `enforcedSampleLimit`.
2019
* You have installed the OpenShift CLI (`oc`).
2120

0 commit comments

Comments
 (0)