From baf50657afda708ef32971da7bb3bcd3609fbc2e Mon Sep 17 00:00:00 2001 From: Eliska Romanova Date: Mon, 4 Aug 2025 10:41:18 +0200 Subject: [PATCH] OBSDOCS-2224a: fix oc CLI attribute --- .../monitoring-accessing-alerting-rules-for-your-project.adoc | 2 +- ...ing-adding-a-secret-to-the-alertmanager-configuration.adoc | 2 +- ...toring-assigning-tolerations-to-monitoring-components.adoc | 2 +- ...hing-additional-labels-to-your-time-series-and-alerts.adoc | 2 +- modules/monitoring-choosing-a-metrics-collection-profile.adoc | 2 +- modules/monitoring-configuring-a-persistent-volume-claim.adoc | 2 +- ...g-configuring-alert-routing-for-user-defined-projects.adoc | 2 +- ...-configuring-alert-routing-user-defined-alerts-secret.adoc | 2 +- modules/monitoring-configuring-external-alertmanagers.adoc | 2 +- ...onitoring-configuring-pod-topology-spread-constraints.adoc | 2 +- modules/monitoring-configuring-remote-write-storage.adoc | 2 +- ...ing-creating-alerting-rules-for-user-defined-projects.adoc | 2 +- .../monitoring-creating-cluster-id-labels-for-metrics.adoc | 2 +- modules/monitoring-creating-cluster-monitoring-configmap.adoc | 2 +- ...ross-project-alerting-rules-for-user-defined-projects.adoc | 2 +- modules/monitoring-creating-new-alerting-rules.adoc | 2 +- modules/monitoring-creating-scrape-sample-alerts.adoc | 2 +- ...g-creating-user-defined-workload-monitoring-configmap.adoc | 2 +- ...ng-determining-why-prometheus-is-consuming-disk-space.adoc | 2 +- ...ross-project-alerting-rules-for-user-defined-projects.adoc | 2 +- modules/monitoring-disabling-the-local-alertmanager.adoc | 2 +- ...itoring-enabling-monitoring-for-user-defined-projects.adoc | 2 +- .../monitoring-enabling-query-logging-for-thanos-querier.adoc | 2 +- ...-alertmanager-instance-for-user-defined-alert-routing.adoc | 2 +- ...-to-configure-alert-routing-for-user-defined-projects.adoc | 2 +- ...ion-to-configure-monitoring-for-user-defined-projects.adoc | 2 +- modules/monitoring-installation-progress.adoc | 2 +- ...ting-alerting-rules-for-all-projects-in-a-single-view.adoc | 2 +- .../monitoring-modifying-core-platform-alerting-rules.adoc | 2 +- ...g-retention-time-and-size-for-prometheus-metrics-data.adoc | 2 +- ...ying-the-retention-time-for-thanos-ruler-metrics-data.adoc | 2 +- ...oring-moving-monitoring-components-to-different-nodes.adoc | 4 ++-- ...trics-by-using-the-federation-endpoint-for-prometheus.adoc | 2 +- ...-querying-metrics-for-all-projects-with-mon-dashboard.adoc | 2 +- ...ing-removing-alerting-rules-for-user-defined-projects.adoc | 2 +- modules/monitoring-resizing-a-persistent-volume.adoc | 2 +- ...persistentvolumefillingup-alert-firing-for-prometheus.adoc | 2 +- ...g-setting-audit-log-levels-for-the-prometheus-adapter.adoc | 2 +- ...nitoring-setting-log-levels-for-monitoring-components.adoc | 2 +- modules/monitoring-setting-query-log-file-for-prometheus.adoc | 2 +- ...evaluation-intervals-limits-for-user-defined-projects.adoc | 2 +- ...ring-setting-the-body-size-limit-for-metrics-scraping.adoc | 2 +- ...cifying-limits-and-requests-for-monitoring-components.adoc | 2 +- 43 files changed, 44 insertions(+), 44 deletions(-) diff --git a/modules/monitoring-accessing-alerting-rules-for-your-project.adoc b/modules/monitoring-accessing-alerting-rules-for-your-project.adoc index 90fceed82849..b1b3c62a99f0 100644 --- a/modules/monitoring-accessing-alerting-rules-for-your-project.adoc +++ b/modules/monitoring-accessing-alerting-rules-for-your-project.adoc @@ -12,7 +12,7 @@ To list alerting rules for a user-defined project, you must have been assigned t * You have enabled monitoring for user-defined projects. * You are logged in as a user that has the `monitoring-rules-view` cluster role for your project. -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. .Procedure diff --git a/modules/monitoring-adding-a-secret-to-the-alertmanager-configuration.adoc b/modules/monitoring-adding-a-secret-to-the-alertmanager-configuration.adoc index cb7a25dd624f..e9c89d680ee0 100644 --- a/modules/monitoring-adding-a-secret-to-the-alertmanager-configuration.adoc +++ b/modules/monitoring-adding-a-secret-to-the-alertmanager-configuration.adoc @@ -40,7 +40,7 @@ ifdef::openshift-dedicated,openshift-rosa[] endif::openshift-dedicated,openshift-rosa[] // end::UWM[] * You have created the secret to be configured in Alertmanager in the `{namespace-name}` project. -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. .Procedure diff --git a/modules/monitoring-assigning-tolerations-to-monitoring-components.adoc b/modules/monitoring-assigning-tolerations-to-monitoring-components.adoc index fdc40d052c6b..10fcf9e2484f 100644 --- a/modules/monitoring-assigning-tolerations-to-monitoring-components.adoc +++ b/modules/monitoring-assigning-tolerations-to-monitoring-components.adoc @@ -43,7 +43,7 @@ ifdef::openshift-dedicated,openshift-rosa[] * The `user-workload-monitoring-config` `ConfigMap` object exists in the `openshift-user-workload-monitoring` namespace. This object is created by default when the cluster is created. endif::openshift-dedicated,openshift-rosa[] // end::UWM[] -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. .Procedure diff --git a/modules/monitoring-attaching-additional-labels-to-your-time-series-and-alerts.adoc b/modules/monitoring-attaching-additional-labels-to-your-time-series-and-alerts.adoc index 4a898913d870..a8696b6ffb8e 100644 --- a/modules/monitoring-attaching-additional-labels-to-your-time-series-and-alerts.adoc +++ b/modules/monitoring-attaching-additional-labels-to-your-time-series-and-alerts.adoc @@ -37,7 +37,7 @@ ifdef::openshift-dedicated,openshift-rosa[] * The `user-workload-monitoring-config` `ConfigMap` object exists. This object is created by default when the cluster is created. endif::openshift-dedicated,openshift-rosa[] // end::UWM[] -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. .Procedure diff --git a/modules/monitoring-choosing-a-metrics-collection-profile.adoc b/modules/monitoring-choosing-a-metrics-collection-profile.adoc index 51450177ae99..ceb5d6f010d5 100644 --- a/modules/monitoring-choosing-a-metrics-collection-profile.adoc +++ b/modules/monitoring-choosing-a-metrics-collection-profile.adoc @@ -10,7 +10,7 @@ To choose a metrics collection profile for core {product-title} monitoring compo .Prerequisites -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. * You have created the `cluster-monitoring-config` `ConfigMap` object. * You have access to the cluster as a user with the `cluster-admin` cluster role. diff --git a/modules/monitoring-configuring-a-persistent-volume-claim.adoc b/modules/monitoring-configuring-a-persistent-volume-claim.adoc index 0a382019fc98..de2413543a85 100644 --- a/modules/monitoring-configuring-a-persistent-volume-claim.adoc +++ b/modules/monitoring-configuring-a-persistent-volume-claim.adoc @@ -37,7 +37,7 @@ ifdef::openshift-dedicated,openshift-rosa[] * The `user-workload-monitoring-config` `ConfigMap` object exists. This object is created by default when the cluster is created. endif::openshift-dedicated,openshift-rosa[] // end::UWM[] -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. .Procedure diff --git a/modules/monitoring-configuring-alert-routing-for-user-defined-projects.adoc b/modules/monitoring-configuring-alert-routing-for-user-defined-projects.adoc index 3c6d6f5ddee8..af8dffb2d88c 100644 --- a/modules/monitoring-configuring-alert-routing-for-user-defined-projects.adoc +++ b/modules/monitoring-configuring-alert-routing-for-user-defined-projects.adoc @@ -18,7 +18,7 @@ ifdef::openshift-dedicated,openshift-rosa[] * Alert routing has been enabled for user-defined projects. endif::openshift-dedicated,openshift-rosa[] * You are logged in as a user that has the `alert-routing-edit` cluster role for the project for which you want to create alert routing. -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. .Procedure diff --git a/modules/monitoring-configuring-alert-routing-user-defined-alerts-secret.adoc b/modules/monitoring-configuring-alert-routing-user-defined-alerts-secret.adoc index 3c7069dc54f2..7e55af31cedf 100644 --- a/modules/monitoring-configuring-alert-routing-user-defined-alerts-secret.adoc +++ b/modules/monitoring-configuring-alert-routing-user-defined-alerts-secret.adoc @@ -22,7 +22,7 @@ endif::openshift-dedicated,openshift-rosa[] ifdef::openshift-rosa,openshift-dedicated[] * You have access to the cluster as a user with the `dedicated-admin` role. endif::[] -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. .Procedure diff --git a/modules/monitoring-configuring-external-alertmanagers.adoc b/modules/monitoring-configuring-external-alertmanagers.adoc index 5619c62b23a3..5af519cc9a9a 100644 --- a/modules/monitoring-configuring-external-alertmanagers.adoc +++ b/modules/monitoring-configuring-external-alertmanagers.adoc @@ -48,7 +48,7 @@ ifdef::openshift-dedicated,openshift-rosa[] * The `user-workload-monitoring-config` `ConfigMap` object exists. This object is created by default when the cluster is created. endif::openshift-dedicated,openshift-rosa[] // end::UWM[] -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. .Procedure diff --git a/modules/monitoring-configuring-pod-topology-spread-constraints.adoc b/modules/monitoring-configuring-pod-topology-spread-constraints.adoc index c39fb11e5d63..44aaceec59a2 100644 --- a/modules/monitoring-configuring-pod-topology-spread-constraints.adoc +++ b/modules/monitoring-configuring-pod-topology-spread-constraints.adoc @@ -52,7 +52,7 @@ ifdef::openshift-dedicated,openshift-rosa[] * The `user-workload-monitoring-config` `ConfigMap` object exists. This object is created by default when the cluster is created. endif::openshift-dedicated,openshift-rosa[] // end::UWM[] -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. .Procedure diff --git a/modules/monitoring-configuring-remote-write-storage.adoc b/modules/monitoring-configuring-remote-write-storage.adoc index 583d11f44d2f..6a62cf1fc3fe 100644 --- a/modules/monitoring-configuring-remote-write-storage.adoc +++ b/modules/monitoring-configuring-remote-write-storage.adoc @@ -36,7 +36,7 @@ ifdef::openshift-dedicated,openshift-rosa[] * The `user-workload-monitoring-config` `ConfigMap` object exists. This object is created by default when the cluster is created. endif::openshift-dedicated,openshift-rosa[] // end::UWM[] -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. * You have set up a remote write compatible endpoint (such as Thanos) and know the endpoint URL. See the link:https://prometheus.io/docs/operating/integrations/#remote-endpoints-and-storage[Prometheus remote endpoints and storage documentation] for information about endpoints that are compatible with the remote write feature. + [IMPORTANT] diff --git a/modules/monitoring-creating-alerting-rules-for-user-defined-projects.adoc b/modules/monitoring-creating-alerting-rules-for-user-defined-projects.adoc index 84364167cb63..653f474a8214 100644 --- a/modules/monitoring-creating-alerting-rules-for-user-defined-projects.adoc +++ b/modules/monitoring-creating-alerting-rules-for-user-defined-projects.adoc @@ -17,7 +17,7 @@ To help users understand the impact and cause of the alert, ensure that your ale * You have enabled monitoring for user-defined projects. * You are logged in as a cluster administrator or as a user that has the `monitoring-rules-edit` cluster role for the project where you want to create an alerting rule. -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. .Procedure diff --git a/modules/monitoring-creating-cluster-id-labels-for-metrics.adoc b/modules/monitoring-creating-cluster-id-labels-for-metrics.adoc index 1df3b1ec7a61..55feedc0aae6 100644 --- a/modules/monitoring-creating-cluster-id-labels-for-metrics.adoc +++ b/modules/monitoring-creating-cluster-id-labels-for-metrics.adoc @@ -47,7 +47,7 @@ ifdef::openshift-dedicated,openshift-rosa[] * The `user-workload-monitoring-config` ConfigMap object exists. This object is created by default when the cluster is created. endif::openshift-dedicated,openshift-rosa[] // end::UWM[] -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. * You have configured remote write storage. .Procedure diff --git a/modules/monitoring-creating-cluster-monitoring-configmap.adoc b/modules/monitoring-creating-cluster-monitoring-configmap.adoc index ace2e6bafb6b..9813373d1c9d 100644 --- a/modules/monitoring-creating-cluster-monitoring-configmap.adoc +++ b/modules/monitoring-creating-cluster-monitoring-configmap.adoc @@ -11,7 +11,7 @@ You can configure the core {product-title} monitoring components by creating and .Prerequisites * You have access to the cluster as a user with the `cluster-admin` cluster role. -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. .Procedure diff --git a/modules/monitoring-creating-cross-project-alerting-rules-for-user-defined-projects.adoc b/modules/monitoring-creating-cross-project-alerting-rules-for-user-defined-projects.adoc index 0d053038f758..f377d04355ed 100644 --- a/modules/monitoring-creating-cross-project-alerting-rules-for-user-defined-projects.adoc +++ b/modules/monitoring-creating-cross-project-alerting-rules-for-user-defined-projects.adoc @@ -28,7 +28,7 @@ If you are a non-administrator user, you can still create cross-project alerting ==== * The `user-workload-monitoring-config` `ConfigMap` object exists. This object is created by default when the cluster is created. endif::openshift-dedicated,openshift-rosa[] -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. .Procedure diff --git a/modules/monitoring-creating-new-alerting-rules.adoc b/modules/monitoring-creating-new-alerting-rules.adoc index 65cf95e6c7d6..79099a12dc74 100644 --- a/modules/monitoring-creating-new-alerting-rules.adoc +++ b/modules/monitoring-creating-new-alerting-rules.adoc @@ -19,7 +19,7 @@ These alerting rules trigger alerts based on the values of chosen metrics. .Prerequisites * You have access to the cluster as a user that has the `cluster-admin` cluster role. -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. .Procedure diff --git a/modules/monitoring-creating-scrape-sample-alerts.adoc b/modules/monitoring-creating-scrape-sample-alerts.adoc index 58cdd6044a2c..30810e4ff332 100644 --- a/modules/monitoring-creating-scrape-sample-alerts.adoc +++ b/modules/monitoring-creating-scrape-sample-alerts.adoc @@ -16,7 +16,7 @@ You can create alerts that notify you when: * 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. * A cluster administrator has enabled monitoring for user-defined projects. * You have limited the number of samples that can be accepted per target scrape in user-defined projects, by using `enforcedSampleLimit`. -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. .Procedure diff --git a/modules/monitoring-creating-user-defined-workload-monitoring-configmap.adoc b/modules/monitoring-creating-user-defined-workload-monitoring-configmap.adoc index ba8e9a1b7987..461b9dd4d5da 100644 --- a/modules/monitoring-creating-user-defined-workload-monitoring-configmap.adoc +++ b/modules/monitoring-creating-user-defined-workload-monitoring-configmap.adoc @@ -18,7 +18,7 @@ You can configure the user workload monitoring components with the `user-workloa .Prerequisites * You have access to the cluster as a user with the `cluster-admin` cluster role. -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. .Procedure diff --git a/modules/monitoring-determining-why-prometheus-is-consuming-disk-space.adoc b/modules/monitoring-determining-why-prometheus-is-consuming-disk-space.adoc index 654dbe374721..af3829e7e8da 100644 --- a/modules/monitoring-determining-why-prometheus-is-consuming-disk-space.adoc +++ b/modules/monitoring-determining-why-prometheus-is-consuming-disk-space.adoc @@ -34,7 +34,7 @@ endif::openshift-dedicated,openshift-rosa-hcp,openshift-rosa[] ifdef::openshift-dedicated,openshift-rosa-hcp,openshift-rosa[] * You have access to the cluster as a user with the `dedicated-admin` role. endif::openshift-dedicated,openshift-rosa-hcp,openshift-rosa[] -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. .Procedure diff --git a/modules/monitoring-disabling-cross-project-alerting-rules-for-user-defined-projects.adoc b/modules/monitoring-disabling-cross-project-alerting-rules-for-user-defined-projects.adoc index be90e6b12af4..cb1363eaebf4 100644 --- a/modules/monitoring-disabling-cross-project-alerting-rules-for-user-defined-projects.adoc +++ b/modules/monitoring-disabling-cross-project-alerting-rules-for-user-defined-projects.adoc @@ -19,7 +19,7 @@ endif::openshift-dedicated,openshift-rosa[] ifdef::openshift-dedicated,openshift-rosa[] * You have access to the cluster as a user with the `dedicated-admin` role. endif::openshift-dedicated,openshift-rosa[] -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. .Procedure diff --git a/modules/monitoring-disabling-the-local-alertmanager.adoc b/modules/monitoring-disabling-the-local-alertmanager.adoc index 88f309d6693b..2ee187ed35cd 100644 --- a/modules/monitoring-disabling-the-local-alertmanager.adoc +++ b/modules/monitoring-disabling-the-local-alertmanager.adoc @@ -14,7 +14,7 @@ If you do not need the local Alertmanager, you can disable it by configuring the * You have access to the cluster as a user with the `cluster-admin` cluster role. * You have created the `cluster-monitoring-config` config map. -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. .Procedure diff --git a/modules/monitoring-enabling-monitoring-for-user-defined-projects.adoc b/modules/monitoring-enabling-monitoring-for-user-defined-projects.adoc index d3cb94d93453..56ba59df32b5 100644 --- a/modules/monitoring-enabling-monitoring-for-user-defined-projects.adoc +++ b/modules/monitoring-enabling-monitoring-for-user-defined-projects.adoc @@ -21,7 +21,7 @@ You must have access to the cluster as a user with the `cluster-admin` cluster r .Prerequisites * You have access to the cluster as a user with the `cluster-admin` cluster role. -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. * You have created the `cluster-monitoring-config` `ConfigMap` object. * You have optionally created and configured the `user-workload-monitoring-config` `ConfigMap` object in the `openshift-user-workload-monitoring` project. You can add configuration options to this `ConfigMap` object for the components that monitor user-defined projects. + diff --git a/modules/monitoring-enabling-query-logging-for-thanos-querier.adoc b/modules/monitoring-enabling-query-logging-for-thanos-querier.adoc index 8574cacd48ce..c85b85d2ff25 100644 --- a/modules/monitoring-enabling-query-logging-for-thanos-querier.adoc +++ b/modules/monitoring-enabling-query-logging-for-thanos-querier.adoc @@ -15,7 +15,7 @@ Because log rotation is not supported, only enable this feature temporarily when .Prerequisites -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. * You have access to the cluster as a user with the `cluster-admin` cluster role. * You have created the `cluster-monitoring-config` `ConfigMap` object. diff --git a/modules/monitoring-enabling-the-platform-alertmanager-instance-for-user-defined-alert-routing.adoc b/modules/monitoring-enabling-the-platform-alertmanager-instance-for-user-defined-alert-routing.adoc index 8495b36fa536..ac432a38eada 100644 --- a/modules/monitoring-enabling-the-platform-alertmanager-instance-for-user-defined-alert-routing.adoc +++ b/modules/monitoring-enabling-the-platform-alertmanager-instance-for-user-defined-alert-routing.adoc @@ -12,7 +12,7 @@ You can allow users to create user-defined alert routing configurations that use * You have access to the cluster as a user with the `cluster-admin` cluster role. * A cluster administrator has enabled monitoring for user-defined projects. -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. .Procedure diff --git a/modules/monitoring-granting-users-permission-to-configure-alert-routing-for-user-defined-projects.adoc b/modules/monitoring-granting-users-permission-to-configure-alert-routing-for-user-defined-projects.adoc index 041ff50a7965..4c38f6e90db1 100644 --- a/modules/monitoring-granting-users-permission-to-configure-alert-routing-for-user-defined-projects.adoc +++ b/modules/monitoring-granting-users-permission-to-configure-alert-routing-for-user-defined-projects.adoc @@ -19,7 +19,7 @@ ifndef::openshift-rosa,openshift-dedicated[] * You have enabled monitoring for user-defined projects. endif::[] * The user account that you are assigning the role to already exists. -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. .Procedure diff --git a/modules/monitoring-granting-users-permission-to-configure-monitoring-for-user-defined-projects.adoc b/modules/monitoring-granting-users-permission-to-configure-monitoring-for-user-defined-projects.adoc index 8d4db2c9dc38..f7f1014a9396 100644 --- a/modules/monitoring-granting-users-permission-to-configure-monitoring-for-user-defined-projects.adoc +++ b/modules/monitoring-granting-users-permission-to-configure-monitoring-for-user-defined-projects.adoc @@ -12,7 +12,7 @@ As a cluster administrator, you can assign the `user-workload-monitoring-config- * You have access to the cluster as a user with the `cluster-admin` cluster role. * The user account that you are assigning the role to already exists. -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. .Procedure diff --git a/modules/monitoring-installation-progress.adoc b/modules/monitoring-installation-progress.adoc index d5bcd114b121..dd9f63f9d9c5 100644 --- a/modules/monitoring-installation-progress.adoc +++ b/modules/monitoring-installation-progress.adoc @@ -11,7 +11,7 @@ You can monitor high-level installation, bootstrap, and control plane logs as an .Prerequisites * You have access to the cluster as a user with the `cluster-admin` cluster role. -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. * You have SSH access to your hosts. * You have the fully qualified domain names of the bootstrap and control plane nodes. + diff --git a/modules/monitoring-listing-alerting-rules-for-all-projects-in-a-single-view.adoc b/modules/monitoring-listing-alerting-rules-for-all-projects-in-a-single-view.adoc index cc28509bb374..b3f75b5fe4a8 100644 --- a/modules/monitoring-listing-alerting-rules-for-all-projects-in-a-single-view.adoc +++ b/modules/monitoring-listing-alerting-rules-for-all-projects-in-a-single-view.adoc @@ -22,7 +22,7 @@ endif::[] ifndef::openshift-rosa,openshift-dedicated[] * You have access to the cluster as a user with the `cluster-admin` role. endif::[] -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. .Procedure diff --git a/modules/monitoring-modifying-core-platform-alerting-rules.adoc b/modules/monitoring-modifying-core-platform-alerting-rules.adoc index dc6aa289722a..64d1fec1a738 100644 --- a/modules/monitoring-modifying-core-platform-alerting-rules.adoc +++ b/modules/monitoring-modifying-core-platform-alerting-rules.adoc @@ -12,7 +12,7 @@ For example, you can change the severity label of an alert, add a custom label, .Prerequisites * You have access to the cluster as a user with the `cluster-admin` cluster role. -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. .Procedure diff --git a/modules/monitoring-modifying-retention-time-and-size-for-prometheus-metrics-data.adoc b/modules/monitoring-modifying-retention-time-and-size-for-prometheus-metrics-data.adoc index 5f72844cbd72..870933552e92 100644 --- a/modules/monitoring-modifying-retention-time-and-size-for-prometheus-metrics-data.adoc +++ b/modules/monitoring-modifying-retention-time-and-size-for-prometheus-metrics-data.adoc @@ -49,7 +49,7 @@ ifdef::openshift-dedicated,openshift-rosa[] * The `user-workload-monitoring-config` `ConfigMap` object exists. This object is created by default when the cluster is created. endif::openshift-dedicated,openshift-rosa[] // end::UWM[] -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. .Procedure diff --git a/modules/monitoring-modifying-the-retention-time-for-thanos-ruler-metrics-data.adoc b/modules/monitoring-modifying-the-retention-time-for-thanos-ruler-metrics-data.adoc index 8b17220fcba1..31b63ded1dc5 100644 --- a/modules/monitoring-modifying-the-retention-time-for-thanos-ruler-metrics-data.adoc +++ b/modules/monitoring-modifying-the-retention-time-for-thanos-ruler-metrics-data.adoc @@ -18,7 +18,7 @@ ifdef::openshift-dedicated,openshift-rosa[] * You have access to the cluster as a user with the `dedicated-admin` role. * The `user-workload-monitoring-config` `ConfigMap` object exists. This object is created by default when the cluster is created. endif::openshift-dedicated,openshift-rosa[] -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. .Procedure diff --git a/modules/monitoring-moving-monitoring-components-to-different-nodes.adoc b/modules/monitoring-moving-monitoring-components-to-different-nodes.adoc index 70e79fdce004..328357dfb891 100644 --- a/modules/monitoring-moving-monitoring-components-to-different-nodes.adoc +++ b/modules/monitoring-moving-monitoring-components-to-different-nodes.adoc @@ -39,7 +39,7 @@ It is not permitted to move components to control plane or infrastructure nodes. // tag::CPM[] * You have access to the cluster as a user with the `cluster-admin` cluster role. * You have created the `cluster-monitoring-config` `ConfigMap` object. -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. // end::CPM[] // tag::UWM[] @@ -51,7 +51,7 @@ ifdef::openshift-dedicated,openshift-rosa[] * You have access to the cluster as a user with the `dedicated-admin` role. * The `user-workload-monitoring-config` `ConfigMap` object exists. This object is created by default when the cluster is created. endif::openshift-dedicated,openshift-rosa[] -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. // end::UWM[] .Procedure diff --git a/modules/monitoring-querying-metrics-by-using-the-federation-endpoint-for-prometheus.adoc b/modules/monitoring-querying-metrics-by-using-the-federation-endpoint-for-prometheus.adoc index 9519663156c7..0f17f06c654d 100644 --- a/modules/monitoring-querying-metrics-by-using-the-federation-endpoint-for-prometheus.adoc +++ b/modules/monitoring-querying-metrics-by-using-the-federation-endpoint-for-prometheus.adoc @@ -29,7 +29,7 @@ If you need to forward large amounts of data outside the cluster, use remote wri .Prerequisites -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. * You have access to the cluster as a user with the `cluster-monitoring-view` cluster role or have obtained a bearer token with `get` permission on the `namespaces` resource. + [NOTE] diff --git a/modules/monitoring-querying-metrics-for-all-projects-with-mon-dashboard.adoc b/modules/monitoring-querying-metrics-for-all-projects-with-mon-dashboard.adoc index 170a6638f9ea..03871cf81f45 100644 --- a/modules/monitoring-querying-metrics-for-all-projects-with-mon-dashboard.adoc +++ b/modules/monitoring-querying-metrics-for-all-projects-with-mon-dashboard.adoc @@ -37,7 +37,7 @@ endif::openshift-dedicated,openshift-rosa[] ifdef::openshift-dedicated,openshift-rosa[] * You have access to the cluster as a user with the `dedicated-admin` role or with view permissions for all projects. endif::openshift-dedicated,openshift-rosa[] -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. .Procedure diff --git a/modules/monitoring-removing-alerting-rules-for-user-defined-projects.adoc b/modules/monitoring-removing-alerting-rules-for-user-defined-projects.adoc index cd3bcc135d64..8120ec4c684c 100644 --- a/modules/monitoring-removing-alerting-rules-for-user-defined-projects.adoc +++ b/modules/monitoring-removing-alerting-rules-for-user-defined-projects.adoc @@ -12,7 +12,7 @@ You can remove alerting rules for user-defined projects. * You have enabled monitoring for user-defined projects. * You are logged in as a cluster administrator or as a user that has the `monitoring-rules-edit` cluster role for the project where you want to create an alerting rule. -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. .Procedure diff --git a/modules/monitoring-resizing-a-persistent-volume.adoc b/modules/monitoring-resizing-a-persistent-volume.adoc index a32e62407e9f..2f693ad842ba 100644 --- a/modules/monitoring-resizing-a-persistent-volume.adoc +++ b/modules/monitoring-resizing-a-persistent-volume.adoc @@ -43,7 +43,7 @@ You can only expand the size of the PVC. Shrinking the storage size is not possi * A cluster administrator has enabled monitoring for user-defined projects. * You have configured at least one PVC for components that monitor user-defined projects. // end::UWM[] -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. .Procedure diff --git a/modules/monitoring-resolving-the-kubepersistentvolumefillingup-alert-firing-for-prometheus.adoc b/modules/monitoring-resolving-the-kubepersistentvolumefillingup-alert-firing-for-prometheus.adoc index 2c87ab26e232..473c1aaa8f94 100644 --- a/modules/monitoring-resolving-the-kubepersistentvolumefillingup-alert-firing-for-prometheus.adoc +++ b/modules/monitoring-resolving-the-kubepersistentvolumefillingup-alert-firing-for-prometheus.adoc @@ -29,7 +29,7 @@ endif::openshift-dedicated,openshift-rosa-hcp,openshift-rosa[] ifdef::openshift-dedicated,openshift-rosa-hcp,openshift-rosa[] * You have access to the cluster as a user with the `dedicated-admin` role. endif::openshift-dedicated,openshift-rosa-hcp,openshift-rosa[] -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. .Procedure diff --git a/modules/monitoring-setting-audit-log-levels-for-the-prometheus-adapter.adoc b/modules/monitoring-setting-audit-log-levels-for-the-prometheus-adapter.adoc index 64e962f671c7..3430f0cadfa6 100644 --- a/modules/monitoring-setting-audit-log-levels-for-the-prometheus-adapter.adoc +++ b/modules/monitoring-setting-audit-log-levels-for-the-prometheus-adapter.adoc @@ -11,7 +11,7 @@ In default platform monitoring, you can configure the audit log level for the Pr .Prerequisites -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. * You have access to the cluster as a user with the `cluster-admin` cluster role. * You have created the `cluster-monitoring-config` `ConfigMap` object. diff --git a/modules/monitoring-setting-log-levels-for-monitoring-components.adoc b/modules/monitoring-setting-log-levels-for-monitoring-components.adoc index 5810020f9887..adf62633c7f2 100644 --- a/modules/monitoring-setting-log-levels-for-monitoring-components.adoc +++ b/modules/monitoring-setting-log-levels-for-monitoring-components.adoc @@ -57,7 +57,7 @@ ifdef::openshift-dedicated,openshift-rosa[] * The `user-workload-monitoring-config` `ConfigMap` object exists. This object is created by default when the cluster is created. endif::openshift-dedicated,openshift-rosa[] // end::UWM[] -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. .Procedure diff --git a/modules/monitoring-setting-query-log-file-for-prometheus.adoc b/modules/monitoring-setting-query-log-file-for-prometheus.adoc index 6457cd5462f6..9e34d59c5495 100644 --- a/modules/monitoring-setting-query-log-file-for-prometheus.adoc +++ b/modules/monitoring-setting-query-log-file-for-prometheus.adoc @@ -45,7 +45,7 @@ ifdef::openshift-dedicated,openshift-rosa[] * The `user-workload-monitoring-config` `ConfigMap` object exists. This object is created by default when the cluster is created. endif::openshift-dedicated,openshift-rosa[] // end::UWM[] -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. .Procedure diff --git a/modules/monitoring-setting-scrape-and-evaluation-intervals-limits-for-user-defined-projects.adoc b/modules/monitoring-setting-scrape-and-evaluation-intervals-limits-for-user-defined-projects.adoc index 9f05c5570eda..92a7dba9af29 100644 --- a/modules/monitoring-setting-scrape-and-evaluation-intervals-limits-for-user-defined-projects.adoc +++ b/modules/monitoring-setting-scrape-and-evaluation-intervals-limits-for-user-defined-projects.adoc @@ -29,7 +29,7 @@ ifdef::openshift-dedicated,openshift-rosa[] * You have access to the cluster as a user with the `dedicated-admin` role. * The `user-workload-monitoring-config` `ConfigMap` object exists. This object is created by default when the cluster is created. endif::openshift-dedicated,openshift-rosa[] -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. .Procedure diff --git a/modules/monitoring-setting-the-body-size-limit-for-metrics-scraping.adoc b/modules/monitoring-setting-the-body-size-limit-for-metrics-scraping.adoc index 0fe4bd52aff1..d7f6d724f1f2 100644 --- a/modules/monitoring-setting-the-body-size-limit-for-metrics-scraping.adoc +++ b/modules/monitoring-setting-the-body-size-limit-for-metrics-scraping.adoc @@ -21,7 +21,7 @@ Prometheus then considers this target to be down and sets its `up` metric value .Prerequisites * You have access to the cluster as a user with the `cluster-admin` cluster role. -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. .Procedure diff --git a/modules/monitoring-specifying-limits-and-requests-for-monitoring-components.adoc b/modules/monitoring-specifying-limits-and-requests-for-monitoring-components.adoc index 8387edadd7b5..91c0adc83880 100644 --- a/modules/monitoring-specifying-limits-and-requests-for-monitoring-components.adoc +++ b/modules/monitoring-specifying-limits-and-requests-for-monitoring-components.adoc @@ -34,7 +34,7 @@ To configure CPU and memory resources, specify values for resource limits and re // tag::UWM[] * 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. // end::UWM[] -* You have installed the OpenShift CLI (`oc`). +* You have installed the {oc-first}. .Procedure