Skip to content

Commit 236c544

Browse files
committed
OBSDOCS-844-update-cmo-config-map-ref-4.16
1 parent cdc95da commit 236c544

File tree

1 file changed

+21
-70
lines changed

1 file changed

+21
-70
lines changed

observability/monitoring/config-map-reference-for-the-cluster-monitoring-operator.adoc

Lines changed: 21 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,6 @@ The `ClusterMonitoringConfiguration` resource defines settings that customize th
142142

143143
|enableUserWorkload|*bool|`UserWorkloadEnabled` is a Boolean flag that enables monitoring for user-defined projects.
144144

145-
|k8sPrometheusAdapter|*link:#k8sprometheusadapter[K8sPrometheusAdapter]|`K8sPrometheusAdapter` defines settings for the Prometheus Adapter component.
146-
147145
|kubeStateMetrics|*link:#kubestatemetricsconfig[KubeStateMetricsConfig]|`KubeStateMetricsConfig` defines settings for the `kube-state-metrics` agent.
148146

149147
|metricsServer|*link:#metricsserverconfig[MetricsServerConfig]|`MetricsServer` defines settings for the Metrics Server component.
@@ -166,52 +164,6 @@ The `ClusterMonitoringConfiguration` resource defines settings that customize th
166164

167165
|===
168166

169-
== DedicatedServiceMonitors
170-
171-
=== Description
172-
173-
[IMPORTANT]
174-
====
175-
This setting is deprecated and is planned to be removed in a future {product-title} version.
176-
In the current version, this setting still exists but has no effect.
177-
====
178-
179-
You can use the `DedicatedServiceMonitors` resource to configure dedicated Service Monitors for the Prometheus Adapter
180-
181-
Appears in: link:#k8sprometheusadapter[K8sPrometheusAdapter]
182-
183-
[options="header"]
184-
|===
185-
| Property | Type | Description
186-
|enabled|bool|When `enabled` is set to `true`, the Cluster Monitoring Operator (CMO) deploys a dedicated Service Monitor that exposes the kubelet `/metrics/resource` endpoint. This Service Monitor sets `honorTimestamps: true` and only keeps metrics that are relevant for the pod resource queries of Prometheus Adapter. Additionally, Prometheus Adapter is configured to use these dedicated metrics. Overall, this feature improves the consistency of Prometheus Adapter-based CPU usage measurements used by, for example, the `oc adm top pod` command or the Horizontal Pod Autoscaler.
187-
188-
|===
189-
190-
== K8sPrometheusAdapter
191-
192-
=== Description
193-
194-
The `K8sPrometheusAdapter` resource defines settings for the Prometheus Adapter component.
195-
196-
Appears in: link:#clustermonitoringconfiguration[ClusterMonitoringConfiguration]
197-
198-
[options="header"]
199-
|===
200-
| Property | Type | Description
201-
|audit|*Audit|Defines the audit configuration used by the Prometheus Adapter instance. Possible profile values are: `metadata`, `request`, `requestresponse`, and `none`. The default value is `metadata`.
202-
203-
|nodeSelector|map[string]string|Defines the nodes on which the pods are scheduled.
204-
205-
|resources|*v1.ResourceRequirements|Defines resource requests and limits for the `PrometheusAdapter` container.
206-
207-
|tolerations|[]v1.Toleration|Defines tolerations for the pods.
208-
209-
|topologySpreadConstraints|[]v1.TopologySpreadConstraint|Defines a pod's topology spread constraints.
210-
211-
|dedicatedServiceMonitors|*link:#dedicatedservicemonitors[DedicatedServiceMonitors]|Defines dedicated service monitors.
212-
213-
|===
214-
215167
== KubeStateMetricsConfig
216168

217169
=== Description
@@ -237,16 +189,15 @@ Appears in: link:#clustermonitoringconfiguration[ClusterMonitoringConfiguration]
237189

238190
=== Description
239191

240-
:FeatureName: Metrics Server
241-
include::snippets/technology-preview.adoc[leveloffset=+1]
242-
243-
The `MetricsServerConfig` resource defines settings for the Metrics Server component. Note that this setting only applies when the `TechPreviewNoUpgrade` feature gate is enabled.
192+
The `MetricsServerConfig` resource defines settings for the Metrics Server component.
244193

245194
Appears in: link:#clustermonitoringconfiguration[ClusterMonitoringConfiguration]
246195

247196
[options="header"]
248197
|===
249198
| Property | Type | Description
199+
|audit|*Audit|Defines the audit configuration used by the Metrics Server instance. Possible profile values are `Metadata`, `Request`, `RequestResponse`, and `None`. The default value is `Metadata`.
200+
250201
|nodeSelector|map[string]string|Defines the nodes on which the pods are scheduled.
251202

252203
|tolerations|[]v1.Toleration|Defines tolerations for the pods.
@@ -257,24 +208,6 @@ Appears in: link:#clustermonitoringconfiguration[ClusterMonitoringConfiguration]
257208

258209
|===
259210

260-
== PrometheusOperatorAdmissionWebhookConfig
261-
262-
=== Description
263-
264-
The `PrometheusOperatorAdmissionWebhookConfig` resource defines settings for the admission webhook workload for Prometheus Operator.
265-
266-
Appears in: link:#clustermonitoringconfiguration[ClusterMonitoringConfiguration]
267-
268-
[options="header"]
269-
|===
270-
| Property | Type | Description
271-
272-
|resources|*v1.ResourceRequirements|Defines resource requests and limits for the `prometheus-operator-admission-webhook` container.
273-
274-
|topologySpreadConstraints|[]v1.TopologySpreadConstraint|Defines a pod's topology spread constraints.
275-
276-
|===
277-
278211
== MonitoringPluginConfig
279212

280213
=== Description
@@ -573,6 +506,24 @@ link:#userworkloadconfiguration[UserWorkloadConfiguration]
573506

574507
|===
575508

509+
== PrometheusOperatorAdmissionWebhookConfig
510+
511+
=== Description
512+
513+
The `PrometheusOperatorAdmissionWebhookConfig` resource defines settings for the admission webhook workload for Prometheus Operator.
514+
515+
Appears in: link:#clustermonitoringconfiguration[ClusterMonitoringConfiguration]
516+
517+
[options="header"]
518+
|===
519+
| Property | Type | Description
520+
521+
|resources|*v1.ResourceRequirements|Defines resource requests and limits for the `prometheus-operator-admission-webhook` container.
522+
523+
|topologySpreadConstraints|[]v1.TopologySpreadConstraint|Defines a pod's topology spread constraints.
524+
525+
|===
526+
576527
== PrometheusRestrictedConfig
577528

578529
=== Description

0 commit comments

Comments
 (0)