diff --git a/jsonnet/kube-prometheus/versions.json b/jsonnet/kube-prometheus/versions.json index 5c95bccec3..67765cffaf 100644 --- a/jsonnet/kube-prometheus/versions.json +++ b/jsonnet/kube-prometheus/versions.json @@ -1,7 +1,7 @@ { "alertmanager": "0.27.0", "blackboxExporter": "0.25.0", - "grafana": "11.2.1", + "grafana": "11.2.2", "kubeStateMetrics": "2.13.0", "nodeExporter": "1.8.2", "prometheus": "2.54.1", diff --git a/jsonnetfile.lock.json b/jsonnetfile.lock.json index 6b0458504f..1522285cb8 100644 --- a/jsonnetfile.lock.json +++ b/jsonnetfile.lock.json @@ -18,7 +18,7 @@ "subdir": "contrib/mixin" } }, - "version": "f5acd17796d39af0999fbb23df2e242dbc1b2066", + "version": "d6412f468e11899cbcf2162156848046c99c4328", "sum": "IXI3LQIT9NmTPJAk8WLUJd5+qZfcGpeNCyWIK7oEpws=" }, { @@ -88,7 +88,7 @@ "subdir": "grafana-builder" } }, - "version": "638ce5cdede46cb1a352fd8c9fa01127eb26b088", + "version": "7a817b8440be442cbca39d628844ef1f342143da", "sum": "yxqWcq/N3E/a/XreeU6EuE6X7kYPnG0AspAQFKOjASo=" }, { @@ -98,7 +98,7 @@ "subdir": "mixin-utils" } }, - "version": "638ce5cdede46cb1a352fd8c9fa01127eb26b088", + "version": "7a817b8440be442cbca39d628844ef1f342143da", "sum": "LoYq5QxJmUXEtqkEG8CFUBLBhhzDDaNANHc7Gz36ZdM=" }, { @@ -128,8 +128,8 @@ "subdir": "" } }, - "version": "cb72d737459a655e7575c09f7859815ae3690981", - "sum": "JaPnO5N/KUBgA9v6qE7CYzp8OWDTpzjM0+l/SPqL4m4=" + "version": "6e24b642832c225d0626145f9bc0b634462c6350", + "sum": "CpBuO7uMrDR3PXHdwGMpRgMap0eQy/KKkUspB6QQcVE=" }, { "source": { @@ -158,7 +158,7 @@ "subdir": "jsonnet/mixin" } }, - "version": "d7238551702187164fd65c3de51278d99bf0986f", + "version": "d1fb4196594218b9aea80bfb588881c293fb6e56", "sum": "gi+knjdxs2T715iIQIntrimbHRgHnpM8IFBJDD1gYfs=", "name": "prometheus-operator-mixin" }, @@ -169,8 +169,8 @@ "subdir": "jsonnet/prometheus-operator" } }, - "version": "d7238551702187164fd65c3de51278d99bf0986f", - "sum": "dzBCtpO20E+VN200+vSQBv68kgTdB4oNwi/Padgnrp8=" + "version": "d1fb4196594218b9aea80bfb588881c293fb6e56", + "sum": "IR9P8k3UZdRN5gHlLOyQSloNtbcMokDOmLdHUwi7DbM=" }, { "source": { @@ -200,7 +200,7 @@ "subdir": "documentation/prometheus-mixin" } }, - "version": "90f7832447d2f26c181ad42fef757be68d0cb805", + "version": "b8867f8eada6f604365eb62f416e6d95cd2cb07f", "sum": "dYLcLzGH4yF3qB7OGC/7z4nqeTNjv42L7Q3BENU8XJI=", "name": "prometheus" }, @@ -222,7 +222,7 @@ "subdir": "mixin" } }, - "version": "f265c3b06212ab115b3411df7a875a26aad64d0c", + "version": "d215f5b349588ecfcfc1b1652f85146b0b44f198", "sum": "ieCD4eMgGbOlrI8GmckGPHBGQDcLasE1rULYq56W/bs=", "name": "thanos-mixin" }, diff --git a/manifests/grafana-config.yaml b/manifests/grafana-config.yaml index f9d5907bbf..b605a790aa 100644 --- a/manifests/grafana-config.yaml +++ b/manifests/grafana-config.yaml @@ -5,7 +5,7 @@ metadata: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 11.2.1 + app.kubernetes.io/version: 11.2.2 name: grafana-config namespace: monitoring stringData: diff --git a/manifests/grafana-dashboardDatasources.yaml b/manifests/grafana-dashboardDatasources.yaml index 558ca510e9..22d3f56943 100644 --- a/manifests/grafana-dashboardDatasources.yaml +++ b/manifests/grafana-dashboardDatasources.yaml @@ -5,7 +5,7 @@ metadata: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 11.2.1 + app.kubernetes.io/version: 11.2.2 name: grafana-datasources namespace: monitoring stringData: diff --git a/manifests/grafana-dashboardDefinitions.yaml b/manifests/grafana-dashboardDefinitions.yaml index 9609677b2a..de9667a40f 100644 --- a/manifests/grafana-dashboardDefinitions.yaml +++ b/manifests/grafana-dashboardDefinitions.yaml @@ -600,7 +600,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 11.2.1 + app.kubernetes.io/version: 11.2.2 name: grafana-dashboard-alertmanager-overview namespace: monitoring - apiVersion: v1 @@ -1482,7 +1482,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 11.2.1 + app.kubernetes.io/version: 11.2.2 name: grafana-dashboard-apiserver namespace: monitoring - apiVersion: v1 @@ -2296,7 +2296,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 11.2.1 + app.kubernetes.io/version: 11.2.2 name: grafana-dashboard-cluster-total namespace: monitoring - apiVersion: v1 @@ -2900,7 +2900,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 11.2.1 + app.kubernetes.io/version: 11.2.2 name: grafana-dashboard-controller-manager namespace: monitoring - apiVersion: v1 @@ -3525,7 +3525,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 11.2.1 + app.kubernetes.io/version: 11.2.2 name: grafana-dashboard-grafana-overview namespace: monitoring - apiVersion: v1 @@ -5112,7 +5112,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 11.2.1 + app.kubernetes.io/version: 11.2.2 name: grafana-dashboard-k8s-resources-cluster namespace: monitoring - apiVersion: v1 @@ -5753,7 +5753,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 11.2.1 + app.kubernetes.io/version: 11.2.2 name: grafana-dashboard-k8s-resources-multicluster namespace: monitoring - apiVersion: v1 @@ -6018,7 +6018,7 @@ items: "type": "prometheus", "uid": "${datasource}" }, - "expr": "scalar(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=\"requests.cpu\"})", + "expr": "scalar(max(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=\"requests.cpu\"}))", "legendFormat": "quota - requests" }, { @@ -6026,7 +6026,7 @@ items: "type": "prometheus", "uid": "${datasource}" }, - "expr": "scalar(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=\"limits.cpu\"})", + "expr": "scalar(max(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=\"limits.cpu\"}))", "legendFormat": "quota - limits" } ], @@ -6276,7 +6276,7 @@ items: "type": "prometheus", "uid": "${datasource}" }, - "expr": "scalar(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=\"requests.memory\"})", + "expr": "scalar(max(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=\"requests.memory\"}))", "legendFormat": "quota - requests" }, { @@ -6284,7 +6284,7 @@ items: "type": "prometheus", "uid": "${datasource}" }, - "expr": "scalar(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=\"limits.memory\"})", + "expr": "scalar(max(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=\"limits.memory\"}))", "legendFormat": "quota - limits" } ], @@ -7271,7 +7271,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 11.2.1 + app.kubernetes.io/version: 11.2.2 name: grafana-dashboard-k8s-resources-namespace namespace: monitoring - apiVersion: v1 @@ -7849,7 +7849,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 11.2.1 + app.kubernetes.io/version: 11.2.2 name: grafana-dashboard-k8s-resources-node namespace: monitoring - apiVersion: v1 @@ -9233,7 +9233,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 11.2.1 + app.kubernetes.io/version: 11.2.2 name: grafana-dashboard-k8s-resources-pod namespace: monitoring - apiVersion: v1 @@ -10299,7 +10299,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 11.2.1 + app.kubernetes.io/version: 11.2.2 name: grafana-dashboard-k8s-resources-workload namespace: monitoring - apiVersion: v1 @@ -10424,7 +10424,7 @@ items: "type": "prometheus", "uid": "${datasource}" }, - "expr": "scalar(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=~\"requests.cpu|cpu\"})", + "expr": "scalar(max(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=~\"requests.cpu|cpu\"}))", "legendFormat": "quota - requests" }, { @@ -10432,7 +10432,7 @@ items: "type": "prometheus", "uid": "${datasource}" }, - "expr": "scalar(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=~\"limits.cpu\"})", + "expr": "scalar(max(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=~\"limits.cpu\"}))", "legendFormat": "quota - limits" } ], @@ -10719,7 +10719,7 @@ items: "type": "prometheus", "uid": "${datasource}" }, - "expr": "scalar(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=~\"requests.memory|memory\"})", + "expr": "scalar(max(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=~\"requests.memory|memory\"}))", "legendFormat": "quota - requests" }, { @@ -10727,7 +10727,7 @@ items: "type": "prometheus", "uid": "${datasource}" }, - "expr": "scalar(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=~\"limits.memory\"})", + "expr": "scalar(max(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=~\"limits.memory\"}))", "legendFormat": "quota - limits" } ], @@ -11562,7 +11562,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 11.2.1 + app.kubernetes.io/version: 11.2.2 name: grafana-dashboard-k8s-resources-workloads-namespace namespace: monitoring - apiVersion: v1 @@ -12815,7 +12815,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 11.2.1 + app.kubernetes.io/version: 11.2.2 name: grafana-dashboard-kubelet namespace: monitoring - apiVersion: v1 @@ -13453,7 +13453,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 11.2.1 + app.kubernetes.io/version: 11.2.2 name: grafana-dashboard-namespace-by-pod namespace: monitoring - apiVersion: v1 @@ -14249,7 +14249,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 11.2.1 + app.kubernetes.io/version: 11.2.2 name: grafana-dashboard-namespace-by-workload namespace: monitoring - apiVersion: v1 @@ -15302,7 +15302,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 11.2.1 + app.kubernetes.io/version: 11.2.2 name: grafana-dashboard-node-cluster-rsrc-use namespace: monitoring - apiVersion: v1 @@ -16381,7 +16381,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 11.2.1 + app.kubernetes.io/version: 11.2.2 name: grafana-dashboard-node-rsrc-use namespace: monitoring - apiVersion: v1 @@ -17449,7 +17449,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 11.2.1 + app.kubernetes.io/version: 11.2.2 name: grafana-dashboard-nodes-aix namespace: monitoring - apiVersion: v1 @@ -18538,7 +18538,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 11.2.1 + app.kubernetes.io/version: 11.2.2 name: grafana-dashboard-nodes-darwin namespace: monitoring - apiVersion: v1 @@ -19620,7 +19620,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 11.2.1 + app.kubernetes.io/version: 11.2.2 name: grafana-dashboard-nodes namespace: monitoring - apiVersion: v1 @@ -19942,7 +19942,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 11.2.1 + app.kubernetes.io/version: 11.2.2 name: grafana-dashboard-persistentvolumesusage namespace: monitoring - apiVersion: v1 @@ -20434,7 +20434,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 11.2.1 + app.kubernetes.io/version: 11.2.2 name: grafana-dashboard-pod-total namespace: monitoring - apiVersion: v1 @@ -22093,7 +22093,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 11.2.1 + app.kubernetes.io/version: 11.2.2 name: grafana-dashboard-prometheus-remote-write namespace: monitoring - apiVersion: v1 @@ -23334,7 +23334,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 11.2.1 + app.kubernetes.io/version: 11.2.2 name: grafana-dashboard-prometheus namespace: monitoring - apiVersion: v1 @@ -23989,7 +23989,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 11.2.1 + app.kubernetes.io/version: 11.2.2 name: grafana-dashboard-proxy namespace: monitoring - apiVersion: v1 @@ -24590,7 +24590,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 11.2.1 + app.kubernetes.io/version: 11.2.2 name: grafana-dashboard-scheduler namespace: monitoring - apiVersion: v1 @@ -25172,7 +25172,7 @@ items: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 11.2.1 + app.kubernetes.io/version: 11.2.2 name: grafana-dashboard-workload-total namespace: monitoring kind: ConfigMapList diff --git a/manifests/grafana-dashboardSources.yaml b/manifests/grafana-dashboardSources.yaml index 23fb050b8c..543d2a8d96 100644 --- a/manifests/grafana-dashboardSources.yaml +++ b/manifests/grafana-dashboardSources.yaml @@ -22,6 +22,6 @@ metadata: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 11.2.1 + app.kubernetes.io/version: 11.2.2 name: grafana-dashboards namespace: monitoring diff --git a/manifests/grafana-deployment.yaml b/manifests/grafana-deployment.yaml index 3fa37230b4..deda4f6a66 100644 --- a/manifests/grafana-deployment.yaml +++ b/manifests/grafana-deployment.yaml @@ -5,7 +5,7 @@ metadata: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 11.2.1 + app.kubernetes.io/version: 11.2.2 name: grafana namespace: monitoring spec: @@ -18,19 +18,19 @@ spec: template: metadata: annotations: - checksum/grafana-config: e12dc3d29f03df88bfe8e6fae64e5240 - checksum/grafana-dashboardproviders: e24c700dcef0abdf5b6f31ba292fa62b - checksum/grafana-datasources: 19a115373979a415c1a78985d1ba268b + checksum/grafana-config: 6743592c49c7653c3c9b4c66cb3e3b63 + checksum/grafana-dashboardproviders: be6721fcf6785253cfc67bb834051306 + checksum/grafana-datasources: 0d20a61f267f182e3061895c0deebd9e labels: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 11.2.1 + app.kubernetes.io/version: 11.2.2 spec: automountServiceAccountToken: false containers: - env: [] - image: grafana/grafana:11.2.1 + image: grafana/grafana:11.2.2 name: grafana ports: - containerPort: 3000 diff --git a/manifests/grafana-networkPolicy.yaml b/manifests/grafana-networkPolicy.yaml index 5dcc8da53e..bb2c472e30 100644 --- a/manifests/grafana-networkPolicy.yaml +++ b/manifests/grafana-networkPolicy.yaml @@ -5,7 +5,7 @@ metadata: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 11.2.1 + app.kubernetes.io/version: 11.2.2 name: grafana namespace: monitoring spec: diff --git a/manifests/grafana-prometheusRule.yaml b/manifests/grafana-prometheusRule.yaml index 53f9400f2e..00e41e51fb 100644 --- a/manifests/grafana-prometheusRule.yaml +++ b/manifests/grafana-prometheusRule.yaml @@ -5,7 +5,7 @@ metadata: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 11.2.1 + app.kubernetes.io/version: 11.2.2 prometheus: k8s role: alert-rules name: grafana-rules diff --git a/manifests/grafana-service.yaml b/manifests/grafana-service.yaml index ddf6f94da5..64415b6417 100644 --- a/manifests/grafana-service.yaml +++ b/manifests/grafana-service.yaml @@ -5,7 +5,7 @@ metadata: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 11.2.1 + app.kubernetes.io/version: 11.2.2 name: grafana namespace: monitoring spec: diff --git a/manifests/grafana-serviceAccount.yaml b/manifests/grafana-serviceAccount.yaml index 4723297436..c2bad9d1e4 100644 --- a/manifests/grafana-serviceAccount.yaml +++ b/manifests/grafana-serviceAccount.yaml @@ -6,6 +6,6 @@ metadata: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 11.2.1 + app.kubernetes.io/version: 11.2.2 name: grafana namespace: monitoring diff --git a/manifests/grafana-serviceMonitor.yaml b/manifests/grafana-serviceMonitor.yaml index 1187be8dcd..7cb5700e89 100644 --- a/manifests/grafana-serviceMonitor.yaml +++ b/manifests/grafana-serviceMonitor.yaml @@ -5,7 +5,7 @@ metadata: app.kubernetes.io/component: grafana app.kubernetes.io/name: grafana app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 11.2.1 + app.kubernetes.io/version: 11.2.2 name: grafana namespace: monitoring spec: diff --git a/manifests/setup/0prometheusCustomResourceDefinition.yaml b/manifests/setup/0prometheusCustomResourceDefinition.yaml index 1634023bcc..e23501912e 100644 --- a/manifests/setup/0prometheusCustomResourceDefinition.yaml +++ b/manifests/setup/0prometheusCustomResourceDefinition.yaml @@ -7484,6 +7484,17 @@ spec: type: string type: object type: object + runtime: + description: RuntimeConfig configures the values for the Prometheus process behavior + properties: + goGC: + description: |- + The Go garbage collection target percentage. Lowering this number may increase the CPU usage. + See: https://tip.golang.org/doc/gc-guide#GOGC + format: int32 + minimum: -1 + type: integer + type: object sampleLimit: description: |- SampleLimit defines per-scrape limit on number of scraped samples that will be accepted. diff --git a/manifests/setup/0scrapeconfigCustomResourceDefinition.yaml b/manifests/setup/0scrapeconfigCustomResourceDefinition.yaml index 1d9cd28d20..a348249bca 100644 --- a/manifests/setup/0scrapeconfigCustomResourceDefinition.yaml +++ b/manifests/setup/0scrapeconfigCustomResourceDefinition.yaml @@ -10457,9 +10457,15 @@ spec: targets: description: List of targets for this static configuration. items: - description: Target represents a target for Prometheus to scrape + description: |- + Target represents a target for Prometheus to scrape + kubebuilder:validation:MinLength:=1 type: string + minItems: 1 type: array + x-kubernetes-list-type: set + required: + - targets type: object type: array targetLimit: