Skip to content

Commit e959640

Browse files
authored
Merge pull request #83233 from eromanova97/OBSDOCS-1338
OBSDOCS-1338: Add missing prerequisite in Enabling the platform Alert…
2 parents 1758887 + 85efe7d commit e959640

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

modules/monitoring-deploying-a-sample-service.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88

99
To test monitoring of a service in a user-defined project, you can deploy a sample service.
1010

11+
.Prerequisites
12+
13+
* You have access to the cluster as a user with the `cluster-admin` cluster role or as a user with administrative permissions for the namespace.
14+
1115
.Procedure
1216

1317
. Create a YAML file for the service configuration. In this example, it is called `prometheus-example-app.yaml`.

modules/monitoring-enabling-the-platform-alertmanager-instance-for-user-defined-alert-routing.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ You can allow users to create user-defined alert routing configurations that use
1111
.Prerequisites
1212

1313
* You have access to the cluster as a user with the `cluster-admin` cluster role.
14+
* A cluster administrator has enabled monitoring for user-defined projects.
1415
* You have installed the OpenShift CLI (`oc`).
1516
1617
.Procedure
@@ -33,8 +34,10 @@ metadata:
3334
namespace: openshift-monitoring
3435
data:
3536
config.yaml: |
37+
# ...
3638
alertmanagerMain:
37-
enableUserAlertmanagerConfig: true <1>
39+
enableUserAlertmanagerConfig: true # <1>
40+
# ...
3841
----
3942
<1> Set the `enableUserAlertmanagerConfig` value to `true` to allow users to create user-defined alert routing configurations that use the main platform instance of Alertmanager.
4043
+

0 commit comments

Comments
 (0)