You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|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.
|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.
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.
|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
+
250
201
|nodeSelector|map[string]string|Defines the nodes on which the pods are scheduled.
251
202
252
203
|tolerations|[]v1.Toleration|Defines tolerations for the pods.
0 commit comments