Skip to content

Commit 9a89b95

Browse files
authored
Merge pull request #78071 from eromanova97/OBSDOCS-1155
2 parents fe06805 + ff473b0 commit 9a89b95

File tree

25 files changed

+41
-145
lines changed

25 files changed

+41
-145
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,5 +129,5 @@ data:
129129
- test-api-receiver-token
130130
----
131131

132-
. Save the file to apply the changes to the `ConfigMap` object. The new configuration is applied automatically.
132+
. Save the file to apply the changes. The new configuration is applied automatically.
133133

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,4 @@ data:
125125
effect: "NoSchedule"
126126
----
127127

128-
. Save the file to apply the changes. The new component placement configuration is applied automatically.
129-
+
130-
[WARNING]
131-
====
132-
When changes are saved to a monitoring config map, the pods and other resources in the related project might be redeployed. The running monitoring processes in that project might also be restarted.
133-
====
128+
. Save the file to apply the changes. The pods affected by the new configuration are automatically redeployed.

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ data:
7878
environment: prod
7979
----
8080
81+
.. Save the file to apply the changes. The new configuration is applied automatically.
82+
8183
** *To attach custom labels to all time series and alerts leaving the Prometheus instance that monitors user-defined projects*:
8284
endif::openshift-dedicated,openshift-rosa[]
8385
.. Edit the `user-workload-monitoring-config` `ConfigMap` object in the `openshift-user-workload-monitoring` project:
@@ -134,9 +136,4 @@ data:
134136
environment: prod
135137
----
136138
137-
. Save the file to apply the changes. The new configuration is applied automatically.
138-
+
139-
[WARNING]
140-
====
141-
When changes are saved to a monitoring config map, the pods and other resources in the related project might be redeployed. The running monitoring processes in that project might also be restarted.
142-
====
139+
.. Save the file to apply the changes. The pods affected by the new configuration are automatically redeployed.

modules/monitoring-choosing-a-metrics-collection-profile.adoc

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,6 @@ To choose a metrics collection profile for core {product-title} monitoring compo
1515
* You have created the `cluster-monitoring-config` `ConfigMap` object.
1616
* You have access to the cluster as a user with the `cluster-admin` cluster role.
1717
18-
[WARNING]
19-
====
20-
Saving changes to a monitoring config map might restart monitoring processes and redeploy the pods and other resources in the related project.
21-
The running monitoring processes in that project might also restart.
22-
====
23-
2418
.Procedure
2519

2620
. Edit the `cluster-monitoring-config` `ConfigMap` object in the `openshift-monitoring` project:
@@ -64,4 +58,4 @@ data:
6458
collectionProfile: *minimal*
6559
----
6660

67-
. Save the file to apply the changes. The pods affected by the new configuration restart automatically.
61+
. Save the file to apply the changes. The new configuration is applied automatically.

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,9 @@ data:
141141
Storage requirements for the `thanosRuler` component depend on the number of rules that are evaluated and how many samples each rule generates.
142142
====
143143

144-
. Save the file to apply the changes. The pods affected by the new configuration are restarted automatically and the new storage configuration is applied.
145-
ifdef::openshift-dedicated,openshift-rosa[]
144+
. Save the file to apply the changes. The pods affected by the new configuration are automatically redeployed and the new storage configuration is applied.
146145
+
147146
[WARNING]
148147
====
149-
When changes are saved to a monitoring config map, the pods and other resources in the related project might be redeployed. The running monitoring processes in that project might also be restarted.
148+
When you update the config map with a PVC configuration, the affected `StatefulSet` object is recreated, resulting in a temporary service outage.
150149
====
151-
endif::openshift-dedicated,openshift-rosa[]

modules/monitoring-configuring-external-alertmanagers.adoc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,4 @@ data:
164164
- external-alertmanager1-remote2.com
165165
----
166166

167-
. Save the file to apply the changes to the `ConfigMap` object. The new component placement configuration is applied automatically.
168-
169-
. Save the file to apply the changes to the `ConfigMap` object. The new component placement configuration is applied automatically.
167+
. Save the file to apply the changes. The pods affected by the new configuration are automatically redeployed.

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

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,7 @@ data:
102102
app.kubernetes.io/name: prometheus
103103
----
104104

105-
. Save the file to apply the changes automatically.
106-
+
107-
[WARNING]
108-
====
109-
When you save changes to the `cluster-monitoring-config` config map, the pods and other resources in the `openshift-monitoring` project might be redeployed.
110-
The running monitoring processes in that project might also restart.
111-
====
105+
. Save the file to apply the changes. The pods affected by the new configuration are automatically redeployed.
112106

113107
* *To configure pod topology spread constraints for user-defined monitoring:*
114108
endif::openshift-dedicated,openshift-rosa[]
@@ -171,10 +165,4 @@ data:
171165
app.kubernetes.io/name: thanos-ruler
172166
----
173167

174-
. Save the file to apply the changes automatically.
175-
+
176-
[WARNING]
177-
====
178-
When you save changes to the `user-workload-monitoring-config` config map, the pods and other resources in the `openshift-user-workload-monitoring` project might be redeployed.
179-
The running monitoring processes in that project might also restart.
180-
====
168+
. Save the file to apply the changes. The pods affected by the new configuration are automatically redeployed.

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,4 @@ data:
201201
+
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
204-
. Save the file to apply the changes. The pods affected by the new configuration restart automatically.
205-
+
206-
[WARNING]
207-
====
208-
Saving changes to a monitoring `ConfigMap` object might redeploy the pods and other resources in the related project. Saving changes might also restart the running monitoring processes in that project.
209-
====
204+
. Save the file to apply the changes. The new configuration is applied automatically.

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

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,21 @@ The Prometheus config map component is called `prometheusK8s` in the `cluster-mo
136136
====
137137
endif::openshift-dedicated,openshift-rosa[]
138138

139-
. Save the file to apply the changes to the `ConfigMap` object. The pods affected by the new configuration are restarted automatically.
139+
. Save the file to apply the changes to the `ConfigMap` object.
140140
+
141141
[WARNING]
142142
====
143-
When changes are saved to a monitoring config map, the pods and other resources in the related project might be redeployed. The running monitoring processes in that project might also be restarted.
143+
Different configuration changes to the `ConfigMap` object result in different outcomes:
144+
145+
* The pods are not redeployed. Therefore, there is no service outage.
146+
147+
* The affected pods are redeployed:
148+
149+
** For single-node clusters, this results in temporary service outage.
150+
151+
** For multi-node clusters, because of high-availability, the affected pods are gradually rolled out and the monitoring stack remains available.
152+
153+
** Configuring and resizing a persistent volume always results in a service outage, regardless of high availability.
154+
155+
Each procedure that requires a change in the config map includes its expected outcome.
144156
====

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

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,4 @@ data:
157157
<2> Specify the name of the cluster ID label for metrics sent to remote write storage. If you use a label name that already exists for a metric, that value is overwritten with the name of this cluster ID label. For the label name, do not use `+++__tmp_openshift_cluster_id__+++`. The final relabeling step removes labels that use this name.
158158
<3> The `replace` write relabel action replaces the temporary label with the target label for outgoing metrics. This action is the default and is applied if no action is specified.
159159

160-
. Save the file to apply the changes to the `ConfigMap` object.
161-
The pods affected by the updated configuration automatically restart.
162-
+
163-
[WARNING]
164-
====
165-
Saving changes to a monitoring `ConfigMap` object might redeploy the pods and other resources in the related project. Saving changes might also restart the running monitoring processes in that project.
166-
====
160+
. Save the file to apply the changes. The new configuration is applied automatically.

0 commit comments

Comments
 (0)