Skip to content

Commit ae4369d

Browse files
committed
MON-3304: Add option to specify resource limits for all components
Signed-off-by: Pranshu Srivastava <[email protected]>
1 parent 47320d5 commit ae4369d

15 files changed

+287
-106
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
- [#1950](https://github.com/openshift/cluster-monitoring-operator/pull/1950) Disable CORS headers on Thanos querier by default and add a flag to enable them back.
88
- [#1963](https://github.com/openshift/cluster-monitoring-operator/pull/1963) Add nodeExporter settings for network devices list.
99
- [#2049](https://github.com/openshift/cluster-monitoring-operator/pull/2049) Remove Kube*QuotaOvercommit alerts.
10+
- [#2067](https://github.com/openshift/cluster-monitoring-operator/pull/2067) Add options to specify resource requests and limits for all components.
1011

1112
## 4.13
1213

Documentation/api.md

+23
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ Configuring Cluster Monitoring is optional. If the config does not exist or is e
3939
* [NodeExporterConfig](#nodeexporterconfig)
4040
* [OpenShiftStateMetricsConfig](#openshiftstatemetricsconfig)
4141
* [PrometheusK8sConfig](#prometheusk8sconfig)
42+
* [PrometheusOperatorAdmissionWebhookConfig](#prometheusoperatoradmissionwebhookconfig)
4243
* [PrometheusOperatorConfig](#prometheusoperatorconfig)
4344
* [PrometheusRestrictedConfig](#prometheusrestrictedconfig)
4445
* [RemoteWriteSpec](#remotewritespec)
@@ -131,6 +132,7 @@ The `ClusterMonitoringConfiguration` resource defines settings that customize th
131132
| kubeStateMetrics | *[KubeStateMetricsConfig](#kubestatemetricsconfig) | `KubeStateMetricsConfig` defines settings for the `kube-state-metrics` agent. |
132133
| prometheusK8s | *[PrometheusK8sConfig](#prometheusk8sconfig) | `PrometheusK8sConfig` defines settings for the Prometheus component. |
133134
| prometheusOperator | *[PrometheusOperatorConfig](#prometheusoperatorconfig) | `PrometheusOperatorConfig` defines settings for the Prometheus Operator component. |
135+
| prometheusOperatorAdmissionWebhook | *[PrometheusOperatorAdmissionWebhookConfig](#prometheusoperatoradmissionwebhookconfig) | `PrometheusOperatorAdmissionWebhookConfig` defines settings for the Prometheus Operator's admission webhook component. |
134136
| openshiftStateMetrics | *[OpenShiftStateMetricsConfig](#openshiftstatemetricsconfig) | `OpenShiftMetricsConfig` defines settings for the `openshift-state-metrics` agent. |
135137
| telemeterClient | *[TelemeterClientConfig](#telemeterclientconfig) | `TelemeterClientConfig` defines settings for the Telemeter Client component. |
136138
| thanosQuerier | *[ThanosQuerierConfig](#thanosquerierconfig) | `ThanosQuerierConfig` defines settings for the Thanos Querier component. |
@@ -167,6 +169,7 @@ The `K8sPrometheusAdapter` resource defines settings for the Prometheus Adapter
167169
| -------- | ---- | ----------- |
168170
| 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`. |
169171
| nodeSelector | map[string]string | Defines the nodes on which the pods are scheduled. |
172+
| resources | *[v1.ResourceRequirements](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#resourcerequirements-v1-core) | Defines resource requests and limits for the PrometheusAdapter container. |
170173
| tolerations | [][v1.Toleration](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#toleration-v1-core) | Defines tolerations for the pods. |
171174
| topologySpreadConstraints | []v1.TopologySpreadConstraint | Defines a pod's topology spread constraints. |
172175
| dedicatedServiceMonitors | *[DedicatedServiceMonitors](#dedicatedservicemonitors) | Defines dedicated service monitors. |
@@ -185,6 +188,7 @@ The `KubeStateMetricsConfig` resource defines settings for the `kube-state-metri
185188
| Property | Type | Description |
186189
| -------- | ---- | ----------- |
187190
| nodeSelector | map[string]string | Defines the nodes on which the pods are scheduled. |
191+
| resources | *[v1.ResourceRequirements](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#resourcerequirements-v1-core) | Defines resource requests and limits for the KubeStateMetrics container. |
188192
| tolerations | [][v1.Toleration](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#toleration-v1-core) | Defines tolerations for the pods. |
189193
| topologySpreadConstraints | []v1.TopologySpreadConstraint | Defines a pod's topology spread constraints. |
190194

@@ -382,6 +386,7 @@ The `NodeExporterConfig` resource defines settings for the `node-exporter` agent
382386
| collectors | [NodeExporterCollectorConfig](#nodeexportercollectorconfig) | Defines which collectors are enabled and their additional configuration parameters. |
383387
| 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 `4` or to the number of CPUs on the host, whichever is smaller. The default value is computed at runtime and set via the `GOMAXPROCS` environment variable before Node Exporter is launched. If a kernel deadlock occurs or if performance degrades when reading from `sysfs` concurrently, you can change this value to `1`, which limits Node Exporter to running on one CPU. For nodes with a high CPU count, setting the limit to a low number saves resources by preventing Go routines from being scheduled to run on all CPUs. However, I/O performance degrades if the `maxProcs` value is set too low, and there are many metrics to collect. |
384388
| ignoredNetworkDevices | *[]string | A list of network devices, as regular expressions, to be excluded from the relevant collector configuration such as `netdev` and `netclass`. When not set, the Cluster Monitoring Operator uses a predefined list of devices to be excluded to minimize the impact on memory usage. When set as an empty list, no devices are excluded. If you modify this setting, monitor the `prometheus-k8s` deployment closely for excessive memory usage. |
389+
| resources | *[v1.ResourceRequirements](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#resourcerequirements-v1-core) | Defines resource requests and limits for the NodeExporter container. |
385390

386391
[Back to TOC](#table-of-contents)
387392

@@ -397,6 +402,7 @@ The `OpenShiftStateMetricsConfig` resource defines settings for the `openshift-s
397402
| Property | Type | Description |
398403
| -------- | ---- | ----------- |
399404
| nodeSelector | map[string]string | Defines the nodes on which the pods are scheduled. |
405+
| resources | *[v1.ResourceRequirements](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#resourcerequirements-v1-core) | Defines resource requests and limits for the OpenShiftStateMetrics container. |
400406
| tolerations | [][v1.Toleration](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#toleration-v1-core) | Defines tolerations for the pods. |
401407
| topologySpreadConstraints | []v1.TopologySpreadConstraint | Defines a pod's topology spread constraints. |
402408

@@ -430,6 +436,21 @@ The `PrometheusK8sConfig` resource defines settings for the Prometheus component
430436

431437
[Back to TOC](#table-of-contents)
432438

439+
## PrometheusOperatorAdmissionWebhookConfig
440+
441+
#### Description
442+
443+
The `PrometheusOperatorAdmissionWebhookConfig` resource defines settings for the Prometheus Operator's admission webhook workload.
444+
445+
446+
<em>appears in: [ClusterMonitoringConfiguration](#clustermonitoringconfiguration)</em>
447+
448+
| Property | Type | Description |
449+
| -------- | ---- | ----------- |
450+
| resources | *[v1.ResourceRequirements](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#resourcerequirements-v1-core) | Defines resource requests and limits for the prometheus-operator-admission-webhook container. |
451+
452+
[Back to TOC](#table-of-contents)
453+
433454
## PrometheusOperatorConfig
434455

435456
#### Description
@@ -443,6 +464,7 @@ The `PrometheusOperatorConfig` resource defines settings for the Prometheus Oper
443464
| -------- | ---- | ----------- |
444465
| logLevel | string | Defines the log level settings for Prometheus Operator. The possible values are `error`, `warn`, `info`, and `debug`. The default value is `info`. |
445466
| nodeSelector | map[string]string | Defines the nodes on which the pods are scheduled. |
467+
| resources | *[v1.ResourceRequirements](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#resourcerequirements-v1-core) | Defines resource requests and limits for the PrometheusOperator container. |
446468
| tolerations | [][v1.Toleration](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#toleration-v1-core) | Defines tolerations for the pods. |
447469
| topologySpreadConstraints | []v1.TopologySpreadConstraint | Defines a pod's topology spread constraints. |
448470

@@ -545,6 +567,7 @@ The `TLSConfig` resource configures the settings for TLS connections.
545567
| Property | Type | Description |
546568
| -------- | ---- | ----------- |
547569
| nodeSelector | map[string]string | Defines the nodes on which the pods are scheduled. |
570+
| resources | *[v1.ResourceRequirements](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#resourcerequirements-v1-core) | Defines resource requests and limits for the TelemeterClient container. |
548571
| tolerations | [][v1.Toleration](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#toleration-v1-core) | Defines tolerations for the pods. |
549572
| topologySpreadConstraints | []v1.TopologySpreadConstraint | Defines a pod's topology spread constraints. |
550573

Documentation/openshiftdocs/index.adoc

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ The configuration file itself is always defined under the `config.yaml` key in t
5959
* link:modules/nodeexporterconfig.adoc[NodeExporterConfig]
6060
* link:modules/openshiftstatemetricsconfig.adoc[OpenShiftStateMetricsConfig]
6161
* link:modules/prometheusk8sconfig.adoc[PrometheusK8sConfig]
62+
* link:modules/prometheusoperatoradmissionwebhookconfig.adoc[PrometheusOperatorAdmissionWebhookConfig]
6263
* link:modules/prometheusoperatorconfig.adoc[PrometheusOperatorConfig]
6364
* link:modules/prometheusrestrictedconfig.adoc[PrometheusRestrictedConfig]
6465
* link:modules/remotewritespec.adoc[RemoteWriteSpec]

Documentation/openshiftdocs/modules/clustermonitoringconfiguration.adoc

+2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ The `ClusterMonitoringConfiguration` resource defines settings that customize th
2727

2828
|prometheusOperator|*link:prometheusoperatorconfig.adoc[PrometheusOperatorConfig]|`PrometheusOperatorConfig` defines settings for the Prometheus Operator component.
2929

30+
|prometheusOperatorAdmissionWebhook|*link:prometheusoperatoradmissionwebhookconfig.adoc[PrometheusOperatorAdmissionWebhookConfig]|`PrometheusOperatorAdmissionWebhookConfig` defines settings for the Prometheus Operator's admission webhook component.
31+
3032
|openshiftStateMetrics|*link:openshiftstatemetricsconfig.adoc[OpenShiftStateMetricsConfig]|`OpenShiftMetricsConfig` defines settings for the `openshift-state-metrics` agent.
3133

3234
|telemeterClient|*link:telemeterclientconfig.adoc[TelemeterClientConfig]|`TelemeterClientConfig` defines settings for the Telemeter Client component.

Documentation/openshiftdocs/modules/k8sprometheusadapter.adoc

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ Appears in: link:clustermonitoringconfiguration.adoc[ClusterMonitoringConfigurat
2222

2323
|nodeSelector|map[string]string|Defines the nodes on which the pods are scheduled.
2424

25+
|resources|*v1.ResourceRequirements|Defines resource requests and limits for the PrometheusAdapter container.
26+
2527
|tolerations|[]v1.Toleration|Defines tolerations for the pods.
2628

2729
|topologySpreadConstraints|[]v1.TopologySpreadConstraint|Defines a pod's topology spread constraints.

Documentation/openshiftdocs/modules/kubestatemetricsconfig.adoc

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ Appears in: link:clustermonitoringconfiguration.adoc[ClusterMonitoringConfigurat
2020
| Property | Type | Description
2121
|nodeSelector|map[string]string|Defines the nodes on which the pods are scheduled.
2222

23+
|resources|*v1.ResourceRequirements|Defines resource requests and limits for the KubeStateMetrics container.
24+
2325
|tolerations|[]v1.Toleration|Defines tolerations for the pods.
2426

2527
|topologySpreadConstraints|[]v1.TopologySpreadConstraint|Defines a pod's topology spread constraints.

Documentation/openshiftdocs/modules/nodeexporterconfig.adoc

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ Appears in: link:clustermonitoringconfiguration.adoc[ClusterMonitoringConfigurat
2424

2525
|ignoredNetworkDevices|*[]string|A list of network devices, as regular expressions, to be excluded from the relevant collector configuration such as `netdev` and `netclass`. When not set, the Cluster Monitoring Operator uses a predefined list of devices to be excluded to minimize the impact on memory usage. When set as an empty list, no devices are excluded. If you modify this setting, monitor the `prometheus-k8s` deployment closely for excessive memory usage.
2626

27+
|resources|*v1.ResourceRequirements|Defines resource requests and limits for the NodeExporter container.
28+
2729
|===
2830

2931
link:../index.adoc[Back to TOC]

Documentation/openshiftdocs/modules/openshiftstatemetricsconfig.adoc

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ Appears in: link:clustermonitoringconfiguration.adoc[ClusterMonitoringConfigurat
2020
| Property | Type | Description
2121
|nodeSelector|map[string]string|Defines the nodes on which the pods are scheduled.
2222

23+
|resources|*v1.ResourceRequirements|Defines resource requests and limits for the OpenShiftStateMetrics container.
24+
2325
|tolerations|[]v1.Toleration|Defines tolerations for the pods.
2426

2527
|topologySpreadConstraints|[]v1.TopologySpreadConstraint|Defines a pod's topology spread constraints.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// DO NOT EDIT THE CONTENT IN THIS FILE. It is automatically generated from the
2+
// source code for the Cluster Monitoring Operator. Any changes made to this
3+
// file will be overwritten when the content is re-generated. If you wish to
4+
// make edits, read the docgen utility instructions in the source code for the
5+
// CMO.
6+
:_content-type: ASSEMBLY
7+
8+
== PrometheusOperatorAdmissionWebhookConfig
9+
10+
=== Description
11+
12+
The `PrometheusOperatorAdmissionWebhookConfig` resource defines settings for the Prometheus Operator's admission webhook workload.
13+
14+
15+
16+
Appears in: link:clustermonitoringconfiguration.adoc[ClusterMonitoringConfiguration]
17+
18+
[options="header"]
19+
|===
20+
| Property | Type | Description
21+
|resources|*v1.ResourceRequirements|Defines resource requests and limits for the prometheus-operator-admission-webhook container.
22+
23+
|===
24+
25+
link:../index.adoc[Back to TOC]

Documentation/openshiftdocs/modules/prometheusoperatorconfig.adoc

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ link:userworkloadconfiguration.adoc[UserWorkloadConfiguration]
2323

2424
|nodeSelector|map[string]string|Defines the nodes on which the pods are scheduled.
2525

26+
|resources|*v1.ResourceRequirements|Defines resource requests and limits for the PrometheusOperator container.
27+
2628
|tolerations|[]v1.Toleration|Defines tolerations for the pods.
2729

2830
|topologySpreadConstraints|[]v1.TopologySpreadConstraint|Defines a pod's topology spread constraints.

Documentation/openshiftdocs/modules/telemeterclientconfig.adoc

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ Appears in: link:clustermonitoringconfiguration.adoc[ClusterMonitoringConfigurat
2323
| Property | Type | Description
2424
|nodeSelector|map[string]string|Defines the nodes on which the pods are scheduled.
2525

26+
|resources|*v1.ResourceRequirements|Defines resource requests and limits for the TelemeterClient container.
27+
2628
|tolerations|[]v1.Toleration|Defines tolerations for the pods.
2729

2830
|topologySpreadConstraints|[]v1.TopologySpreadConstraint|Defines a pod's topology spread constraints.

pkg/manifests/config.go

+3
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,9 @@ func (c *Config) applyDefaults() {
254254
if c.ClusterMonitoringConfiguration.PrometheusOperatorConfig == nil {
255255
c.ClusterMonitoringConfiguration.PrometheusOperatorConfig = &PrometheusOperatorConfig{}
256256
}
257+
if c.ClusterMonitoringConfiguration.PrometheusOperatorAdmissionWebhookConfig == nil {
258+
c.ClusterMonitoringConfiguration.PrometheusOperatorAdmissionWebhookConfig = &PrometheusOperatorAdmissionWebhookConfig{}
259+
}
257260
if c.ClusterMonitoringConfiguration.PrometheusK8sConfig == nil {
258261
c.ClusterMonitoringConfiguration.PrometheusK8sConfig = &PrometheusK8sConfig{}
259262
}

pkg/manifests/manifests.go

+29
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,9 @@ func (f *Factory) KubeStateMetricsDeployment() (*appsv1.Deployment, error) {
750750
d.Spec.Template.Spec.Containers[i].Args = f.setTLSSecurityConfiguration(container.Args, KubeRbacProxyTLSCipherSuitesFlag, KubeRbacProxyMinTLSVersionFlag)
751751
case "kube-state-metrics":
752752
d.Spec.Template.Spec.Containers[i].Image = f.config.Images.KubeStateMetrics
753+
if f.config.ClusterMonitoringConfiguration.KubeStateMetricsConfig.Resources != nil {
754+
d.Spec.Template.Spec.Containers[i].Resources = *f.config.ClusterMonitoringConfiguration.KubeStateMetricsConfig.Resources
755+
}
753756
}
754757
}
755758

@@ -809,6 +812,9 @@ func (f *Factory) OpenShiftStateMetricsDeployment() (*appsv1.Deployment, error)
809812
d.Spec.Template.Spec.Containers[i].Args = f.setTLSSecurityConfiguration(container.Args, KubeRbacProxyTLSCipherSuitesFlag, KubeRbacProxyMinTLSVersionFlag)
810813
case "openshift-state-metrics":
811814
d.Spec.Template.Spec.Containers[i].Image = f.config.Images.OpenShiftStateMetrics
815+
if f.config.ClusterMonitoringConfiguration.OpenShiftMetricsConfig.Resources != nil {
816+
d.Spec.Template.Spec.Containers[i].Resources = *f.config.ClusterMonitoringConfiguration.OpenShiftMetricsConfig.Resources
817+
}
812818
}
813819
}
814820

@@ -964,6 +970,9 @@ func (f *Factory) NodeExporterDaemonSet() (*appsv1.DaemonSet, error) {
964970
if err != nil {
965971
return nil, err
966972
}
973+
if f.config.ClusterMonitoringConfiguration.NodeExporterConfig.Resources != nil {
974+
ds.Spec.Template.Spec.Containers[i].Resources = *f.config.ClusterMonitoringConfiguration.NodeExporterConfig.Resources
975+
}
967976
case "kube-rbac-proxy":
968977
ds.Spec.Template.Spec.Containers[i].Image = f.config.Images.KubeRbacProxy
969978
ds.Spec.Template.Spec.Containers[i].Args = f.setTLSSecurityConfiguration(container.Args, KubeRbacProxyTLSCipherSuitesFlag, KubeRbacProxyMinTLSVersionFlag)
@@ -2004,6 +2013,10 @@ func (f *Factory) PrometheusAdapterDeployment(apiAuthSecretName string, requesth
20042013
spec.Containers[0].Args = f.setTLSSecurityConfiguration(spec.Containers[0].Args,
20052014
PrometheusAdapterTLSCipherSuitesFlag, PrometheusAdapterTLSMinTLSVersionFlag)
20062015

2016+
if f.config.ClusterMonitoringConfiguration.K8sPrometheusAdapter.Resources != nil {
2017+
spec.Containers[0].Resources = *f.config.ClusterMonitoringConfiguration.K8sPrometheusAdapter.Resources
2018+
}
2019+
20072020
dep.Spec.Template.Spec = spec
20082021

20092022
return dep, nil
@@ -2162,6 +2175,10 @@ func (f *Factory) PrometheusOperatorAdmissionWebhookDeployment() (*appsv1.Deploy
21622175
case "prometheus-operator-admission-webhook":
21632176
d.Spec.Template.Spec.Containers[i].Image = f.config.Images.PrometheusOperatorAdmissionWebhook
21642177

2178+
if f.config.ClusterMonitoringConfiguration.PrometheusOperatorAdmissionWebhookConfig.Resources != nil {
2179+
d.Spec.Template.Spec.Containers[i].Resources = *f.config.ClusterMonitoringConfiguration.PrometheusOperatorAdmissionWebhookConfig.Resources
2180+
}
2181+
21652182
args := d.Spec.Template.Spec.Containers[i].Args
21662183
if f.config.ClusterMonitoringConfiguration.PrometheusOperatorConfig.LogLevel != "" {
21672184
args = append(args, fmt.Sprintf("--log-level=%s", f.config.ClusterMonitoringConfiguration.PrometheusOperatorConfig.LogLevel))
@@ -2213,6 +2230,10 @@ func (f *Factory) PrometheusOperatorDeployment() (*appsv1.Deployment, error) {
22132230
case "prometheus-operator":
22142231
d.Spec.Template.Spec.Containers[i].Image = f.config.Images.PrometheusOperator
22152232

2233+
if f.config.ClusterMonitoringConfiguration.PrometheusOperatorConfig.Resources != nil {
2234+
d.Spec.Template.Spec.Containers[i].Resources = *f.config.ClusterMonitoringConfiguration.PrometheusOperatorConfig.Resources
2235+
}
2236+
22162237
args := d.Spec.Template.Spec.Containers[i].Args
22172238
for i := range args {
22182239
if strings.HasPrefix(args[i], PrometheusConfigReloaderFlag) && f.config.Images.PrometheusConfigReloader != "" {
@@ -2261,6 +2282,10 @@ func (f *Factory) PrometheusOperatorUserWorkloadDeployment() (*appsv1.Deployment
22612282
case "prometheus-operator":
22622283
d.Spec.Template.Spec.Containers[i].Image = f.config.Images.PrometheusOperator
22632284

2285+
if f.config.UserWorkloadConfiguration.PrometheusOperator.Resources != nil {
2286+
d.Spec.Template.Spec.Containers[i].Resources = *f.config.UserWorkloadConfiguration.PrometheusOperator.Resources
2287+
}
2288+
22642289
args := d.Spec.Template.Spec.Containers[i].Args
22652290
for i := range args {
22662291
if strings.HasPrefix(args[i], PrometheusConfigReloaderFlag) {
@@ -2884,6 +2909,10 @@ func (f *Factory) TelemeterClientDeployment(proxyCABundleCM *v1.ConfigMap, s *v1
28842909
case "telemeter-client":
28852910
d.Spec.Template.Spec.Containers[i].Image = f.config.Images.TelemeterClient
28862911

2912+
if f.config.ClusterMonitoringConfiguration.TelemeterClientConfig.Resources != nil {
2913+
d.Spec.Template.Spec.Containers[i].Resources = *f.config.ClusterMonitoringConfiguration.TelemeterClientConfig.Resources
2914+
}
2915+
28872916
if f.config.ClusterMonitoringConfiguration.TelemeterClientConfig.ClusterID != "" {
28882917
setContainerEnvironmentVariable(&d.Spec.Template.Spec.Containers[i], "ID", f.config.ClusterMonitoringConfiguration.TelemeterClientConfig.ClusterID)
28892918
}

0 commit comments

Comments
 (0)