Skip to content

Commit 288bcff

Browse files
committed
Run hack/config/monitoring/update.sh
1 parent 838bd62 commit 288bcff

File tree

69 files changed

+19464
-15105
lines changed

Some content is hidden

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

69 files changed

+19464
-15105
lines changed

hack/config/monitoring/crds/0alertmanagerConfigCustomResourceDefinition.yaml

Lines changed: 1472 additions & 779 deletions
Large diffs are not rendered by default.

hack/config/monitoring/crds/0alertmanagerCustomResourceDefinition.yaml

Lines changed: 1036 additions & 327 deletions
Large diffs are not rendered by default.

hack/config/monitoring/crds/0podmonitorCustomResourceDefinition.yaml

Lines changed: 74 additions & 108 deletions
Large diffs are not rendered by default.

hack/config/monitoring/crds/0probeCustomResourceDefinition.yaml

Lines changed: 53 additions & 87 deletions
Large diffs are not rendered by default.

hack/config/monitoring/crds/0prometheusCustomResourceDefinition.yaml

Lines changed: 771 additions & 682 deletions
Large diffs are not rendered by default.

hack/config/monitoring/crds/0prometheusagentCustomResourceDefinition.yaml

Lines changed: 661 additions & 485 deletions
Large diffs are not rendered by default.

hack/config/monitoring/crds/0prometheusruleCustomResourceDefinition.yaml

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: apiextensions.k8s.io/v1
22
kind: CustomResourceDefinition
33
metadata:
44
annotations:
5-
controller-gen.kubebuilder.io/version: v0.15.0
6-
operator.prometheus.io/version: 0.76.2
5+
controller-gen.kubebuilder.io/version: v0.18.0
6+
operator.prometheus.io/version: 0.83.0
77
name: prometheusrules.monitoring.coreos.com
88
spec:
99
group: monitoring.coreos.com
@@ -24,7 +24,6 @@ spec:
2424
description: |-
2525
The `PrometheusRule` custom resource definition (CRD) defines [alerting](https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/) and [recording](https://prometheus.io/docs/prometheus/latest/configuration/recording_rules/) rules to be evaluated by `Prometheus` or `ThanosRuler` objects.
2626
27-
2827
`Prometheus` and `ThanosRuler` objects select `PrometheusRule` objects using label and namespace selectors.
2928
properties:
3029
apiVersion:
@@ -56,6 +55,16 @@ spec:
5655
description: Interval determines how often rules in the group are evaluated.
5756
pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$
5857
type: string
58+
labels:
59+
additionalProperties:
60+
type: string
61+
description: |-
62+
Labels to add or overwrite before storing the result for its rules.
63+
The labels defined at the rule level take precedence.
64+
65+
It requires Prometheus >= 3.0.0.
66+
The field is ignored for Thanos Ruler.
67+
type: object
5968
limit:
6069
description: |-
6170
Limit the number of alerts an alerting rule and series a recording
@@ -73,6 +82,14 @@ spec:
7382
More info: https://github.com/thanos-io/thanos/blob/main/docs/components/rule.md#partial-response
7483
pattern: ^(?i)(abort|warn)?$
7584
type: string
85+
query_offset:
86+
description: |-
87+
Defines the offset the rule evaluation timestamp of this particular group by the specified duration into the past.
88+
89+
It requires Prometheus >= v2.53.0.
90+
It is not supported for ThanosRuler.
91+
pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$
92+
type: string
7693
rules:
7794
description: List of alerting and recording rules.
7895
items:

hack/config/monitoring/crds/0scrapeconfigCustomResourceDefinition.yaml

Lines changed: 2813 additions & 1821 deletions
Large diffs are not rendered by default.

hack/config/monitoring/crds/0servicemonitorCustomResourceDefinition.yaml

Lines changed: 65 additions & 105 deletions
Large diffs are not rendered by default.

hack/config/monitoring/crds/0thanosrulerCustomResourceDefinition.yaml

Lines changed: 1594 additions & 386 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)