Skip to content

Commit bbdde79

Browse files
committed
Upd: victoria-metrics operator to v0.55.0
Signed-off-by: Andrei Kvapil <[email protected]>
1 parent fa7c98b commit bbdde79

47 files changed

Lines changed: 8358 additions & 9786 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎packages/system/victoria-metrics-operator/charts/prometheus-operator-crds/Chart.lock‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ dependencies:
33
repository: ""
44
version: 0.0.0
55
digest: sha256:aeada3fbffa2565a325406ad014001fd2685f7c0c9cfc1167da4f10c75a1bd65
6-
generated: "2024-10-03T10:30:07.403949316Z"
6+
generated: "2025-03-15T22:08:36.140314181Z"

‎packages/system/victoria-metrics-operator/charts/prometheus-operator-crds/Chart.yaml‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ annotations:
1010
- name: QuentinBisson
1111
1212
apiVersion: v2
13-
appVersion: v0.77.1
13+
appVersion: v0.81.0
1414
dependencies:
1515
- name: crds
1616
repository: ""
@@ -25,14 +25,18 @@ kubeVersion: '>=1.16.0-0'
2525
maintainers:
2626
2727
name: dacamposol
28+
url: https://github.com/dacamposol
2829
2930
name: desaintmartin
31+
url: https://github.com/desaintmartin
3032
3133
name: QuentinBisson
34+
url: https://github.com/QuentinBisson
3235
33-
name: jkroepke
36+
name: Jan-Otto Kröpke
37+
url: https://github.com/jkroepke
3438
name: prometheus-operator-crds
3539
sources:
3640
- https://github.com/prometheus-community/helm-charts
3741
type: application
38-
version: 15.0.0
42+
version: 19.0.0

‎packages/system/victoria-metrics-operator/charts/prometheus-operator-crds/charts/crds/templates/crd-podmonitors.yaml‎

Lines changed: 61 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.77.1/example/prometheus-operator-crd/monitoring.coreos.com_podmonitors.yaml
1+
# https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.81.0/example/prometheus-operator-crd/monitoring.coreos.com_podmonitors.yaml
22
---
33
apiVersion: apiextensions.k8s.io/v1
44
kind: CustomResourceDefinition
@@ -7,8 +7,8 @@ metadata:
77
{{- with .Values.annotations }}
88
{{- toYaml . | nindent 4 }}
99
{{- end }}
10-
controller-gen.kubebuilder.io/version: v0.16.1
11-
operator.prometheus.io/version: 0.77.1
10+
controller-gen.kubebuilder.io/version: v0.17.2
11+
operator.prometheus.io/version: 0.81.0
1212
name: podmonitors.monitoring.coreos.com
1313
spec:
1414
group: monitoring.coreos.com
@@ -81,6 +81,18 @@ spec:
8181
It requires Prometheus >= v2.28.0.
8282
pattern: (^0|([0-9]*[.])?[0-9]+((K|M|G|T|E|P)i?)?B)$
8383
type: string
84+
fallbackScrapeProtocol:
85+
description: |-
86+
The protocol to use if a scrape returns blank, unparseable, or otherwise invalid Content-Type.
87+
88+
It requires Prometheus >= v3.0.0.
89+
enum:
90+
- PrometheusProto
91+
- OpenMetricsText0.0.1
92+
- OpenMetricsText1.0.0
93+
- PrometheusText0.0.4
94+
- PrometheusText1.0.0
95+
type: string
8496
jobLabel:
8597
description: |-
8698
The label to use to retrieve the job name from.
@@ -139,6 +151,23 @@ spec:
139151
type: string
140152
type: array
141153
type: object
154+
nativeHistogramBucketLimit:
155+
description: |-
156+
If there are more than this many buckets in a native histogram,
157+
buckets will be merged to stay within the limit.
158+
It requires Prometheus >= v2.45.0.
159+
format: int64
160+
type: integer
161+
nativeHistogramMinBucketFactor:
162+
anyOf:
163+
- type: integer
164+
- type: string
165+
description: |-
166+
If the growth factor of one bucket to the next is smaller than this,
167+
buckets will be merged to increase the factor sufficiently.
168+
It requires Prometheus >= v2.50.0.
169+
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
170+
x-kubernetes-int-or-string: true
142171
podMetricsEndpoints:
143172
description: Defines how to scrape metrics from the selected pods.
144173
items:
@@ -746,10 +775,16 @@ spec:
746775
type: string
747776
port:
748777
description: |-
749-
Name of the Pod port which this endpoint refers to.
778+
The `Pod` port name which exposes the endpoint.
750779
751-
It takes precedence over `targetPort`.
780+
It takes precedence over the `portNumber` and `targetPort` fields.
752781
type: string
782+
portNumber:
783+
description: The `Pod` port number which exposes the endpoint.
784+
format: int32
785+
maximum: 65535
786+
minimum: 1
787+
type: integer
753788
proxyUrl:
754789
description: |-
755790
`proxyURL` configures the HTTP Proxy URL (e.g.
@@ -868,6 +903,7 @@ spec:
868903
869904
If empty, Prometheus uses the global scrape timeout unless it is less
870905
than the target's scrape interval value in which the latter is used.
906+
The value cannot be greater than the scrape interval otherwise the operator will reject the resource.
871907
pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$
872908
type: string
873909
targetPort:
@@ -878,7 +914,7 @@ spec:
878914
Name or number of the target port of the `Pod` object behind the Service, the
879915
port must be specified with container port property.
880916
881-
Deprecated: use 'port' instead.
917+
Deprecated: use 'port' or 'portNumber' instead.
882918
x-kubernetes-int-or-string: true
883919
tlsConfig:
884920
description: TLS configuration to use when scraping the target.
@@ -1069,6 +1105,11 @@ spec:
10691105
description: The scrape class to apply.
10701106
minLength: 1
10711107
type: string
1108+
scrapeClassicHistograms:
1109+
description: |-
1110+
Whether to scrape a classic histogram that is also exposed as a native histogram.
1111+
It requires Prometheus >= v2.45.0.
1112+
type: boolean
10721113
scrapeProtocols:
10731114
description: |-
10741115
`scrapeProtocols` defines the protocols to negotiate during a scrape. It tells clients the
@@ -1085,11 +1126,13 @@ spec:
10851126
* `OpenMetricsText1.0.0`
10861127
* `PrometheusProto`
10871128
* `PrometheusText0.0.4`
1129+
* `PrometheusText1.0.0`
10881130
enum:
10891131
- PrometheusProto
10901132
- OpenMetricsText0.0.1
10911133
- OpenMetricsText1.0.0
10921134
- PrometheusText0.0.4
1135+
- PrometheusText1.0.0
10931136
type: string
10941137
type: array
10951138
x-kubernetes-list-type: set
@@ -1140,6 +1183,18 @@ spec:
11401183
type: object
11411184
type: object
11421185
x-kubernetes-map-type: atomic
1186+
selectorMechanism:
1187+
description: |-
1188+
Mechanism used to select the endpoints to scrape.
1189+
By default, the selection process relies on relabel configurations to filter the discovered targets.
1190+
Alternatively, you can opt in for role selectors, which may offer better efficiency in large clusters.
1191+
Which strategy is best for your use case needs to be carefully evaluated.
1192+
1193+
It requires Prometheus >= v2.17.0.
1194+
enum:
1195+
- RelabelConfig
1196+
- RoleSelector
1197+
type: string
11431198
targetLimit:
11441199
description: |-
11451200
`targetLimit` defines a limit on the number of scraped targets that will

‎packages/system/victoria-metrics-operator/charts/prometheus-operator-crds/charts/crds/templates/crd-probes.yaml‎

Lines changed: 40 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.77.1/example/prometheus-operator-crd/monitoring.coreos.com_probes.yaml
1+
# https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.81.0/example/prometheus-operator-crd/monitoring.coreos.com_probes.yaml
22
---
33
apiVersion: apiextensions.k8s.io/v1
44
kind: CustomResourceDefinition
@@ -7,8 +7,8 @@ metadata:
77
{{- with .Values.annotations }}
88
{{- toYaml . | nindent 4 }}
99
{{- end }}
10-
controller-gen.kubebuilder.io/version: v0.16.1
11-
operator.prometheus.io/version: 0.77.1
10+
controller-gen.kubebuilder.io/version: v0.17.2
11+
operator.prometheus.io/version: 0.81.0
1212
name: probes.monitoring.coreos.com
1313
spec:
1414
group: monitoring.coreos.com
@@ -177,6 +177,18 @@ spec:
177177
- key
178178
type: object
179179
x-kubernetes-map-type: atomic
180+
fallbackScrapeProtocol:
181+
description: |-
182+
The protocol to use if a scrape returns blank, unparseable, or otherwise invalid Content-Type.
183+
184+
It requires Prometheus >= v3.0.0.
185+
enum:
186+
- PrometheusProto
187+
- OpenMetricsText0.0.1
188+
- OpenMetricsText1.0.0
189+
- PrometheusText0.0.4
190+
- PrometheusText1.0.0
191+
type: string
180192
interval:
181193
description: |-
182194
Interval at which targets are probed using the configured prober.
@@ -304,6 +316,23 @@ spec:
304316
Example module configuring in the blackbox exporter:
305317
https://github.com/prometheus/blackbox_exporter/blob/master/example.yml
306318
type: string
319+
nativeHistogramBucketLimit:
320+
description: |-
321+
If there are more than this many buckets in a native histogram,
322+
buckets will be merged to stay within the limit.
323+
It requires Prometheus >= v2.45.0.
324+
format: int64
325+
type: integer
326+
nativeHistogramMinBucketFactor:
327+
anyOf:
328+
- type: integer
329+
- type: string
330+
description: |-
331+
If the growth factor of one bucket to the next is smaller than this,
332+
buckets will be merged to increase the factor sufficiently.
333+
It requires Prometheus >= v2.50.0.
334+
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
335+
x-kubernetes-int-or-string: true
307336
oauth2:
308337
description: OAuth2 for the URL. Only valid in Prometheus versions
309338
2.27.0 and newer.
@@ -664,6 +693,11 @@ spec:
664693
description: The scrape class to apply.
665694
minLength: 1
666695
type: string
696+
scrapeClassicHistograms:
697+
description: |-
698+
Whether to scrape a classic histogram that is also exposed as a native histogram.
699+
It requires Prometheus >= v2.45.0.
700+
type: boolean
667701
scrapeProtocols:
668702
description: |-
669703
`scrapeProtocols` defines the protocols to negotiate during a scrape. It tells clients the
@@ -680,18 +714,21 @@ spec:
680714
* `OpenMetricsText1.0.0`
681715
* `PrometheusProto`
682716
* `PrometheusText0.0.4`
717+
* `PrometheusText1.0.0`
683718
enum:
684719
- PrometheusProto
685720
- OpenMetricsText0.0.1
686721
- OpenMetricsText1.0.0
687722
- PrometheusText0.0.4
723+
- PrometheusText1.0.0
688724
type: string
689725
type: array
690726
x-kubernetes-list-type: set
691727
scrapeTimeout:
692728
description: |-
693729
Timeout for scraping metrics from the Prometheus exporter.
694730
If not specified, the Prometheus global scrape timeout is used.
731+
The value cannot be greater than the scrape interval otherwise the operator will reject the resource.
695732
pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$
696733
type: string
697734
targetLimit:

‎packages/system/victoria-metrics-operator/charts/prometheus-operator-crds/charts/crds/templates/crd-prometheusrules.yaml‎

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.77.1/example/prometheus-operator-crd/monitoring.coreos.com_prometheusrules.yaml
1+
# https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.81.0/example/prometheus-operator-crd/monitoring.coreos.com_prometheusrules.yaml
22
---
33
apiVersion: apiextensions.k8s.io/v1
44
kind: CustomResourceDefinition
@@ -7,8 +7,8 @@ metadata:
77
{{- with .Values.annotations }}
88
{{- toYaml . | nindent 4 }}
99
{{- end }}
10-
controller-gen.kubebuilder.io/version: v0.16.1
11-
operator.prometheus.io/version: 0.77.1
10+
controller-gen.kubebuilder.io/version: v0.17.2
11+
operator.prometheus.io/version: 0.81.0
1212
name: prometheusrules.monitoring.coreos.com
1313
spec:
1414
group: monitoring.coreos.com
@@ -62,6 +62,16 @@ spec:
6262
are evaluated.
6363
pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$
6464
type: string
65+
labels:
66+
additionalProperties:
67+
type: string
68+
description: |-
69+
Labels to add or overwrite before storing the result for its rules.
70+
The labels defined at the rule level take precedence.
71+
72+
It requires Prometheus >= 3.0.0.
73+
The field is ignored for Thanos Ruler.
74+
type: object
6575
limit:
6676
description: |-
6777
Limit the number of alerts an alerting rule and series a recording
@@ -79,6 +89,14 @@ spec:
7989
More info: https://github.com/thanos-io/thanos/blob/main/docs/components/rule.md#partial-response
8090
pattern: ^(?i)(abort|warn)?$
8191
type: string
92+
query_offset:
93+
description: |-
94+
Defines the offset the rule evaluation timestamp of this particular group by the specified duration into the past.
95+
96+
It requires Prometheus >= v2.53.0.
97+
It is not supported for ThanosRuler.
98+
pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$
99+
type: string
82100
rules:
83101
description: List of alerting and recording rules.
84102
items:

0 commit comments

Comments
 (0)