[bot] [main] Automated version update

This commit is contained in:
Prometheus Operator Bot
2022-03-28 07:41:44 +00:00
parent 64b19b69d5
commit c30d8c1ef6
26 changed files with 249 additions and 160 deletions

View File

@@ -1,12 +1,12 @@
{ {
"alertmanager": "0.23.0", "alertmanager": "0.24.0",
"blackboxExporter": "0.20.0", "blackboxExporter": "0.20.0",
"grafana": "8.4.4", "grafana": "8.4.4",
"kubeStateMetrics": "2.4.2", "kubeStateMetrics": "2.4.2",
"nodeExporter": "1.3.1", "nodeExporter": "1.3.1",
"prometheus": "2.34.0", "prometheus": "2.34.0",
"prometheusAdapter": "0.9.1", "prometheusAdapter": "0.9.1",
"prometheusOperator": "0.55.0", "prometheusOperator": "0.55.1",
"kubeRbacProxy": "0.11.0", "kubeRbacProxy": "0.11.0",
"configmapReload": "0.5.0" "configmapReload": "0.5.0"
} }

View File

@@ -18,7 +18,7 @@
"subdir": "contrib/mixin" "subdir": "contrib/mixin"
} }
}, },
"version": "4787e71921f16af641c34e1f1c7a4dd94d6d8b0e", "version": "be2929568f81080b20ef6812992f2e09c8dac91b",
"sum": "zhLYhUNcXNkMRfJhMUX0UiOpi8TOuLmUqJfO9NFKFkg=" "sum": "zhLYhUNcXNkMRfJhMUX0UiOpi8TOuLmUqJfO9NFKFkg="
}, },
{ {
@@ -28,7 +28,7 @@
"subdir": "grafana-mixin" "subdir": "grafana-mixin"
} }
}, },
"version": "bb8304c83896fe2fab58e29399a5d3f3aa171c19", "version": "8c622c1ef626a6982e0a6353877dd02313988010",
"sum": "MkjR7zCgq6MUZgjDzop574tFKoTX2OBr7DTwm1K+Ofs=" "sum": "MkjR7zCgq6MUZgjDzop574tFKoTX2OBr7DTwm1K+Ofs="
}, },
{ {
@@ -58,8 +58,8 @@
"subdir": "" "subdir": ""
} }
}, },
"version": "0f0f3dc472ff2a8cdc6a6c6f938a2c450cb493ec", "version": "a2196d1b3493c15117550df2fd35dbdf54e4fa0e",
"sum": "fMsMbtYIlyPhV5lr9KluAJmiJJEjnPirh1FveQzyDaA=" "sum": "QW/hop00uVdVHZ0ay2Ceogrra7qfBCvGqtuyYaoxHXY="
}, },
{ {
"source": { "source": {
@@ -68,7 +68,7 @@
"subdir": "lib/promgrafonnet" "subdir": "lib/promgrafonnet"
} }
}, },
"version": "0f0f3dc472ff2a8cdc6a6c6f938a2c450cb493ec", "version": "a2196d1b3493c15117550df2fd35dbdf54e4fa0e",
"sum": "zv7hXGui6BfHzE9wPatHI/AGZa4A2WKo6pq7ZdqBsps=" "sum": "zv7hXGui6BfHzE9wPatHI/AGZa4A2WKo6pq7ZdqBsps="
}, },
{ {
@@ -98,8 +98,8 @@
"subdir": "jsonnet/mixin" "subdir": "jsonnet/mixin"
} }
}, },
"version": "f49dc4bb80e33f0044df4915ab4e844feb30c02e", "version": "90e243ea91e4f332d517b0a2c190df9d5c3026a9",
"sum": "qZ4WgiweaE6eeKtFK60QUjLO8sf2L9Q8fgafWvDcyfY=", "sum": "joc3gM74r0q658bmpfTbeAr0Nce4gTBv0rf3I+2J0rQ=",
"name": "prometheus-operator-mixin" "name": "prometheus-operator-mixin"
}, },
{ {
@@ -109,8 +109,8 @@
"subdir": "jsonnet/prometheus-operator" "subdir": "jsonnet/prometheus-operator"
} }
}, },
"version": "f49dc4bb80e33f0044df4915ab4e844feb30c02e", "version": "90e243ea91e4f332d517b0a2c190df9d5c3026a9",
"sum": "qgFgLS7/YpM5KNHoq/8eSDPg4vrCts9lI6ImGWORlEg=" "sum": "SmdmXrgVBxc68tkc827FD2ozO4JRwvJCEVYLgKTYWwk="
}, },
{ {
"source": { "source": {
@@ -119,7 +119,7 @@
"subdir": "doc/alertmanager-mixin" "subdir": "doc/alertmanager-mixin"
} }
}, },
"version": "dd63d04a579fe8540a0c1eda4a75bbb134f50672", "version": "a6d10bd5bc3f651e0ca04d47b981ed66e85a09a6",
"sum": "iqF63VWQovIGBb7JI5oVVgMShz0dKptSzEVQQjsy+Jo=", "sum": "iqF63VWQovIGBb7JI5oVVgMShz0dKptSzEVQQjsy+Jo=",
"name": "alertmanager" "name": "alertmanager"
}, },
@@ -130,7 +130,7 @@
"subdir": "docs/node-mixin" "subdir": "docs/node-mixin"
} }
}, },
"version": "4917e1a451b07624511c83579855f98124ff1a84", "version": "9aae303a46c3153b75e4d32b0936b40e4ee0beeb",
"sum": "/SFdKggqBEmznyeGfpyEZl4rC69mMtLGEB9lG1mQhVA=" "sum": "/SFdKggqBEmznyeGfpyEZl4rC69mMtLGEB9lG1mQhVA="
}, },
{ {
@@ -140,8 +140,8 @@
"subdir": "documentation/prometheus-mixin" "subdir": "documentation/prometheus-mixin"
} }
}, },
"version": "c901ebaf8dd1273de415f8a32617d708c4256683", "version": "c7be45d957dd90e605738d8b74482e7579da0db0",
"sum": "ZjQoYhvgKwJNkg+h+m9lW3SYjnjv5Yx5btEipLhru88=", "sum": "7mS7v4Tt0wypJhUrjbHNbSe5maAToU5qHFD8LsLs+jM=",
"name": "prometheus" "name": "prometheus"
}, },
{ {
@@ -151,7 +151,7 @@
"subdir": "mixin" "subdir": "mixin"
} }
}, },
"version": "149e0264e181ac1899a0409a7d50d78c245c18b7", "version": "f0e673a2e4860d8cffafba4c97955171e5c6cb2b",
"sum": "dBm9ML50quhu6dwTIgfNmVruMqfaUeQVCO/6EKtQLxE=", "sum": "dBm9ML50quhu6dwTIgfNmVruMqfaUeQVCO/6EKtQLxE=",
"name": "thanos-mixin" "name": "thanos-mixin"
}, },

View File

@@ -6,11 +6,11 @@ metadata:
app.kubernetes.io/instance: main app.kubernetes.io/instance: main
app.kubernetes.io/name: alertmanager app.kubernetes.io/name: alertmanager
app.kubernetes.io/part-of: kube-prometheus app.kubernetes.io/part-of: kube-prometheus
app.kubernetes.io/version: 0.23.0 app.kubernetes.io/version: 0.24.0
name: main name: main
namespace: monitoring namespace: monitoring
spec: spec:
image: quay.io/prometheus/alertmanager:v0.23.0 image: quay.io/prometheus/alertmanager:v0.24.0
nodeSelector: nodeSelector:
kubernetes.io/os: linux kubernetes.io/os: linux
podMetadata: podMetadata:
@@ -19,7 +19,7 @@ spec:
app.kubernetes.io/instance: main app.kubernetes.io/instance: main
app.kubernetes.io/name: alertmanager app.kubernetes.io/name: alertmanager
app.kubernetes.io/part-of: kube-prometheus app.kubernetes.io/part-of: kube-prometheus
app.kubernetes.io/version: 0.23.0 app.kubernetes.io/version: 0.24.0
replicas: 3 replicas: 3
resources: resources:
limits: limits:
@@ -33,4 +33,4 @@ spec:
runAsNonRoot: true runAsNonRoot: true
runAsUser: 1000 runAsUser: 1000
serviceAccountName: alertmanager-main serviceAccountName: alertmanager-main
version: 0.23.0 version: 0.24.0

View File

@@ -6,7 +6,7 @@ metadata:
app.kubernetes.io/instance: main app.kubernetes.io/instance: main
app.kubernetes.io/name: alertmanager app.kubernetes.io/name: alertmanager
app.kubernetes.io/part-of: kube-prometheus app.kubernetes.io/part-of: kube-prometheus
app.kubernetes.io/version: 0.23.0 app.kubernetes.io/version: 0.24.0
name: alertmanager-main name: alertmanager-main
namespace: monitoring namespace: monitoring
spec: spec:

View File

@@ -6,7 +6,7 @@ metadata:
app.kubernetes.io/instance: main app.kubernetes.io/instance: main
app.kubernetes.io/name: alertmanager app.kubernetes.io/name: alertmanager
app.kubernetes.io/part-of: kube-prometheus app.kubernetes.io/part-of: kube-prometheus
app.kubernetes.io/version: 0.23.0 app.kubernetes.io/version: 0.24.0
prometheus: k8s prometheus: k8s
role: alert-rules role: alert-rules
name: alertmanager-main-rules name: alertmanager-main-rules

View File

@@ -6,7 +6,7 @@ metadata:
app.kubernetes.io/instance: main app.kubernetes.io/instance: main
app.kubernetes.io/name: alertmanager app.kubernetes.io/name: alertmanager
app.kubernetes.io/part-of: kube-prometheus app.kubernetes.io/part-of: kube-prometheus
app.kubernetes.io/version: 0.23.0 app.kubernetes.io/version: 0.24.0
name: alertmanager-main name: alertmanager-main
namespace: monitoring namespace: monitoring
stringData: stringData:

View File

@@ -6,7 +6,7 @@ metadata:
app.kubernetes.io/instance: main app.kubernetes.io/instance: main
app.kubernetes.io/name: alertmanager app.kubernetes.io/name: alertmanager
app.kubernetes.io/part-of: kube-prometheus app.kubernetes.io/part-of: kube-prometheus
app.kubernetes.io/version: 0.23.0 app.kubernetes.io/version: 0.24.0
name: alertmanager-main name: alertmanager-main
namespace: monitoring namespace: monitoring
spec: spec:

View File

@@ -7,6 +7,6 @@ metadata:
app.kubernetes.io/instance: main app.kubernetes.io/instance: main
app.kubernetes.io/name: alertmanager app.kubernetes.io/name: alertmanager
app.kubernetes.io/part-of: kube-prometheus app.kubernetes.io/part-of: kube-prometheus
app.kubernetes.io/version: 0.23.0 app.kubernetes.io/version: 0.24.0
name: alertmanager-main name: alertmanager-main
namespace: monitoring namespace: monitoring

View File

@@ -6,7 +6,7 @@ metadata:
app.kubernetes.io/instance: main app.kubernetes.io/instance: main
app.kubernetes.io/name: alertmanager app.kubernetes.io/name: alertmanager
app.kubernetes.io/part-of: kube-prometheus app.kubernetes.io/part-of: kube-prometheus
app.kubernetes.io/version: 0.23.0 app.kubernetes.io/version: 0.24.0
name: alertmanager-main name: alertmanager-main
namespace: monitoring namespace: monitoring
spec: spec:

View File

@@ -651,7 +651,7 @@ spec:
runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubeletpodstartuplatencyhigh runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubeletpodstartuplatencyhigh
summary: Kubelet Pod startup latency is too high. summary: Kubelet Pod startup latency is too high.
expr: | expr: |
histogram_quantile(0.99, sum(rate(kubelet_pod_worker_duration_seconds_bucket{job="kubelet", metrics_path="/metrics"}[5m])) by (instance, le)) * on(instance) group_left(node) kubelet_node_name{job="kubelet", metrics_path="/metrics"} > 60 histogram_quantile(0.99, sum(rate(kubelet_pod_worker_duration_seconds_bucket{job="kubelet", metrics_path="/metrics"}[5m])) by (cluster, instance, le)) * on(cluster, instance) group_left(node) kubelet_node_name{job="kubelet", metrics_path="/metrics"} > 60
for: 15m for: 15m
labels: labels:
severity: warning severity: warning

View File

@@ -251,6 +251,18 @@ spec:
for: 15m for: 15m
labels: labels:
severity: warning severity: warning
- alert: PrometheusScrapeBodySizeLimitHit
annotations:
description: Prometheus {{$labels.namespace}}/{{$labels.pod}} has dropped
{{ printf "%.0f" $value }} targets because some targets exceeded the configured
body_size_limit.
runbook_url: https://runbooks.prometheus-operator.dev/runbooks/prometheus/prometheusscrapebodysizelimithit
summary: Prometheus has dropped some targets that exceeded body size limit.
expr: |
increase(prometheus_target_scrapes_exceeded_body_size_limit_total{job="prometheus-k8s",namespace="monitoring"}[5m]) > 0
for: 15m
labels:
severity: warning
- alert: PrometheusTargetSyncFailure - alert: PrometheusTargetSyncFailure
annotations: annotations:
description: '{{ printf "%.0f" $value }} targets in Prometheus {{$labels.namespace}}/{{$labels.pod}} description: '{{ printf "%.0f" $value }} targets in Prometheus {{$labels.namespace}}/{{$labels.pod}}

View File

@@ -5,7 +5,7 @@ metadata:
app.kubernetes.io/component: controller app.kubernetes.io/component: controller
app.kubernetes.io/name: prometheus-operator app.kubernetes.io/name: prometheus-operator
app.kubernetes.io/part-of: kube-prometheus app.kubernetes.io/part-of: kube-prometheus
app.kubernetes.io/version: 0.55.0 app.kubernetes.io/version: 0.55.1
name: prometheus-operator name: prometheus-operator
rules: rules:
- apiGroups: - apiGroups:

View File

@@ -5,7 +5,7 @@ metadata:
app.kubernetes.io/component: controller app.kubernetes.io/component: controller
app.kubernetes.io/name: prometheus-operator app.kubernetes.io/name: prometheus-operator
app.kubernetes.io/part-of: kube-prometheus app.kubernetes.io/part-of: kube-prometheus
app.kubernetes.io/version: 0.55.0 app.kubernetes.io/version: 0.55.1
name: prometheus-operator name: prometheus-operator
roleRef: roleRef:
apiGroup: rbac.authorization.k8s.io apiGroup: rbac.authorization.k8s.io

View File

@@ -5,7 +5,7 @@ metadata:
app.kubernetes.io/component: controller app.kubernetes.io/component: controller
app.kubernetes.io/name: prometheus-operator app.kubernetes.io/name: prometheus-operator
app.kubernetes.io/part-of: kube-prometheus app.kubernetes.io/part-of: kube-prometheus
app.kubernetes.io/version: 0.55.0 app.kubernetes.io/version: 0.55.1
name: prometheus-operator name: prometheus-operator
namespace: monitoring namespace: monitoring
spec: spec:
@@ -23,14 +23,14 @@ spec:
app.kubernetes.io/component: controller app.kubernetes.io/component: controller
app.kubernetes.io/name: prometheus-operator app.kubernetes.io/name: prometheus-operator
app.kubernetes.io/part-of: kube-prometheus app.kubernetes.io/part-of: kube-prometheus
app.kubernetes.io/version: 0.55.0 app.kubernetes.io/version: 0.55.1
spec: spec:
automountServiceAccountToken: true automountServiceAccountToken: true
containers: containers:
- args: - args:
- --kubelet-service=kube-system/kubelet - --kubelet-service=kube-system/kubelet
- --prometheus-config-reloader=quay.io/prometheus-operator/prometheus-config-reloader:v0.55.0 - --prometheus-config-reloader=quay.io/prometheus-operator/prometheus-config-reloader:v0.55.1
image: quay.io/prometheus-operator/prometheus-operator:v0.55.0 image: quay.io/prometheus-operator/prometheus-operator:v0.55.1
name: prometheus-operator name: prometheus-operator
ports: ports:
- containerPort: 8080 - containerPort: 8080

View File

@@ -5,7 +5,7 @@ metadata:
app.kubernetes.io/component: controller app.kubernetes.io/component: controller
app.kubernetes.io/name: prometheus-operator app.kubernetes.io/name: prometheus-operator
app.kubernetes.io/part-of: kube-prometheus app.kubernetes.io/part-of: kube-prometheus
app.kubernetes.io/version: 0.55.0 app.kubernetes.io/version: 0.55.1
prometheus: k8s prometheus: k8s
role: alert-rules role: alert-rules
name: prometheus-operator-rules name: prometheus-operator-rules
@@ -32,7 +32,7 @@ spec:
runbook_url: https://runbooks.prometheus-operator.dev/runbooks/prometheus-operator/prometheusoperatorwatcherrors runbook_url: https://runbooks.prometheus-operator.dev/runbooks/prometheus-operator/prometheusoperatorwatcherrors
summary: Errors while performing watch operations in controller. summary: Errors while performing watch operations in controller.
expr: | expr: |
(sum by (controller,namespace) (rate(prometheus_operator_watch_operations_failed_total{job="prometheus-operator",namespace="monitoring"}[10m])) / sum by (controller,namespace) (rate(prometheus_operator_watch_operations_total{job="prometheus-operator",namespace="monitoring"}[10m]))) > 0.4 (sum by (controller,namespace) (rate(prometheus_operator_watch_operations_failed_total{job="prometheus-operator",namespace="monitoring"}[5m])) / sum by (controller,namespace) (rate(prometheus_operator_watch_operations_total{job="prometheus-operator",namespace="monitoring"}[5m]))) > 0.4
for: 15m for: 15m
labels: labels:
severity: warning severity: warning

View File

@@ -5,7 +5,7 @@ metadata:
app.kubernetes.io/component: controller app.kubernetes.io/component: controller
app.kubernetes.io/name: prometheus-operator app.kubernetes.io/name: prometheus-operator
app.kubernetes.io/part-of: kube-prometheus app.kubernetes.io/part-of: kube-prometheus
app.kubernetes.io/version: 0.55.0 app.kubernetes.io/version: 0.55.1
name: prometheus-operator name: prometheus-operator
namespace: monitoring namespace: monitoring
spec: spec:

View File

@@ -6,6 +6,6 @@ metadata:
app.kubernetes.io/component: controller app.kubernetes.io/component: controller
app.kubernetes.io/name: prometheus-operator app.kubernetes.io/name: prometheus-operator
app.kubernetes.io/part-of: kube-prometheus app.kubernetes.io/part-of: kube-prometheus
app.kubernetes.io/version: 0.55.0 app.kubernetes.io/version: 0.55.1
name: prometheus-operator name: prometheus-operator
namespace: monitoring namespace: monitoring

View File

@@ -5,7 +5,7 @@ metadata:
app.kubernetes.io/component: controller app.kubernetes.io/component: controller
app.kubernetes.io/name: prometheus-operator app.kubernetes.io/name: prometheus-operator
app.kubernetes.io/part-of: kube-prometheus app.kubernetes.io/part-of: kube-prometheus
app.kubernetes.io/version: 0.55.0 app.kubernetes.io/version: 0.55.1
name: prometheus-operator name: prometheus-operator
namespace: monitoring namespace: monitoring
spec: spec:
@@ -21,4 +21,4 @@ spec:
app.kubernetes.io/component: controller app.kubernetes.io/component: controller
app.kubernetes.io/name: prometheus-operator app.kubernetes.io/name: prometheus-operator
app.kubernetes.io/part-of: kube-prometheus app.kubernetes.io/part-of: kube-prometheus
app.kubernetes.io/version: 0.55.0 app.kubernetes.io/version: 0.55.1

View File

@@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.6.2 controller-gen.kubebuilder.io/version: v0.8.0
creationTimestamp: null creationTimestamp: null
name: alertmanagerconfigs.monitoring.coreos.com name: alertmanagerconfigs.monitoring.coreos.com
spec: spec:

View File

@@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.6.2 controller-gen.kubebuilder.io/version: v0.8.0
creationTimestamp: null creationTimestamp: null
name: alertmanagers.monitoring.coreos.com name: alertmanagers.monitoring.coreos.com
spec: spec:
@@ -973,14 +973,14 @@ spec:
alertmanagerConfiguration: alertmanagerConfiguration:
description: 'EXPERIMENTAL: alertmanagerConfiguration specifies the description: 'EXPERIMENTAL: alertmanagerConfiguration specifies the
global Alertmanager configuration. If defined, it takes precedence global Alertmanager configuration. If defined, it takes precedence
over the `configSecret` field. This field may change in future releases. over the `configSecret` field. This field may change in future releases.'
The specified global alertmanager config will not force add a namespace
label in routes and inhibitRules.'
properties: properties:
name: name:
description: The name of the AlertmanagerConfig resource which description: The name of the AlertmanagerConfig resource which
holds the global configuration. It must be in the same namespace is used to generate the global configuration. It must be defined
as the Alertmanager. in the same namespace as the Alertmanager object. The operator
will not enforce a `namespace` label for routes and inhibition
rules.
minLength: 1 minLength: 1
type: string type: string
type: object type: object
@@ -1010,10 +1010,15 @@ spec:
type: string type: string
type: array type: array
configSecret: configSecret:
description: ConfigSecret is the name of a Kubernetes Secret in the description: "ConfigSecret is the name of a Kubernetes Secret in the
same namespace as the Alertmanager object, which contains configuration same namespace as the Alertmanager object, which contains the configuration
for this Alertmanager instance. Defaults to 'alertmanager-<alertmanager-name>' for this Alertmanager instance. If empty, it defaults to 'alertmanager-<alertmanager-name>'.
The secret is mounted into /etc/alertmanager/config. \n The Alertmanager configuration should be available under the
`alertmanager.yaml` key. Additional keys from the original secret
are copied to the generated secret. \n If either the secret or the
`alertmanager.yaml` key is missing, the operator provisions an Alertmanager
configuration with one empty receiver (effectively dropping alert
notifications)."
type: string type: string
containers: containers:
description: 'Containers allows injecting additional containers. This description: 'Containers allows injecting additional containers. This
@@ -3917,13 +3922,13 @@ spec:
automatically if one of them is empty and the other automatically if one of them is empty and the other
is non-empty. There are two important differences is non-empty. There are two important differences
between DataSource and DataSourceRef: * While DataSource between DataSource and DataSourceRef: * While DataSource
only allows two specific types of objects, DataSourceRef allows only allows two specific types of objects, DataSourceRef
any non-core object, as well as PersistentVolumeClaim allows any non-core object, as well as PersistentVolumeClaim
objects. * While DataSource ignores disallowed values objects. * While DataSource ignores disallowed values
(dropping them), DataSourceRef preserves all values, (dropping them), DataSourceRef preserves all values,
and generates an error if a disallowed value is specified. and generates an error if a disallowed value is
(Alpha) Using this field requires the AnyVolumeDataSource specified. (Alpha) Using this field requires the
feature gate to be enabled.' AnyVolumeDataSource feature gate to be enabled.'
properties: properties:
apiGroup: apiGroup:
description: APIGroup is the group for the resource description: APIGroup is the group for the resource
@@ -4140,9 +4145,9 @@ spec:
and the other is non-empty. There are two important and the other is non-empty. There are two important
differences between DataSource and DataSourceRef: * differences between DataSource and DataSourceRef: *
While DataSource only allows two specific types of objects, While DataSource only allows two specific types of objects,
DataSourceRef allows any non-core object, as well DataSourceRef allows any non-core object, as well as
as PersistentVolumeClaim objects. * While DataSource PersistentVolumeClaim objects. * While DataSource ignores
ignores disallowed values (dropping them), DataSourceRef preserves disallowed values (dropping them), DataSourceRef preserves
all values, and generates an error if a disallowed value all values, and generates an error if a disallowed value
is specified. (Alpha) Using this field requires the is specified. (Alpha) Using this field requires the
AnyVolumeDataSource feature gate to be enabled.' AnyVolumeDataSource feature gate to be enabled.'
@@ -4476,8 +4481,8 @@ spec:
(default) tells the scheduler not to schedule it. - ScheduleAnyway (default) tells the scheduler not to schedule it. - ScheduleAnyway
tells the scheduler to schedule the pod in any location, but tells the scheduler to schedule the pod in any location, but
giving higher precedence to topologies that would help reduce giving higher precedence to topologies that would help reduce
the skew. A constraint is considered "Unsatisfiable" for the skew. A constraint is considered "Unsatisfiable" for an
an incoming pod if and only if every possible node assignment incoming pod if and only if every possible node assignment
for that pod would violate "MaxSkew" on some topology. For for that pod would violate "MaxSkew" on some topology. For
example, in a 3-zone cluster, MaxSkew is set to 1, and pods example, in a 3-zone cluster, MaxSkew is set to 1, and pods
with the same labelSelector spread as 3/1/1: | zone1 | zone2 with the same labelSelector spread as 3/1/1: | zone1 | zone2
@@ -4929,18 +4934,17 @@ spec:
pod starts, and deleted when the pod is removed. \n Use this pod starts, and deleted when the pod is removed. \n Use this
if: a) the volume is only needed while the pod runs, b) features if: a) the volume is only needed while the pod runs, b) features
of normal volumes like restoring from snapshot or capacity of normal volumes like restoring from snapshot or capacity
\ tracking are needed, c) the storage driver is specified tracking are needed, c) the storage driver is specified through
through a storage class, and d) the storage driver supports a storage class, and d) the storage driver supports dynamic
dynamic volume provisioning through a PersistentVolumeClaim volume provisioning through a PersistentVolumeClaim (see EphemeralVolumeSource
(see EphemeralVolumeSource for more information on the for more information on the connection between this volume
connection between this volume type and PersistentVolumeClaim). type and PersistentVolumeClaim). \n Use PersistentVolumeClaim
\n Use PersistentVolumeClaim or one of the vendor-specific or one of the vendor-specific APIs for volumes that persist
APIs for volumes that persist for longer than the lifecycle for longer than the lifecycle of an individual pod. \n Use
of an individual pod. \n Use CSI for light-weight local ephemeral CSI for light-weight local ephemeral volumes if the CSI driver
volumes if the CSI driver is meant to be used that way - see is meant to be used that way - see the documentation of the
the documentation of the driver for more information. \n A driver for more information. \n A pod can use both types of
pod can use both types of ephemeral volumes and persistent ephemeral volumes and persistent volumes at the same time."
volumes at the same time."
properties: properties:
volumeClaimTemplate: volumeClaimTemplate:
description: "Will be used to create a stand-alone PVC to description: "Will be used to create a stand-alone PVC to
@@ -5028,13 +5032,13 @@ spec:
other is non-empty. There are two important differences other is non-empty. There are two important differences
between DataSource and DataSourceRef: * While between DataSource and DataSourceRef: * While
DataSource only allows two specific types of objects, DataSource only allows two specific types of objects,
DataSourceRef allows any non-core object, as DataSourceRef allows any non-core object, as well
well as PersistentVolumeClaim objects. * While as PersistentVolumeClaim objects. * While DataSource
DataSource ignores disallowed values (dropping ignores disallowed values (dropping them), DataSourceRef
them), DataSourceRef preserves all values, and preserves all values, and generates an error if
generates an error if a disallowed value is specified. a disallowed value is specified. (Alpha) Using
(Alpha) Using this field requires the AnyVolumeDataSource this field requires the AnyVolumeDataSource feature
feature gate to be enabled.' gate to be enabled.'
properties: properties:
apiGroup: apiGroup:
description: APIGroup is the group for the resource description: APIGroup is the group for the resource

View File

@@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.6.2 controller-gen.kubebuilder.io/version: v0.8.0
creationTimestamp: null creationTimestamp: null
name: podmonitors.monitoring.coreos.com name: podmonitors.monitoring.coreos.com
spec: spec:

View File

@@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.6.2 controller-gen.kubebuilder.io/version: v0.8.0
creationTimestamp: null creationTimestamp: null
name: probes.monitoring.coreos.com name: probes.monitoring.coreos.com
spec: spec:

View File

@@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.6.2 controller-gen.kubebuilder.io/version: v0.8.0
creationTimestamp: null creationTimestamp: null
name: prometheuses.monitoring.coreos.com name: prometheuses.monitoring.coreos.com
spec: spec:
@@ -2678,6 +2678,7 @@ spec:
monitors and probes. This is an experimental feature, this behaviour monitors and probes. This is an experimental feature, this behaviour
could change or be removed in the future. Only valid in Prometheus could change or be removed in the future. Only valid in Prometheus
versions 2.28.0 and newer.' versions 2.28.0 and newer.'
pattern: (^0|([0-9]*[.])?[0-9]+((K|M|G|T|E|P)i?)?B)$
type: string type: string
enforcedLabelLimit: enforcedLabelLimit:
description: Per-scrape limit on number of labels that will be accepted description: Per-scrape limit on number of labels that will be accepted
@@ -2732,6 +2733,42 @@ spec:
evaluationInterval: evaluationInterval:
description: 'Interval between consecutive evaluations. Default: `1m`' description: 'Interval between consecutive evaluations. Default: `1m`'
type: string type: string
excludedFromEnforcement:
description: List of references to PodMonitor, ServiceMonitor, Probe
and PrometheusRule objects to be excluded from enforcing a namespace
label of origin. Applies only if enforcedNamespaceLabel set to true.
items:
description: ObjectReference references a PodMonitor, ServiceMonitor,
Probe or PrometheusRule object.
properties:
group:
default: monitoring.coreos.com
description: Group of the referent. When not specified, it defaults
to `monitoring.coreos.com`
enum:
- monitoring.coreos.com
type: string
name:
description: Name of the referent. When not set, all resources
are matched.
type: string
namespace:
description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
minLength: 1
type: string
resource:
description: Resource of the referent.
enum:
- prometheusrules
- servicemonitors
- podmonitors
- probes
type: string
required:
- namespace
- resource
type: object
type: array
externalLabels: externalLabels:
additionalProperties: additionalProperties:
type: string type: string
@@ -4265,10 +4302,11 @@ spec:
will _not_ be added when value is set to empty string (`""`). will _not_ be added when value is set to empty string (`""`).
type: string type: string
prometheusRulesExcludedFromEnforce: prometheusRulesExcludedFromEnforce:
description: PrometheusRulesExcludedFromEnforce - list of prometheus description: 'PrometheusRulesExcludedFromEnforce - list of prometheus
rules to be excluded from enforcing of adding namespace labels. rules to be excluded from enforcing of adding namespace labels.
Works only if enforcedNamespaceLabel set to true. Make sure both Works only if enforcedNamespaceLabel set to true. Make sure both
ruleNamespace and ruleName are set for each pair ruleNamespace and ruleName are set for each pair. Deprecated: use
excludedFromEnforcement instead.'
items: items:
description: PrometheusRuleExcludeConfig enables users to configure description: PrometheusRuleExcludeConfig enables users to configure
excluded PrometheusRule names and their namespaces to be ignored excluded PrometheusRule names and their namespaces to be ignored
@@ -5192,8 +5230,8 @@ spec:
hours days weeks years). hours days weeks years).
type: string type: string
retentionSize: retentionSize:
description: 'Maximum amount of disk space used by blocks. Supported description: Maximum amount of disk space used by blocks.
units: B, KB, MB, GB, TB, PB, EB. Ex: `512MB`.' pattern: (^0|([0-9]*[.])?[0-9]+((K|M|G|T|E|P)i?)?B)$
type: string type: string
routePrefix: routePrefix:
description: The route prefix Prometheus registers HTTP handlers for. description: The route prefix Prometheus registers HTTP handlers for.
@@ -5731,13 +5769,13 @@ spec:
automatically if one of them is empty and the other automatically if one of them is empty and the other
is non-empty. There are two important differences is non-empty. There are two important differences
between DataSource and DataSourceRef: * While DataSource between DataSource and DataSourceRef: * While DataSource
only allows two specific types of objects, DataSourceRef allows only allows two specific types of objects, DataSourceRef
any non-core object, as well as PersistentVolumeClaim allows any non-core object, as well as PersistentVolumeClaim
objects. * While DataSource ignores disallowed values objects. * While DataSource ignores disallowed values
(dropping them), DataSourceRef preserves all values, (dropping them), DataSourceRef preserves all values,
and generates an error if a disallowed value is specified. and generates an error if a disallowed value is
(Alpha) Using this field requires the AnyVolumeDataSource specified. (Alpha) Using this field requires the
feature gate to be enabled.' AnyVolumeDataSource feature gate to be enabled.'
properties: properties:
apiGroup: apiGroup:
description: APIGroup is the group for the resource description: APIGroup is the group for the resource
@@ -5954,9 +5992,9 @@ spec:
and the other is non-empty. There are two important and the other is non-empty. There are two important
differences between DataSource and DataSourceRef: * differences between DataSource and DataSourceRef: *
While DataSource only allows two specific types of objects, While DataSource only allows two specific types of objects,
DataSourceRef allows any non-core object, as well DataSourceRef allows any non-core object, as well as
as PersistentVolumeClaim objects. * While DataSource PersistentVolumeClaim objects. * While DataSource ignores
ignores disallowed values (dropping them), DataSourceRef preserves disallowed values (dropping them), DataSourceRef preserves
all values, and generates an error if a disallowed value all values, and generates an error if a disallowed value
is specified. (Alpha) Using this field requires the is specified. (Alpha) Using this field requires the
AnyVolumeDataSource feature gate to be enabled.' AnyVolumeDataSource feature gate to be enabled.'
@@ -6605,8 +6643,8 @@ spec:
(default) tells the scheduler not to schedule it. - ScheduleAnyway (default) tells the scheduler not to schedule it. - ScheduleAnyway
tells the scheduler to schedule the pod in any location, but tells the scheduler to schedule the pod in any location, but
giving higher precedence to topologies that would help reduce giving higher precedence to topologies that would help reduce
the skew. A constraint is considered "Unsatisfiable" for the skew. A constraint is considered "Unsatisfiable" for an
an incoming pod if and only if every possible node assignment incoming pod if and only if every possible node assignment
for that pod would violate "MaxSkew" on some topology. For for that pod would violate "MaxSkew" on some topology. For
example, in a 3-zone cluster, MaxSkew is set to 1, and pods example, in a 3-zone cluster, MaxSkew is set to 1, and pods
with the same labelSelector spread as 3/1/1: | zone1 | zone2 with the same labelSelector spread as 3/1/1: | zone1 | zone2
@@ -7058,18 +7096,17 @@ spec:
pod starts, and deleted when the pod is removed. \n Use this pod starts, and deleted when the pod is removed. \n Use this
if: a) the volume is only needed while the pod runs, b) features if: a) the volume is only needed while the pod runs, b) features
of normal volumes like restoring from snapshot or capacity of normal volumes like restoring from snapshot or capacity
\ tracking are needed, c) the storage driver is specified tracking are needed, c) the storage driver is specified through
through a storage class, and d) the storage driver supports a storage class, and d) the storage driver supports dynamic
dynamic volume provisioning through a PersistentVolumeClaim volume provisioning through a PersistentVolumeClaim (see EphemeralVolumeSource
(see EphemeralVolumeSource for more information on the for more information on the connection between this volume
connection between this volume type and PersistentVolumeClaim). type and PersistentVolumeClaim). \n Use PersistentVolumeClaim
\n Use PersistentVolumeClaim or one of the vendor-specific or one of the vendor-specific APIs for volumes that persist
APIs for volumes that persist for longer than the lifecycle for longer than the lifecycle of an individual pod. \n Use
of an individual pod. \n Use CSI for light-weight local ephemeral CSI for light-weight local ephemeral volumes if the CSI driver
volumes if the CSI driver is meant to be used that way - see is meant to be used that way - see the documentation of the
the documentation of the driver for more information. \n A driver for more information. \n A pod can use both types of
pod can use both types of ephemeral volumes and persistent ephemeral volumes and persistent volumes at the same time."
volumes at the same time."
properties: properties:
volumeClaimTemplate: volumeClaimTemplate:
description: "Will be used to create a stand-alone PVC to description: "Will be used to create a stand-alone PVC to
@@ -7157,13 +7194,13 @@ spec:
other is non-empty. There are two important differences other is non-empty. There are two important differences
between DataSource and DataSourceRef: * While between DataSource and DataSourceRef: * While
DataSource only allows two specific types of objects, DataSource only allows two specific types of objects,
DataSourceRef allows any non-core object, as DataSourceRef allows any non-core object, as well
well as PersistentVolumeClaim objects. * While as PersistentVolumeClaim objects. * While DataSource
DataSource ignores disallowed values (dropping ignores disallowed values (dropping them), DataSourceRef
them), DataSourceRef preserves all values, and preserves all values, and generates an error if
generates an error if a disallowed value is specified. a disallowed value is specified. (Alpha) Using
(Alpha) Using this field requires the AnyVolumeDataSource this field requires the AnyVolumeDataSource feature
feature gate to be enabled.' gate to be enabled.'
properties: properties:
apiGroup: apiGroup:
description: APIGroup is the group for the resource description: APIGroup is the group for the resource

View File

@@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.6.2 controller-gen.kubebuilder.io/version: v0.8.0
creationTimestamp: null creationTimestamp: null
name: prometheusrules.monitoring.coreos.com name: prometheusrules.monitoring.coreos.com
spec: spec:

View File

@@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.6.2 controller-gen.kubebuilder.io/version: v0.8.0
creationTimestamp: null creationTimestamp: null
name: servicemonitors.monitoring.coreos.com name: servicemonitors.monitoring.coreos.com
spec: spec:

View File

@@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.6.2 controller-gen.kubebuilder.io/version: v0.8.0
creationTimestamp: null creationTimestamp: null
name: thanosrulers.monitoring.coreos.com name: thanosrulers.monitoring.coreos.com
spec: spec:
@@ -2168,6 +2168,42 @@ spec:
evaluationInterval: evaluationInterval:
description: Interval between consecutive evaluations. description: Interval between consecutive evaluations.
type: string type: string
excludedFromEnforcement:
description: List of references to PrometheusRule objects to be excluded
from enforcing a namespace label of origin. Applies only if enforcedNamespaceLabel
set to true.
items:
description: ObjectReference references a PodMonitor, ServiceMonitor,
Probe or PrometheusRule object.
properties:
group:
default: monitoring.coreos.com
description: Group of the referent. When not specified, it defaults
to `monitoring.coreos.com`
enum:
- monitoring.coreos.com
type: string
name:
description: Name of the referent. When not set, all resources
are matched.
type: string
namespace:
description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
minLength: 1
type: string
resource:
description: Resource of the referent.
enum:
- prometheusrules
- servicemonitors
- podmonitors
- probes
type: string
required:
- namespace
- resource
type: object
type: array
externalPrefix: externalPrefix:
description: The external URL the Thanos Ruler instances will be available description: The external URL the Thanos Ruler instances will be available
under. This is necessary to generate correct URLs. This is necessary under. This is necessary to generate correct URLs. This is necessary
@@ -3639,10 +3675,11 @@ spec:
description: Priority class assigned to the Pods description: Priority class assigned to the Pods
type: string type: string
prometheusRulesExcludedFromEnforce: prometheusRulesExcludedFromEnforce:
description: PrometheusRulesExcludedFromEnforce - list of Prometheus description: 'PrometheusRulesExcludedFromEnforce - list of Prometheus
rules to be excluded from enforcing of adding namespace labels. rules to be excluded from enforcing of adding namespace labels.
Works only if enforcedNamespaceLabel set to true. Make sure both Works only if enforcedNamespaceLabel set to true. Make sure both
ruleNamespace and ruleName are set for each pair ruleNamespace and ruleName are set for each pair Deprecated: use
excludedFromEnforcement instead.'
items: items:
description: PrometheusRuleExcludeConfig enables users to configure description: PrometheusRuleExcludeConfig enables users to configure
excluded PrometheusRule names and their namespaces to be ignored excluded PrometheusRule names and their namespaces to be ignored
@@ -4105,13 +4142,13 @@ spec:
automatically if one of them is empty and the other automatically if one of them is empty and the other
is non-empty. There are two important differences is non-empty. There are two important differences
between DataSource and DataSourceRef: * While DataSource between DataSource and DataSourceRef: * While DataSource
only allows two specific types of objects, DataSourceRef allows only allows two specific types of objects, DataSourceRef
any non-core object, as well as PersistentVolumeClaim allows any non-core object, as well as PersistentVolumeClaim
objects. * While DataSource ignores disallowed values objects. * While DataSource ignores disallowed values
(dropping them), DataSourceRef preserves all values, (dropping them), DataSourceRef preserves all values,
and generates an error if a disallowed value is specified. and generates an error if a disallowed value is
(Alpha) Using this field requires the AnyVolumeDataSource specified. (Alpha) Using this field requires the
feature gate to be enabled.' AnyVolumeDataSource feature gate to be enabled.'
properties: properties:
apiGroup: apiGroup:
description: APIGroup is the group for the resource description: APIGroup is the group for the resource
@@ -4328,9 +4365,9 @@ spec:
and the other is non-empty. There are two important and the other is non-empty. There are two important
differences between DataSource and DataSourceRef: * differences between DataSource and DataSourceRef: *
While DataSource only allows two specific types of objects, While DataSource only allows two specific types of objects,
DataSourceRef allows any non-core object, as well DataSourceRef allows any non-core object, as well as
as PersistentVolumeClaim objects. * While DataSource PersistentVolumeClaim objects. * While DataSource ignores
ignores disallowed values (dropping them), DataSourceRef preserves disallowed values (dropping them), DataSourceRef preserves
all values, and generates an error if a disallowed value all values, and generates an error if a disallowed value
is specified. (Alpha) Using this field requires the is specified. (Alpha) Using this field requires the
AnyVolumeDataSource feature gate to be enabled.' AnyVolumeDataSource feature gate to be enabled.'
@@ -4658,8 +4695,8 @@ spec:
(default) tells the scheduler not to schedule it. - ScheduleAnyway (default) tells the scheduler not to schedule it. - ScheduleAnyway
tells the scheduler to schedule the pod in any location, but tells the scheduler to schedule the pod in any location, but
giving higher precedence to topologies that would help reduce giving higher precedence to topologies that would help reduce
the skew. A constraint is considered "Unsatisfiable" for the skew. A constraint is considered "Unsatisfiable" for an
an incoming pod if and only if every possible node assignment incoming pod if and only if every possible node assignment
for that pod would violate "MaxSkew" on some topology. For for that pod would violate "MaxSkew" on some topology. For
example, in a 3-zone cluster, MaxSkew is set to 1, and pods example, in a 3-zone cluster, MaxSkew is set to 1, and pods
with the same labelSelector spread as 3/1/1: | zone1 | zone2 with the same labelSelector spread as 3/1/1: | zone1 | zone2
@@ -5085,18 +5122,17 @@ spec:
pod starts, and deleted when the pod is removed. \n Use this pod starts, and deleted when the pod is removed. \n Use this
if: a) the volume is only needed while the pod runs, b) features if: a) the volume is only needed while the pod runs, b) features
of normal volumes like restoring from snapshot or capacity of normal volumes like restoring from snapshot or capacity
\ tracking are needed, c) the storage driver is specified tracking are needed, c) the storage driver is specified through
through a storage class, and d) the storage driver supports a storage class, and d) the storage driver supports dynamic
dynamic volume provisioning through a PersistentVolumeClaim volume provisioning through a PersistentVolumeClaim (see EphemeralVolumeSource
(see EphemeralVolumeSource for more information on the for more information on the connection between this volume
connection between this volume type and PersistentVolumeClaim). type and PersistentVolumeClaim). \n Use PersistentVolumeClaim
\n Use PersistentVolumeClaim or one of the vendor-specific or one of the vendor-specific APIs for volumes that persist
APIs for volumes that persist for longer than the lifecycle for longer than the lifecycle of an individual pod. \n Use
of an individual pod. \n Use CSI for light-weight local ephemeral CSI for light-weight local ephemeral volumes if the CSI driver
volumes if the CSI driver is meant to be used that way - see is meant to be used that way - see the documentation of the
the documentation of the driver for more information. \n A driver for more information. \n A pod can use both types of
pod can use both types of ephemeral volumes and persistent ephemeral volumes and persistent volumes at the same time."
volumes at the same time."
properties: properties:
volumeClaimTemplate: volumeClaimTemplate:
description: "Will be used to create a stand-alone PVC to description: "Will be used to create a stand-alone PVC to
@@ -5184,13 +5220,13 @@ spec:
other is non-empty. There are two important differences other is non-empty. There are two important differences
between DataSource and DataSourceRef: * While between DataSource and DataSourceRef: * While
DataSource only allows two specific types of objects, DataSource only allows two specific types of objects,
DataSourceRef allows any non-core object, as DataSourceRef allows any non-core object, as well
well as PersistentVolumeClaim objects. * While as PersistentVolumeClaim objects. * While DataSource
DataSource ignores disallowed values (dropping ignores disallowed values (dropping them), DataSourceRef
them), DataSourceRef preserves all values, and preserves all values, and generates an error if
generates an error if a disallowed value is specified. a disallowed value is specified. (Alpha) Using
(Alpha) Using this field requires the AnyVolumeDataSource this field requires the AnyVolumeDataSource feature
feature gate to be enabled.' gate to be enabled.'
properties: properties:
apiGroup: apiGroup:
description: APIGroup is the group for the resource description: APIGroup is the group for the resource