|
7 | 7 | [id="disabling-insights-operator-alerts_{context}"] |
8 | 8 | = Disabling Insights Operator alerts |
9 | 9 |
|
10 | | -You can stop Insights Operator from firing alerts to the cluster Prometheus instance. |
| 10 | +ifndef::openshift-rosa,openshift-dedicated[] |
| 11 | +To prevent the Insights Operator from sending alerts to the cluster Prometheus instance, you edit the `support` secret. If the `support` secret doesn't exist, you must create it when you first add custom configurations. Note that configurations within the `support` secret take precedence over the default settings defined in the `pod.yaml` file. |
| 12 | +endif::openshift-rosa,openshift-dedicated[] |
| 13 | +ifndef::openshift-rosa,openshift-dedicated[] |
| 14 | +To prevent the Insights Operator from sending alerts to the cluster Prometheus instance, you edit the `support` secret. Note that this `secret` is created by default. The configurations stored in the support secret take precedence over any default settings specified in the `pod.yaml` file. |
| 15 | +endif::openshift-rosa,openshift-dedicated[] |
| 16 | + |
| 17 | +.Prerequisites |
| 18 | + |
| 19 | +* Remote health reporting is enabled, which is the default. |
| 20 | +ifndef::openshift-rosa,openshift-dedicated[] |
| 21 | +* You are logged in to the {product-title} web console as `cluster-admin`. |
| 22 | +endif::openshift-rosa,openshift-dedicated[] |
| 23 | +ifdef::openshift-rosa,openshift-dedicated[] |
| 24 | +* You are logged in to the {product-title} web console as a user with the `dedicated-admin` role. |
| 25 | +endif::openshift-rosa,openshift-dedicated[] |
| 26 | +
|
| 27 | +.Procedure |
11 | 28 |
|
12 | 29 | . Navigate to *Workloads* -> *Secrets*. |
13 | 30 | . On the *Secrets* page, select *All Projects* from the *Project* list, and then set *Show default projects* to on. |
14 | 31 | . Select the *openshift-config* project from the *Projects* list. |
15 | | -. Search for the *support* secret using the *Search by name* field. If the secret does not exist, click *Create* -> *Key/value secret* to create it. |
| 32 | +. Search for the *support* secret by using the *Search by name* field. |
| 33 | ++ |
| 34 | +* If the secret exists: |
16 | 35 | . Click the *Options* menu {kebab}, and then click *Edit Secret*. |
17 | 36 | . Click *Add Key/Value*. |
18 | | -. Enter `disableInsightsAlerts` as the key with the value `True`, and click *Save*. |
| 37 | +.. In the *Key* field, enter `disableInsightsAlerts`. |
| 38 | +.. In the *Value* field, enter `True`. |
| 39 | ++ |
| 40 | +* If the secret does not exist: |
| 41 | +.. Click *Create* -> *Key/value secret*. |
| 42 | +... In the *Secret name* field, enter `support`. |
| 43 | +... In the *Key* field, enter `disableInsightsAlerts`. |
| 44 | +... In the *Value* field, enter `True`. |
| 45 | +.. Click *Create*. |
19 | 46 |
|
20 | | -After you save the changes, Insights Operator will no longer send alerts to the cluster Prometheus instance. |
| 47 | +After you save the changes, Insights Operator no longer sends alerts to the cluster Prometheus instance. |
0 commit comments