Chapter 1. Config map reference for the Cluster Monitoring Operator
You can configure parts of OpenShift Container Platform cluster monitoring. The API is accessible by setting parameters in config maps.
1.1. Cluster Monitoring Operator configuration reference Copy linkLink copied to clipboard!
To customize how OpenShift Container Platform monitors both the platform and user-defined projects, edit the relevant ConfigMap objects that define the cluster and user workload monitoring configurations.
-
To configure default monitoring components, edit the
ConfigMapobject namedcluster-monitoring-configin theopenshift-monitoringnamespace. These configurations are defined by ClusterMonitoringConfiguration. -
To configure monitoring components that monitor user-defined projects, edit the
ConfigMapobject nameduser-workload-monitoring-configin theopenshift-user-workload-monitoringnamespace. These configurations are defined by UserWorkloadConfiguration.
The configuration file is always defined under the config.yaml key in the config map data.
- Not all configuration parameters for the monitoring stack are exposed. Only the parameters and fields listed in this reference are supported for configuration. For more information about supported configurations, see Support for monitoring.
- Configuring cluster monitoring is optional.
- If a configuration does not exist or is empty, default values are used.
-
If the configuration has invalid YAML data, the Cluster Monitoring Operator stops reconciling the resources and reports
Degraded=Truein the status conditions of the Operator.
1.1.1. AdditionalAlertmanagerConfig Copy linkLink copied to clipboard!
- Description
-
The
AdditionalAlertmanagerConfigresource defines settings for how a component communicates with additional Alertmanager instances. - Required
-
apiVersion
-
Appears in: PrometheusK8sConfig, PrometheusRestrictedConfig, ThanosRulerConfig
| Property | Type | Description |
|---|---|---|
| apiVersion | string |
Defines the API version of Alertmanager. Possible values are |
| bearerToken | *v1.SecretKeySelector | Defines the secret key reference containing the bearer token to use when authenticating to Alertmanager. |
| pathPrefix | string | Defines the path prefix to add in front of the push endpoint path. |
| scheme | string |
Defines the URL scheme to use when communicating with Alertmanager instances. Possible values are |
| staticConfigs | []string |
A list of statically configured Alertmanager endpoints in the form of |
| timeout | *string | Defines the timeout value used when sending alerts. |
| tlsConfig | Defines the TLS settings to use for Alertmanager connections. |
1.1.2. AlertmanagerMainConfig Copy linkLink copied to clipboard!
- Description
-
The
AlertmanagerMainConfigresource defines settings for the Alertmanager component in theopenshift-monitoringnamespace.
Appears in: ClusterMonitoringConfiguration
| Property | Type | Description |
|---|---|---|
| enabled | *bool |
A Boolean flag that enables or disables the main Alertmanager instance in the |
| enableUserAlertmanagerConfig | bool |
A Boolean flag that enables or disables user-defined namespaces to be selected for |
| logLevel | string |
Defines the log level setting for Alertmanager. The possible values are: |
| nodeSelector | map[string]string | Defines the nodes on which the Pods are scheduled. |
| resources | *v1.ResourceRequirements | Defines resource requests and limits for the Alertmanager container. |
| secrets | []string |
Defines a list of secrets to be mounted into Alertmanager. The secrets must reside within the same namespace as the Alertmanager object. They are added as volumes named |
| tolerations | []v1.Toleration | Defines tolerations for the pods. |
| topologySpreadConstraints | []v1.TopologySpreadConstraint | Defines a pod’s topology spread constraints. |
| volumeClaimTemplate | *monv1.EmbeddedPersistentVolumeClaim | Defines persistent storage for Alertmanager. Use this setting to configure the persistent volume claim, including storage class, volume size, and name. |
1.1.3. AlertmanagerUserWorkloadConfig Copy linkLink copied to clipboard!
- Description
-
The
AlertmanagerUserWorkloadConfigresource defines the settings for the Alertmanager instance used for user-defined projects.
Appears in: UserWorkloadConfiguration
| Property | Type | Description |
|---|---|---|
| enabled | bool |
A Boolean flag that enables or disables a dedicated instance of Alertmanager for user-defined alerts in the |
| enableAlertmanagerConfig | bool |
A Boolean flag to enable or disable user-defined namespaces to be selected for |
| logLevel | string |
Defines the log level setting for Alertmanager for user workload monitoring. The possible values are |
| resources | *v1.ResourceRequirements | Defines resource requests and limits for the Alertmanager container. |
| secrets | []string |
Defines a list of secrets to be mounted into Alertmanager. The secrets must be located within the same namespace as the Alertmanager object. They are added as volumes named |
| nodeSelector | map[string]string | Defines the nodes on which the pods are scheduled. |
| tolerations | []v1.Toleration | Defines tolerations for the pods. |
| topologySpreadConstraints | []v1.TopologySpreadConstraint | Defines a pod’s topology spread constraints. |
| volumeClaimTemplate | *monv1.EmbeddedPersistentVolumeClaim | Defines persistent storage for Alertmanager. Use this setting to configure the persistent volume claim, including storage class, volume size and name. |
1.1.4. ClusterMonitoringConfiguration Copy linkLink copied to clipboard!
- Description
-
The
ClusterMonitoringConfigurationresource defines settings that customize the default platform monitoring stack through thecluster-monitoring-configconfig map in theopenshift-monitoringnamespace.
| Property | Type | Description |
|---|---|---|
| alertmanagerMain |
| |
| enableUserWorkload | *bool |
|
| kubeStateMetrics |
| |
| metricsServer |
| |
| prometheusK8s |
| |
| prometheusOperator |
| |
| prometheusOperatorAdmissionWebhook |
| |
| openshiftStateMetrics |
| |
| telemeterClient |
| |
| thanosQuerier |
| |
| nodeExporter |
| |
| monitoringPlugin |
|
1.1.5. KubeStateMetricsConfig Copy linkLink copied to clipboard!
- Description
-
The
KubeStateMetricsConfigresource defines settings for thekube-state-metricsagent.
Appears in: ClusterMonitoringConfiguration
| Property | Type | Description |
|---|---|---|
| nodeSelector | map[string]string | Defines the nodes on which the pods are scheduled. |
| resources | *v1.ResourceRequirements |
Defines resource requests and limits for the |
| tolerations | []v1.Toleration | Defines tolerations for the pods. |
| topologySpreadConstraints | []v1.TopologySpreadConstraint | Defines a pod’s topology spread constraints. |
1.1.6. MetricsServerConfig Copy linkLink copied to clipboard!
- Description
-
The
MetricsServerConfigresource defines settings for the Metrics Server component.
Appears in: ClusterMonitoringConfiguration
| Property | Type | Description |
|---|---|---|
| audit | *Audit |
Defines the audit configuration used by the Metrics Server instance. Possible profile values are |
| nodeSelector | map[string]string | Defines the nodes on which the pods are scheduled. |
| tolerations | []v1.Toleration | Defines tolerations for the pods. |
| resources | *v1.ResourceRequirements | Defines resource requests and limits for the Metrics Server container. |
| topologySpreadConstraints | []v1.TopologySpreadConstraint | Defines a pod’s topology spread constraints. |
1.1.7. MonitoringPluginConfig Copy linkLink copied to clipboard!
- Description
-
The
MonitoringPluginConfigresource defines settings for the web console plugin component in theopenshift-monitoringnamespace.
Appears in: ClusterMonitoringConfiguration
| Property | Type | Description |
|---|---|---|
| nodeSelector | map[string]string | Defines the nodes on which the pods are scheduled. |
| resources | *v1.ResourceRequirements |
Defines resource requests and limits for the |
| tolerations | []v1.Toleration | Defines tolerations for the pods. |
| topologySpreadConstraints | []v1.TopologySpreadConstraint | Defines a pod’s topology spread constraints. |
1.1.8. NodeExporterCollectorBuddyInfoConfig Copy linkLink copied to clipboard!
- Description
-
The
NodeExporterCollectorBuddyInfoConfigresource works as an on/off switch for thebuddyinfocollector of thenode-exporteragent. By default, thebuddyinfocollector is disabled.
Appears in: NodeExporterCollectorConfig
| Property | Type | Description |
|---|---|---|
| enabled | bool |
A Boolean flag that enables or disables the |
1.1.9. NodeExporterCollectorConfig Copy linkLink copied to clipboard!
- Description
-
The
NodeExporterCollectorConfigresource defines settings for individual collectors of thenode-exporteragent.
Appears in: NodeExporterConfig
| Property | Type | Description |
|---|---|---|
| cpufreq |
Defines the configuration of the | |
| tcpstat |
Defines the configuration of the | |
| netdev |
Defines the configuration of the | |
| netclass |
Defines the configuration of the | |
| buddyinfo |
Defines the configuration of the | |
| mountstats |
Defines the configuration of the | |
| ksmd |
Defines the configuration of the | |
| processes |
Defines the configuration of the | |
| systemd |
Defines the configuration of the |
1.1.10. NodeExporterCollectorCpufreqConfig Copy linkLink copied to clipboard!
- Description
-
Use the
NodeExporterCollectorCpufreqConfigresource to enable or disable thecpufreqcollector of thenode-exporteragent. By default, thecpufreqcollector is disabled. Under certain circumstances, enabling thecpufreqcollector increases CPU usage on machines with many cores. If you enable this collector and have machines with many cores, monitor your systems closely for excessive CPU usage.
Appears in: NodeExporterCollectorConfig
| Property | Type | Description |
|---|---|---|
| enabled | bool |
A Boolean flag that enables or disables the |
1.1.11. NodeExporterCollectorKSMDConfig Copy linkLink copied to clipboard!
- Description
-
Use the
NodeExporterCollectorKSMDConfigresource to enable or disable theksmdcollector of thenode-exporteragent. By default, theksmdcollector is disabled.
Appears in: NodeExporterCollectorConfig
| Property | Type | Description |
|---|---|---|
| enabled | bool |
A Boolean flag that enables or disables the |
1.1.12. NodeExporterCollectorMountStatsConfig Copy linkLink copied to clipboard!
- Description
-
Use the
NodeExporterCollectorMountStatsConfigresource to enable or disable themountstatscollector of thenode-exporteragent. By default, themountstatscollector is disabled. If you enable the collector, the following metrics become available:node_mountstats_nfs_read_bytes_total,node_mountstats_nfs_write_bytes_total, andnode_mountstats_nfs_operations_requests_total. Be aware that these metrics can have a high cardinality. If you enable this collector, closely monitor any increases in memory usage for theprometheus-k8spods.
Appears in: NodeExporterCollectorConfig
| Property | Type | Description |
|---|---|---|
| enabled | bool |
A Boolean flag that enables or disables the |
1.1.13. NodeExporterCollectorNetClassConfig Copy linkLink copied to clipboard!
- Description
-
Use the
NodeExporterCollectorNetClassConfigresource to enable or disable thenetclasscollector of thenode-exporteragent. By default, thenetclasscollector is enabled. If you disable this collector, these metrics become unavailable:node_network_info,node_network_address_assign_type,node_network_carrier,node_network_carrier_changes_total,node_network_carrier_up_changes_total,node_network_carrier_down_changes_total,node_network_device_id,node_network_dormant,node_network_flags,node_network_iface_id,node_network_iface_link,node_network_iface_link_mode,node_network_mtu_bytes,node_network_name_assign_type,node_network_net_dev_group,node_network_speed_bytes,node_network_transmit_queue_length, andnode_network_protocol_type.
Appears in: NodeExporterCollectorConfig
| Property | Type | Description |
|---|---|---|
| enabled | bool |
A Boolean flag that enables or disables the |
| useNetlink | bool |
A Boolean flag that activates the |
1.1.14. NodeExporterCollectorNetDevConfig Copy linkLink copied to clipboard!
- Description
-
Use the
NodeExporterCollectorNetDevConfigresource to enable or disable thenetdevcollector of thenode-exporteragent. By default, thenetdevcollector is enabled. If disabled, these metrics become unavailable:node_network_receive_bytes_total,node_network_receive_compressed_total,node_network_receive_drop_total,node_network_receive_errs_total,node_network_receive_fifo_total,node_network_receive_frame_total,node_network_receive_multicast_total,node_network_receive_nohandler_total,node_network_receive_packets_total,node_network_transmit_bytes_total,node_network_transmit_carrier_total,node_network_transmit_colls_total,node_network_transmit_compressed_total,node_network_transmit_drop_total,node_network_transmit_errs_total,node_network_transmit_fifo_total, andnode_network_transmit_packets_total.
Appears in: NodeExporterCollectorConfig
| Property | Type | Description |
|---|---|---|
| enabled | bool |
A Boolean flag that enables or disables the |
1.1.15. NodeExporterCollectorProcessesConfig Copy linkLink copied to clipboard!
- Description
-
Use the
NodeExporterCollectorProcessesConfigresource to enable or disable theprocessescollector of thenode-exporteragent. If the collector is enabled, the following metrics become available:node_processes_max_processes,node_processes_pids,node_processes_state,node_processes_threads,node_processes_threads_state. The metricnode_processes_stateandnode_processes_threads_statecan have up to five series each, depending on the state of the processes and threads. The possible states of a process or a thread are:D(UNINTERRUPTABLE_SLEEP),R(RUNNING & RUNNABLE),S(INTERRUPTABLE_SLEEP),T(STOPPED), orZ(ZOMBIE). By default, theprocessescollector is disabled.
Appears in: NodeExporterCollectorConfig
| Property | Type | Description |
|---|---|---|
| enabled | bool |
A Boolean flag that enables or disables the |
1.1.16. NodeExporterCollectorSystemdConfig Copy linkLink copied to clipboard!
- Description
-
Use the
NodeExporterCollectorSystemdConfigresource to enable or disable thesystemdcollector of thenode-exporteragent. By default, thesystemdcollector is disabled. If enabled, the following metrics become available:node_systemd_system_running,node_systemd_units,node_systemd_version. If the unit uses a socket, it also generates the following metrics:node_systemd_socket_accepted_connections_total,node_systemd_socket_current_connections,node_systemd_socket_refused_connections_total. You can use theunitsparameter to select thesystemdunits to be included by thesystemdcollector. The selected units are used to generate thenode_systemd_unit_statemetric, which shows the state of eachsystemdunit. However, this metric’s cardinality might be high (at least five series per unit per node). If you enable this collector with a long list of selected units, closely monitor theprometheus-k8sdeployment for excessive memory usage. Note that thenode_systemd_timer_last_trigger_secondsmetric is only shown if you have configured the value of theunitsparameter aslogrotate.timer.
Appears in: NodeExporterCollectorConfig
| Property | Type | Description |
|---|---|---|
| enabled | bool |
A Boolean flag that enables or disables the |
| units | []string |
A list of regular expression (regex) patterns that match systemd units to be included by the |
1.1.17. NodeExporterCollectorTcpStatConfig Copy linkLink copied to clipboard!
- Description
-
The
NodeExporterCollectorTcpStatConfigresource works as an on/off switch for thetcpstatcollector of thenode-exporteragent. By default, thetcpstatcollector is disabled.
Appears in: NodeExporterCollectorConfig
| Property | Type | Description |
|---|---|---|
| enabled | bool |
A Boolean flag that enables or disables the |
1.1.18. NodeExporterConfig Copy linkLink copied to clipboard!
- Description
-
The
NodeExporterConfigresource defines settings for thenode-exporteragent.
Appears in: ClusterMonitoringConfiguration
| Property | Type | Description |
|---|---|---|
| collectors | Defines which collectors are enabled and their additional configuration parameters. | |
| maxProcs | uint32 |
The target number of CPUs on which the node-exporter’s process will run. Use this setting to override the default value, which is set either to |
| ignoredNetworkDevices | *[]string |
A list of network devices, defined as regular expressions, that you want to exclude from the relevant collector configuration such as |
| resources | *v1.ResourceRequirements |
Defines resource requests and limits for the |
1.1.19. OpenShiftStateMetricsConfig Copy linkLink copied to clipboard!
- Description
-
The
OpenShiftStateMetricsConfigresource defines settings for theopenshift-state-metricsagent.
Appears in: ClusterMonitoringConfiguration
| Property | Type | Description |
|---|---|---|
| nodeSelector | map[string]string | Defines the nodes on which the pods are scheduled. |
| resources | *v1.ResourceRequirements |
Defines resource requests and limits for the |
| tolerations | []v1.Toleration | Defines tolerations for the pods. |
| topologySpreadConstraints | []v1.TopologySpreadConstraint | Defines the pod’s topology spread constraints. |
1.1.20. PrometheusK8sConfig Copy linkLink copied to clipboard!
- Description
-
The
PrometheusK8sConfigresource defines settings for the Prometheus component.
Appears in: ClusterMonitoringConfiguration
| Property | Type | Description |
|---|---|---|
| additionalAlertmanagerConfigs | Configures additional Alertmanager instances that receive alerts from the Prometheus component. By default, no additional Alertmanager instances are configured. | |
| enforcedBodySizeLimit | string |
Enforces a body size limit for Prometheus scraped metrics. If a scraped target’s body response is larger than the limit, the scrape will fail. The following values are valid: an empty value to specify no limit, a numeric value in Prometheus size format (such as |
| externalLabels | map[string]string | Defines labels to be added to any time series or alerts when communicating with external systems such as federation, remote storage, and Alertmanager. By default, no labels are added. |
| logLevel | string |
Defines the log level setting for Prometheus. The possible values are: |
| nodeSelector | map[string]string | Defines the nodes on which the pods are scheduled. |
| queryLogFile | string |
Specifies the file to which PromQL queries are logged. This setting can be either a filename, in which case the queries are saved to an |
| remoteWrite | Defines the remote write configuration, including URL, authentication, and relabeling settings. | |
| resources | *v1.ResourceRequirements |
Defines resource requests and limits for the |
| retention | string |
Defines the duration for which Prometheus retains data. This definition must be specified using the following regular expression pattern: |
| retentionSize | string |
Defines the maximum amount of disk space used by data blocks plus the write-ahead log (WAL). Supported values are |
| tolerations | []v1.Toleration | Defines tolerations for the pods. |
| topologySpreadConstraints | []v1.TopologySpreadConstraint | Defines the pod’s topology spread constraints. |
| collectionProfile | CollectionProfile |
Defines the metrics collection profile that Prometheus uses to collect metrics from the platform components. Supported values are |
| volumeClaimTemplate | *monv1.EmbeddedPersistentVolumeClaim | Defines persistent storage for Prometheus. Use this setting to configure the persistent volume claim, including storage class, volume size and name. |
1.1.21. PrometheusOperatorConfig Copy linkLink copied to clipboard!
- Description
-
The
PrometheusOperatorConfigresource defines settings for the Prometheus Operator component.
Appears in: ClusterMonitoringConfiguration, UserWorkloadConfiguration
| Property | Type | Description |
|---|---|---|
| logLevel | string |
Defines the log level settings for Prometheus Operator. The possible values are |
| nodeSelector | map[string]string | Defines the nodes on which the pods are scheduled. |
| resources | *v1.ResourceRequirements |
Defines resource requests and limits for the |
| tolerations | []v1.Toleration | Defines tolerations for the pods. |
| topologySpreadConstraints | []v1.TopologySpreadConstraint | Defines the pod’s topology spread constraints. |
1.1.22. PrometheusOperatorAdmissionWebhookConfig Copy linkLink copied to clipboard!
- Description
-
The
PrometheusOperatorAdmissionWebhookConfigresource defines settings for the admission webhook workload for Prometheus Operator.
Appears in: ClusterMonitoringConfiguration
| Property | Type | Description |
|---|---|---|
| resources | *v1.ResourceRequirements |
Defines resource requests and limits for the |
| topologySpreadConstraints | []v1.TopologySpreadConstraint | Defines a pod’s topology spread constraints. |
1.1.23. PrometheusRestrictedConfig Copy linkLink copied to clipboard!
- Description
-
The
PrometheusRestrictedConfigresource defines the settings for the Prometheus component that monitors user-defined projects.
Appears in: UserWorkloadConfiguration
| Property | Type | Description |
|---|---|---|
| additionalAlertmanagerConfigs | Configures additional Alertmanager instances that receive alerts from the Prometheus component. By default, no additional Alertmanager instances are configured. | |
| enforcedLabelLimit | *uint64 |
Specifies a per-scrape limit on the number of labels accepted for a sample. If the number of labels exceeds this limit after metric relabeling, the entire scrape is treated as failed. The default value is |
| enforcedLabelNameLengthLimit | *uint64 |
Specifies a per-scrape limit on the length of a label name for a sample. If the length of a label name exceeds this limit after metric relabeling, the entire scrape is treated as failed. The default value is |
| enforcedLabelValueLengthLimit | *uint64 |
Specifies a per-scrape limit on the length of a label value for a sample. If the length of a label value exceeds this limit after metric relabeling, the entire scrape is treated as failed. The default value is |
| enforcedSampleLimit | *uint64 |
Specifies a global limit on the number of scraped samples that will be accepted. This setting overrides the |
| enforcedTargetLimit | *uint64 |
Specifies a global limit on the number of scraped targets. This setting overrides the |
| externalLabels | map[string]string | Defines labels to be added to any time series or alerts when communicating with external systems such as federation, remote storage, and Alertmanager. By default, no labels are added. |
| logLevel | string |
Defines the log level setting for Prometheus. The possible values are |
| nodeSelector | map[string]string | Defines the nodes on which the pods are scheduled. |
| queryLogFile | string |
Specifies the file to which PromQL queries are logged. This setting can be either a filename, in which case the queries are saved to an |
| remoteWrite | Defines the remote write configuration, including URL, authentication, and relabeling settings. | |
| resources | *v1.ResourceRequirements | Defines resource requests and limits for the Prometheus container. |
| retention | string |
Defines the duration for which Prometheus retains data. This definition must be specified using the following regular expression pattern: |
| retentionSize | string |
Defines the maximum amount of disk space used by data blocks plus the write-ahead log (WAL). Supported values are |
| tolerations | []v1.Toleration | Defines tolerations for the pods. |
| topologySpreadConstraints | []v1.TopologySpreadConstraint | Defines the pod’s topology spread constraints. |
| volumeClaimTemplate | *monv1.EmbeddedPersistentVolumeClaim | Defines persistent storage for Prometheus. Use this setting to configure the storage class and size of a volume. |
1.1.24. RemoteWriteSpec Copy linkLink copied to clipboard!
- Description
-
The
RemoteWriteSpecresource defines the settings for remote write storage. - Required
-
url
-
Appears in: PrometheusK8sConfig, PrometheusRestrictedConfig
| Property | Type | Description |
|---|---|---|
| authorization | *monv1.SafeAuthorization | Defines the authorization settings for remote write storage. |
| basicAuth | *monv1.BasicAuth | Defines Basic authentication settings for the remote write endpoint URL. |
| bearerTokenFile | string | Defines the file that contains the bearer token for the remote write endpoint. However, because you cannot mount secrets in a pod, in practice you can only reference the token of the service account. |
| headers | map[string]string | Specifies the custom HTTP headers to be sent along with each remote write request. Headers set by Prometheus cannot be overwritten. |
| metadataConfig | *monv1.MetadataConfig | Defines settings for sending series metadata to remote write storage. |
| name | string | Defines the name of the remote write queue. This name is used in metrics and logging to differentiate queues. If specified, this name must be unique. |
| oauth2 | *monv1.OAuth2 | Defines OAuth2 authentication settings for the remote write endpoint. |
| proxyUrl | string | Defines an optional proxy URL. It is superseded by the cluster-wide proxy, if enabled. |
| queueConfig | *monv1.QueueConfig | Allows tuning configuration for remote write queue parameters. |
| remoteTimeout | string | Defines the timeout value for requests to the remote write endpoint. |
| sendExemplars | *bool | Enables sending exemplars via remote write. When enabled, this setting configures Prometheus to store a maximum of 100,000 exemplars in memory. This setting only applies to user-defined monitoring and is not applicable to core platform monitoring. |
| sigv4 | *monv1.Sigv4 | Defines AWS Signature Version 4 authentication settings. |
| tlsConfig | *monv1.SafeTLSConfig | Defines TLS authentication settings for the remote write endpoint. |
| url | string | Defines the URL of the remote write endpoint to which samples will be sent. |
| writeRelabelConfigs | []monv1.RelabelConfig | Defines the list of remote write relabel configurations. |
1.1.25. TLSConfig Copy linkLink copied to clipboard!
- Description
-
The
TLSConfigresource configures the settings for TLS connections. - Required
-
insecureSkipVerify
-
Appears in: AdditionalAlertmanagerConfig
| Property | Type | Description |
|---|---|---|
| ca | *v1.SecretKeySelector | Defines the secret key reference containing the Certificate Authority (CA) to use for the remote host. |
| cert | *v1.SecretKeySelector | Defines the secret key reference containing the public certificate to use for the remote host. |
| key | *v1.SecretKeySelector | Defines the secret key reference containing the private key to use for the remote host. |
| serverName | string | Used to verify the hostname on the returned certificate. |
| insecureSkipVerify | bool |
When set to |
1.1.26. TelemeterClientConfig Copy linkLink copied to clipboard!
- Description
-
TelemeterClientConfigdefines settings for the Telemeter Client component. - Required
-
nodeSelector -
tolerations
-
Appears in: ClusterMonitoringConfiguration
| Property | Type | Description |
|---|---|---|
| nodeSelector | map[string]string | Defines the nodes on which the pods are scheduled. |
| resources | *v1.ResourceRequirements |
Defines resource requests and limits for the |
| tolerations | []v1.Toleration | Defines tolerations for the pods. |
| topologySpreadConstraints | []v1.TopologySpreadConstraint | Defines the pod’s topology spread constraints. |
1.1.27. ThanosQuerierConfig Copy linkLink copied to clipboard!
- Description
-
The
ThanosQuerierConfigresource defines settings for the Thanos Querier component.
Appears in: ClusterMonitoringConfiguration
| Property | Type | Description |
|---|---|---|
| enableRequestLogging | bool |
A Boolean flag that enables or disables request logging. The default value is |
| logLevel | string |
Defines the log level setting for Thanos Querier. The possible values are |
| enableCORS | bool |
A Boolean flag that enables setting CORS headers. The headers allow access from any origin. The default value is |
| nodeSelector | map[string]string | Defines the nodes on which the pods are scheduled. |
| resources | *v1.ResourceRequirements | Defines resource requests and limits for the Thanos Querier container. |
| tolerations | []v1.Toleration | Defines tolerations for the pods. |
| topologySpreadConstraints | []v1.TopologySpreadConstraint | Defines the pod’s topology spread constraints. |
1.1.28. ThanosRulerConfig Copy linkLink copied to clipboard!
- Description
-
The
ThanosRulerConfigresource defines configuration for the Thanos Ruler instance for user-defined projects.
Appears in: UserWorkloadConfiguration
| Property | Type | Description |
|---|---|---|
| additionalAlertmanagerConfigs |
Configures how the Thanos Ruler component communicates with additional Alertmanager instances. The default value is | |
| logLevel | string |
Defines the log level setting for Thanos Ruler. The possible values are |
| nodeSelector | map[string]string | Defines the nodes on which the Pods are scheduled. |
| resources | *v1.ResourceRequirements | Defines resource requests and limits for the Thanos Ruler container. |
| retention | string |
Defines the duration for which Prometheus retains data. This definition must be specified using the following regular expression pattern: |
| tolerations | []v1.Toleration | Defines tolerations for the pods. |
| topologySpreadConstraints | []v1.TopologySpreadConstraint | Defines the pod’s topology spread constraints. |
| volumeClaimTemplate | *monv1.EmbeddedPersistentVolumeClaim | Defines persistent storage for Thanos Ruler. Use this setting to configure the storage class and size of a volume. |
1.1.29. UserWorkloadConfiguration Copy linkLink copied to clipboard!
- Description
-
The
UserWorkloadConfigurationresource defines the settings responsible for user-defined projects in theuser-workload-monitoring-configconfig map in theopenshift-user-workload-monitoringnamespace. You can only enableUserWorkloadConfigurationafter you have setenableUserWorkloadtotruein thecluster-monitoring-configconfig map under theopenshift-monitoringnamespace.
| Property | Type | Description |
|---|---|---|
| alertmanager | Defines the settings for the Alertmanager component in user workload monitoring. | |
| prometheus | Defines the settings for the Prometheus component in user workload monitoring. | |
| prometheusOperator | Defines the settings for the Prometheus Operator component in user workload monitoring. | |
| thanosRuler | Defines the settings for the Thanos Ruler component in user workload monitoring. |