Release v0.14.0 (#2513)
* chore: Pin version and generate manifests for 0.14.0 * docs: Add 0.14.0 changelog
This commit is contained in:
11
CHANGELOG.md
11
CHANGELOG.md
@@ -1,3 +1,14 @@
|
|||||||
|
## release-0.14 / 2024-09-12
|
||||||
|
|
||||||
|
* [CHANGE] Prefer new form for `kube_node_status_capacity_pods` metric [#2269](https://github.com/prometheus-operator/kube-prometheus/pull/2269)
|
||||||
|
* [CHANGE] Add runAsGroup to all components [#2424](https://github.com/prometheus-operator/kube-prometheus/pull/2424)
|
||||||
|
* [FEATURE] Add support for ScrapeConfig [#2232](https://github.com/prometheus-operator/kube-prometheus/pull/2232)
|
||||||
|
* [FEATURE] Add Kubernetes components SLI metrics [#2496](https://github.com/prometheus-operator/kube-prometheus/pull/2496)
|
||||||
|
* [FEATURE] Add monitor and rules resources to user-facing roles add-on [#2238](https://github.com/prometheus-operator/kube-prometheus/pull/2238)
|
||||||
|
* [BUGFIX] Add thanos-sidecar metrics port to Prometheus Service and NetworkPolicy [#2330](https://github.com/prometheus-operator/kube-prometheus/pull/2330)
|
||||||
|
* [ENHANCEMENT] Add ability to inject Secrets into alertmanager [#2206](https://github.com/prometheus-operator/kube-prometheus/pull/2206)
|
||||||
|
* [ENHANCEMENT] Add securityContext items and Pod security labels [#2178](https://github.com/prometheus-operator/kube-prometheus/pull/2178)
|
||||||
|
|
||||||
## release-0.13 / 2023-08-31
|
## release-0.13 / 2023-08-31
|
||||||
|
|
||||||
* [CHANGE] Added a AKS platform to `platforms.libsonnet` [#1997](https://github.com/prometheus-operator/kube-prometheus/pull/1997)
|
* [CHANGE] Added a AKS platform to `platforms.libsonnet` [#1997](https://github.com/prometheus-operator/kube-prometheus/pull/1997)
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
"subdir": "grafana"
|
"subdir": "grafana"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "master"
|
"version": "5698c8940b6dadca3f42107b7839557bc041761f"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source": {
|
"source": {
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
"subdir": "grafana-mixin"
|
"subdir": "grafana-mixin"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "main",
|
"version": "release-11.2.0",
|
||||||
"name": "grafana-mixin"
|
"name": "grafana-mixin"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
"subdir": "contrib/mixin"
|
"subdir": "contrib/mixin"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "main"
|
"version": "release-3.5"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source": {
|
"source": {
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
"subdir": "jsonnet/prometheus-operator"
|
"subdir": "jsonnet/prometheus-operator"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "main"
|
"version": "release-0.76"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source": {
|
"source": {
|
||||||
@@ -45,7 +45,7 @@
|
|||||||
"subdir": "jsonnet/mixin"
|
"subdir": "jsonnet/mixin"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "main",
|
"version": "release-0.76",
|
||||||
"name": "prometheus-operator-mixin"
|
"name": "prometheus-operator-mixin"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -55,7 +55,7 @@
|
|||||||
"subdir": ""
|
"subdir": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "master"
|
"version": "50150c585ebee6e4d9cb72218182da8f3c616515"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source": {
|
"source": {
|
||||||
@@ -64,7 +64,7 @@
|
|||||||
"subdir": "jsonnet/kube-state-metrics"
|
"subdir": "jsonnet/kube-state-metrics"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "main"
|
"version": "release-2.13"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source": {
|
"source": {
|
||||||
@@ -73,7 +73,7 @@
|
|||||||
"subdir": "jsonnet/kube-state-metrics-mixin"
|
"subdir": "jsonnet/kube-state-metrics-mixin"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "main"
|
"version": "release-2.13"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source": {
|
"source": {
|
||||||
@@ -82,7 +82,7 @@
|
|||||||
"subdir": "docs/node-mixin"
|
"subdir": "docs/node-mixin"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "master"
|
"version": "release-1.8"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source": {
|
"source": {
|
||||||
@@ -91,7 +91,7 @@
|
|||||||
"subdir": "documentation/prometheus-mixin"
|
"subdir": "documentation/prometheus-mixin"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "main",
|
"version": "release-2.54",
|
||||||
"name": "prometheus"
|
"name": "prometheus"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -101,7 +101,7 @@
|
|||||||
"subdir": "doc/alertmanager-mixin"
|
"subdir": "doc/alertmanager-mixin"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "main",
|
"version": "release-0.27",
|
||||||
"name": "alertmanager"
|
"name": "alertmanager"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -111,7 +111,7 @@
|
|||||||
"subdir": "jsonnet/controller-gen"
|
"subdir": "jsonnet/controller-gen"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "release-0.7",
|
"version": "v0.7.7",
|
||||||
"name": "pyrra"
|
"name": "pyrra"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -121,7 +121,7 @@
|
|||||||
"subdir": "mixin"
|
"subdir": "mixin"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "main",
|
"version": "release-0.36",
|
||||||
"name": "thanos-mixin"
|
"name": "thanos-mixin"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -18,8 +18,8 @@
|
|||||||
"subdir": "contrib/mixin"
|
"subdir": "contrib/mixin"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "5088131f51860bb00db8340905639f02c85aa1c7",
|
"version": "f20bbadd404b57c776d1e8876cefd1ac29b03fb5",
|
||||||
"sum": "IXI3LQIT9NmTPJAk8WLUJd5+qZfcGpeNCyWIK7oEpws="
|
"sum": "W/Azptf1PoqjyMwJON96UY69MFugDA4IAYiKURscryc="
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source": {
|
"source": {
|
||||||
@@ -28,8 +28,8 @@
|
|||||||
"subdir": "grafana-mixin"
|
"subdir": "grafana-mixin"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "1120f9e255760a3c104b57871fcb91801e934382",
|
"version": "c57667e4481563f5e6cf945b03bc0626caa4dbeb",
|
||||||
"sum": "MkjR7zCgq6MUZgjDzop574tFKoTX2OBr7DTwm1K+Ofs="
|
"sum": "S8mRTRH4w62kMCa2je3iCtvscYrwQmkyJ7Y/aM14KbE="
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source": {
|
"source": {
|
||||||
@@ -61,16 +61,6 @@
|
|||||||
"version": "733beadbc8dab55c5fe1bcdcf0d8a2d215759a55",
|
"version": "733beadbc8dab55c5fe1bcdcf0d8a2d215759a55",
|
||||||
"sum": "eyuJ0jOXeA4MrobbNgU4/v5a7ASDHslHZ0eS6hDdWoI="
|
"sum": "eyuJ0jOXeA4MrobbNgU4/v5a7ASDHslHZ0eS6hDdWoI="
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"source": {
|
|
||||||
"git": {
|
|
||||||
"remote": "https://github.com/grafana/grafonnet.git",
|
|
||||||
"subdir": "gen/grafonnet-v10.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"version": "733beadbc8dab55c5fe1bcdcf0d8a2d215759a55",
|
|
||||||
"sum": "xdcrJPJlpkq4+5LpGwN4tPAuheNNLXZjE6tDcyvFjr0="
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"source": {
|
"source": {
|
||||||
"git": {
|
"git": {
|
||||||
@@ -138,8 +128,8 @@
|
|||||||
"subdir": "jsonnet/kube-state-metrics"
|
"subdir": "jsonnet/kube-state-metrics"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "aebbb390820496d46750697aa6956c57ff082d41",
|
"version": "76c5888e3402c946abd6f31876f3aada4c0c84fc",
|
||||||
"sum": "lO7jUSzAIy8Yk9pOWJIWgPRhubkWzVh56W6wtYfbVH4="
|
"sum": "pvInhJNQVDOcC3NGWRMKRIP954mAvLXCQpTlafIg7fA="
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source": {
|
"source": {
|
||||||
@@ -148,7 +138,7 @@
|
|||||||
"subdir": "jsonnet/kube-state-metrics-mixin"
|
"subdir": "jsonnet/kube-state-metrics-mixin"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "aebbb390820496d46750697aa6956c57ff082d41",
|
"version": "76c5888e3402c946abd6f31876f3aada4c0c84fc",
|
||||||
"sum": "qclI7LwucTjBef3PkGBkKxF0mfZPbHnn4rlNWKGtR4c="
|
"sum": "qclI7LwucTjBef3PkGBkKxF0mfZPbHnn4rlNWKGtR4c="
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -158,7 +148,7 @@
|
|||||||
"subdir": "jsonnet/mixin"
|
"subdir": "jsonnet/mixin"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "10ddb1fa74f259c4f70720fdc7f1c6b11082033d",
|
"version": "8ba73758bd40233fce49b68ae191692a12c6fdbf",
|
||||||
"sum": "gi+knjdxs2T715iIQIntrimbHRgHnpM8IFBJDD1gYfs=",
|
"sum": "gi+knjdxs2T715iIQIntrimbHRgHnpM8IFBJDD1gYfs=",
|
||||||
"name": "prometheus-operator-mixin"
|
"name": "prometheus-operator-mixin"
|
||||||
},
|
},
|
||||||
@@ -169,8 +159,8 @@
|
|||||||
"subdir": "jsonnet/prometheus-operator"
|
"subdir": "jsonnet/prometheus-operator"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "10ddb1fa74f259c4f70720fdc7f1c6b11082033d",
|
"version": "8ba73758bd40233fce49b68ae191692a12c6fdbf",
|
||||||
"sum": "YhMrMNg8UEvQ6Wz0poEQ8/63zJArmGwyf0u0iSLGZS4="
|
"sum": "Qs56OWJ2PLCEGRPlJ2Xd1LukXKj8KBzqMYncwjYTEwo="
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source": {
|
"source": {
|
||||||
@@ -179,7 +169,7 @@
|
|||||||
"subdir": "doc/alertmanager-mixin"
|
"subdir": "doc/alertmanager-mixin"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "ccc1ed914dabc288e2111f745fadf8fff105eed8",
|
"version": "0aa3c2aad14cff039931923ab16b26b7481783b5",
|
||||||
"sum": "IpF46ZXsm+0wJJAPtAre8+yxTNZA57mBqGpBP/r7/kw=",
|
"sum": "IpF46ZXsm+0wJJAPtAre8+yxTNZA57mBqGpBP/r7/kw=",
|
||||||
"name": "alertmanager"
|
"name": "alertmanager"
|
||||||
},
|
},
|
||||||
@@ -190,8 +180,8 @@
|
|||||||
"subdir": "docs/node-mixin"
|
"subdir": "docs/node-mixin"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "090957658ee7be8c7c71b2724979b36c49371b20",
|
"version": "f1e0e8360aa60b6cb5e5cc1560bed348fc2c1895",
|
||||||
"sum": "rhUvbqviGjQ2mwsRhHKMN0TiS3YvnYpUXHew3XlQ+Wg="
|
"sum": "R9ROsvpjZLgQJ78WAyD4HzrIq976Bpr4V2P2Fo2Kfns="
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source": {
|
"source": {
|
||||||
@@ -200,7 +190,7 @@
|
|||||||
"subdir": "documentation/prometheus-mixin"
|
"subdir": "documentation/prometheus-mixin"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "50cd453c8fc5d7fd9270fc72dfa50367fc7a9c23",
|
"version": "c5e015d29534f06bd1d238c64a06b7ac41abdd7f",
|
||||||
"sum": "dYLcLzGH4yF3qB7OGC/7z4nqeTNjv42L7Q3BENU8XJI=",
|
"sum": "dYLcLzGH4yF3qB7OGC/7z4nqeTNjv42L7Q3BENU8XJI=",
|
||||||
"name": "prometheus"
|
"name": "prometheus"
|
||||||
},
|
},
|
||||||
@@ -222,8 +212,8 @@
|
|||||||
"subdir": "mixin"
|
"subdir": "mixin"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "97710f41b0e4584b476ee5d59fd7b3ae5077154a",
|
"version": "99a5742a15f107d4607d280c825eca5b7f09a253",
|
||||||
"sum": "ieCD4eMgGbOlrI8GmckGPHBGQDcLasE1rULYq56W/bs=",
|
"sum": "HhSSbGGCNHCMy1ee5jElYDm0yS9Vesa7QB2/SHKdjsY=",
|
||||||
"name": "thanos-mixin"
|
"name": "thanos-mixin"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -3398,7 +3398,6 @@ items:
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"schemaVersion": 30,
|
"schemaVersion": 30,
|
||||||
"style": "dark",
|
|
||||||
"tags": [
|
"tags": [
|
||||||
|
|
||||||
],
|
],
|
||||||
@@ -15293,7 +15292,6 @@ items:
|
|||||||
},
|
},
|
||||||
"timezone": "utc",
|
"timezone": "utc",
|
||||||
"title": "Node Exporter / USE Method / Cluster",
|
"title": "Node Exporter / USE Method / Cluster",
|
||||||
"uid": "3e97d1d02672cdd0861f4c97c64f89b2",
|
|
||||||
"version": 0
|
"version": 0
|
||||||
}
|
}
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
@@ -16372,7 +16370,6 @@ items:
|
|||||||
},
|
},
|
||||||
"timezone": "utc",
|
"timezone": "utc",
|
||||||
"title": "Node Exporter / USE Method / Node",
|
"title": "Node Exporter / USE Method / Node",
|
||||||
"uid": "fac67cfbe174d3ef53eb473d73d9212f",
|
|
||||||
"version": 0
|
"version": 0
|
||||||
}
|
}
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
@@ -17461,7 +17458,6 @@ items:
|
|||||||
},
|
},
|
||||||
"timezone": "utc",
|
"timezone": "utc",
|
||||||
"title": "Node Exporter / MacOS",
|
"title": "Node Exporter / MacOS",
|
||||||
"uid": "629701ea43bf69291922ea45f4a87d37",
|
|
||||||
"version": 0
|
"version": 0
|
||||||
}
|
}
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
@@ -18543,7 +18539,6 @@ items:
|
|||||||
},
|
},
|
||||||
"timezone": "utc",
|
"timezone": "utc",
|
||||||
"title": "Node Exporter / Nodes",
|
"title": "Node Exporter / Nodes",
|
||||||
"uid": "7d57716318ee0dddbac5a7f451fb7753",
|
|
||||||
"version": 0
|
"version": 0
|
||||||
}
|
}
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
|
|||||||
@@ -19,8 +19,8 @@ spec:
|
|||||||
message: '{{ $labels.namespace }}/{{ $labels.job }}/{{ $labels.handler }} is experiencing {{ $value | humanize }}% errors'
|
message: '{{ $labels.namespace }}/{{ $labels.job }}/{{ $labels.handler }} is experiencing {{ $value | humanize }}% errors'
|
||||||
runbook_url: https://runbooks.prometheus-operator.dev/runbooks/grafana/grafanarequestsfailing
|
runbook_url: https://runbooks.prometheus-operator.dev/runbooks/grafana/grafanarequestsfailing
|
||||||
expr: |
|
expr: |
|
||||||
100 * namespace_job_handler_statuscode:grafana_http_request_duration_seconds_count:rate5m{handler!~"/api/datasources/proxy/:id.*|/api/ds/query|/api/tsdb/query", status_code=~"5.."}
|
100 * sum without (status_code) (namespace_job_handler_statuscode:grafana_http_request_duration_seconds_count:rate5m{handler!~"/api/datasources/proxy/:id.*|/api/ds/query|/api/tsdb/query", status_code=~"5.."})
|
||||||
/ ignoring (status_code)
|
/
|
||||||
sum without (status_code) (namespace_job_handler_statuscode:grafana_http_request_duration_seconds_count:rate5m{handler!~"/api/datasources/proxy/:id.*|/api/ds/query|/api/tsdb/query"})
|
sum without (status_code) (namespace_job_handler_statuscode:grafana_http_request_duration_seconds_count:rate5m{handler!~"/api/datasources/proxy/:id.*|/api/ds/query|/api/tsdb/query"})
|
||||||
> 50
|
> 50
|
||||||
for: 5m
|
for: 5m
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -2,8 +2,8 @@ apiVersion: apiextensions.k8s.io/v1
|
|||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.16.1
|
controller-gen.kubebuilder.io/version: v0.15.0
|
||||||
operator.prometheus.io/version: 0.76.1
|
operator.prometheus.io/version: 0.76.2
|
||||||
name: podmonitors.monitoring.coreos.com
|
name: podmonitors.monitoring.coreos.com
|
||||||
spec:
|
spec:
|
||||||
group: monitoring.coreos.com
|
group: monitoring.coreos.com
|
||||||
@@ -29,6 +29,7 @@ spec:
|
|||||||
* Authentication credentials to use.
|
* Authentication credentials to use.
|
||||||
* Target and metric relabeling.
|
* Target and metric relabeling.
|
||||||
|
|
||||||
|
|
||||||
`Prometheus` and `PrometheusAgent` objects select `PodMonitor` objects using label and namespace selectors.
|
`Prometheus` and `PrometheusAgent` objects select `PodMonitor` objects using label and namespace selectors.
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
@@ -56,6 +57,7 @@ spec:
|
|||||||
`attachMetadata` defines additional metadata which is added to the
|
`attachMetadata` defines additional metadata which is added to the
|
||||||
discovered targets.
|
discovered targets.
|
||||||
|
|
||||||
|
|
||||||
It requires Prometheus >= v2.35.0.
|
It requires Prometheus >= v2.35.0.
|
||||||
properties:
|
properties:
|
||||||
node:
|
node:
|
||||||
@@ -63,6 +65,7 @@ spec:
|
|||||||
When set to true, Prometheus attaches node metadata to the discovered
|
When set to true, Prometheus attaches node metadata to the discovered
|
||||||
targets.
|
targets.
|
||||||
|
|
||||||
|
|
||||||
The Prometheus service account must have the `list` and `watch`
|
The Prometheus service account must have the `list` and `watch`
|
||||||
permissions on the `Nodes` objects.
|
permissions on the `Nodes` objects.
|
||||||
type: boolean
|
type: boolean
|
||||||
@@ -72,6 +75,7 @@ spec:
|
|||||||
When defined, bodySizeLimit specifies a job level limit on the size
|
When defined, bodySizeLimit specifies a job level limit on the size
|
||||||
of uncompressed response body that will be accepted by Prometheus.
|
of uncompressed response body that will be accepted by Prometheus.
|
||||||
|
|
||||||
|
|
||||||
It requires Prometheus >= v2.28.0.
|
It requires Prometheus >= v2.28.0.
|
||||||
pattern: (^0|([0-9]*[.])?[0-9]+((K|M|G|T|E|P)i?)?B)$
|
pattern: (^0|([0-9]*[.])?[0-9]+((K|M|G|T|E|P)i?)?B)$
|
||||||
type: string
|
type: string
|
||||||
@@ -81,10 +85,12 @@ spec:
|
|||||||
`jobLabel` selects the label from the associated Kubernetes `Pod`
|
`jobLabel` selects the label from the associated Kubernetes `Pod`
|
||||||
object which will be used as the `job` label for all metrics.
|
object which will be used as the `job` label for all metrics.
|
||||||
|
|
||||||
|
|
||||||
For example if `jobLabel` is set to `foo` and the Kubernetes `Pod`
|
For example if `jobLabel` is set to `foo` and the Kubernetes `Pod`
|
||||||
object is labeled with `foo: bar`, then Prometheus adds the `job="bar"`
|
object is labeled with `foo: bar`, then Prometheus adds the `job="bar"`
|
||||||
label to all ingested metrics.
|
label to all ingested metrics.
|
||||||
|
|
||||||
|
|
||||||
If the value of this field is empty, the `job` label of the metrics
|
If the value of this field is empty, the `job` label of the metrics
|
||||||
defaults to the namespace and name of the PodMonitor object (e.g. `<namespace>/<name>`).
|
defaults to the namespace and name of the PodMonitor object (e.g. `<namespace>/<name>`).
|
||||||
type: string
|
type: string
|
||||||
@@ -93,6 +99,7 @@ spec:
|
|||||||
Per-scrape limit on the number of targets dropped by relabeling
|
Per-scrape limit on the number of targets dropped by relabeling
|
||||||
that will be kept in memory. 0 means no limit.
|
that will be kept in memory. 0 means no limit.
|
||||||
|
|
||||||
|
|
||||||
It requires Prometheus >= v2.47.0.
|
It requires Prometheus >= v2.47.0.
|
||||||
format: int64
|
format: int64
|
||||||
type: integer
|
type: integer
|
||||||
@@ -100,6 +107,7 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Per-scrape limit on number of labels that will be accepted for a sample.
|
Per-scrape limit on number of labels that will be accepted for a sample.
|
||||||
|
|
||||||
|
|
||||||
It requires Prometheus >= v2.27.0.
|
It requires Prometheus >= v2.27.0.
|
||||||
format: int64
|
format: int64
|
||||||
type: integer
|
type: integer
|
||||||
@@ -107,6 +115,7 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Per-scrape limit on length of labels name that will be accepted for a sample.
|
Per-scrape limit on length of labels name that will be accepted for a sample.
|
||||||
|
|
||||||
|
|
||||||
It requires Prometheus >= v2.27.0.
|
It requires Prometheus >= v2.27.0.
|
||||||
format: int64
|
format: int64
|
||||||
type: integer
|
type: integer
|
||||||
@@ -114,6 +123,7 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Per-scrape limit on length of labels value that will be accepted for a sample.
|
Per-scrape limit on length of labels value that will be accepted for a sample.
|
||||||
|
|
||||||
|
|
||||||
It requires Prometheus >= v2.27.0.
|
It requires Prometheus >= v2.27.0.
|
||||||
format: int64
|
format: int64
|
||||||
type: integer
|
type: integer
|
||||||
@@ -145,6 +155,7 @@ spec:
|
|||||||
`authorization` configures the Authorization header credentials to use when
|
`authorization` configures the Authorization header credentials to use when
|
||||||
scraping the target.
|
scraping the target.
|
||||||
|
|
||||||
|
|
||||||
Cannot be set at the same time as `basicAuth`, or `oauth2`.
|
Cannot be set at the same time as `basicAuth`, or `oauth2`.
|
||||||
properties:
|
properties:
|
||||||
credentials:
|
credentials:
|
||||||
@@ -160,7 +171,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must be defined
|
||||||
@@ -173,8 +186,10 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Defines the authentication type. The value is case-insensitive.
|
Defines the authentication type. The value is case-insensitive.
|
||||||
|
|
||||||
|
|
||||||
"Basic" is not a supported value.
|
"Basic" is not a supported value.
|
||||||
|
|
||||||
|
|
||||||
Default: "Bearer"
|
Default: "Bearer"
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
@@ -183,6 +198,7 @@ spec:
|
|||||||
`basicAuth` configures the Basic Authentication credentials to use when
|
`basicAuth` configures the Basic Authentication credentials to use when
|
||||||
scraping the target.
|
scraping the target.
|
||||||
|
|
||||||
|
|
||||||
Cannot be set at the same time as `authorization`, or `oauth2`.
|
Cannot be set at the same time as `authorization`, or `oauth2`.
|
||||||
properties:
|
properties:
|
||||||
password:
|
password:
|
||||||
@@ -200,7 +216,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must be defined
|
||||||
@@ -224,7 +242,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must be defined
|
||||||
@@ -240,6 +260,7 @@ spec:
|
|||||||
token for scraping targets. The secret needs to be in the same namespace
|
token for scraping targets. The secret needs to be in the same namespace
|
||||||
as the PodMonitor object and readable by the Prometheus Operator.
|
as the PodMonitor object and readable by the Prometheus Operator.
|
||||||
|
|
||||||
|
|
||||||
Deprecated: use `authorization` instead.
|
Deprecated: use `authorization` instead.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
@@ -252,7 +273,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must be defined
|
||||||
@@ -269,8 +292,10 @@ spec:
|
|||||||
When true, the pods which are not running (e.g. either in Failed or
|
When true, the pods which are not running (e.g. either in Failed or
|
||||||
Succeeded state) are dropped during the target discovery.
|
Succeeded state) are dropped during the target discovery.
|
||||||
|
|
||||||
|
|
||||||
If unset, the filtering is enabled.
|
If unset, the filtering is enabled.
|
||||||
|
|
||||||
|
|
||||||
More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-phase
|
More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-phase
|
||||||
type: boolean
|
type: boolean
|
||||||
followRedirects:
|
followRedirects:
|
||||||
@@ -292,6 +317,7 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Interval at which Prometheus scrapes the metrics from the target.
|
Interval at which Prometheus scrapes the metrics from the target.
|
||||||
|
|
||||||
|
|
||||||
If empty, Prometheus uses the global scrape interval.
|
If empty, Prometheus uses the global scrape interval.
|
||||||
pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$
|
pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$
|
||||||
type: string
|
type: string
|
||||||
@@ -304,6 +330,7 @@ spec:
|
|||||||
RelabelConfig allows dynamic rewriting of the label set for targets, alerts,
|
RelabelConfig allows dynamic rewriting of the label set for targets, alerts,
|
||||||
scraped samples and remote write samples.
|
scraped samples and remote write samples.
|
||||||
|
|
||||||
|
|
||||||
More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
|
More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
|
||||||
properties:
|
properties:
|
||||||
action:
|
action:
|
||||||
@@ -311,9 +338,11 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Action to perform based on the regex matching.
|
Action to perform based on the regex matching.
|
||||||
|
|
||||||
|
|
||||||
`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.
|
`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.
|
||||||
`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.
|
`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.
|
||||||
|
|
||||||
|
|
||||||
Default: "Replace"
|
Default: "Replace"
|
||||||
enum:
|
enum:
|
||||||
- replace
|
- replace
|
||||||
@@ -343,6 +372,7 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Modulus to take of the hash of the source label values.
|
Modulus to take of the hash of the source label values.
|
||||||
|
|
||||||
|
|
||||||
Only applicable when the action is `HashMod`.
|
Only applicable when the action is `HashMod`.
|
||||||
format: int64
|
format: int64
|
||||||
type: integer
|
type: integer
|
||||||
@@ -354,6 +384,7 @@ spec:
|
|||||||
Replacement value against which a Replace action is performed if the
|
Replacement value against which a Replace action is performed if the
|
||||||
regular expression matches.
|
regular expression matches.
|
||||||
|
|
||||||
|
|
||||||
Regex capture groups are available.
|
Regex capture groups are available.
|
||||||
type: string
|
type: string
|
||||||
separator:
|
separator:
|
||||||
@@ -375,9 +406,11 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Label to which the resulting string is written in a replacement.
|
Label to which the resulting string is written in a replacement.
|
||||||
|
|
||||||
|
|
||||||
It is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,
|
It is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,
|
||||||
`KeepEqual` and `DropEqual` actions.
|
`KeepEqual` and `DropEqual` actions.
|
||||||
|
|
||||||
|
|
||||||
Regex capture groups are available.
|
Regex capture groups are available.
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
@@ -386,8 +419,10 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
`oauth2` configures the OAuth2 settings to use when scraping the target.
|
`oauth2` configures the OAuth2 settings to use when scraping the target.
|
||||||
|
|
||||||
|
|
||||||
It requires Prometheus >= 2.27.0.
|
It requires Prometheus >= 2.27.0.
|
||||||
|
|
||||||
|
|
||||||
Cannot be set at the same time as `authorization`, or `basicAuth`.
|
Cannot be set at the same time as `authorization`, or `basicAuth`.
|
||||||
properties:
|
properties:
|
||||||
clientId:
|
clientId:
|
||||||
@@ -408,7 +443,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the ConfigMap or its key must be defined
|
description: Specify whether the ConfigMap or its key must be defined
|
||||||
@@ -430,7 +467,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must be defined
|
||||||
@@ -455,7 +494,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must be defined
|
||||||
@@ -477,7 +518,8 @@ spec:
|
|||||||
that should be excluded from proxying. IP and domain names can
|
that should be excluded from proxying. IP and domain names can
|
||||||
contain port numbers.
|
contain port numbers.
|
||||||
|
|
||||||
It requires Prometheus >= v2.43.0 or Alertmanager >= 0.25.0.
|
|
||||||
|
It requires Prometheus >= v2.43.0.
|
||||||
type: string
|
type: string
|
||||||
proxyConnectHeader:
|
proxyConnectHeader:
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
@@ -494,7 +536,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must be defined
|
||||||
@@ -508,17 +552,24 @@ spec:
|
|||||||
ProxyConnectHeader optionally specifies headers to send to
|
ProxyConnectHeader optionally specifies headers to send to
|
||||||
proxies during CONNECT requests.
|
proxies during CONNECT requests.
|
||||||
|
|
||||||
It requires Prometheus >= v2.43.0 or Alertmanager >= 0.25.0.
|
|
||||||
|
It requires Prometheus >= v2.43.0.
|
||||||
type: object
|
type: object
|
||||||
x-kubernetes-map-type: atomic
|
x-kubernetes-map-type: atomic
|
||||||
proxyFromEnvironment:
|
proxyFromEnvironment:
|
||||||
description: |-
|
description: |-
|
||||||
Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).
|
Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).
|
||||||
|
If unset, Prometheus uses its default value.
|
||||||
|
|
||||||
It requires Prometheus >= v2.43.0 or Alertmanager >= 0.25.0.
|
|
||||||
|
It requires Prometheus >= v2.43.0.
|
||||||
type: boolean
|
type: boolean
|
||||||
proxyUrl:
|
proxyUrl:
|
||||||
description: '`proxyURL` defines the HTTP proxy server to use.'
|
description: |-
|
||||||
|
`proxyURL` defines the HTTP proxy server to use.
|
||||||
|
|
||||||
|
|
||||||
|
It requires Prometheus >= v2.43.0.
|
||||||
pattern: ^http(s)?://.+$
|
pattern: ^http(s)?://.+$
|
||||||
type: string
|
type: string
|
||||||
scopes:
|
scopes:
|
||||||
@@ -547,7 +598,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the ConfigMap or its key must be defined
|
description: Specify whether the ConfigMap or its key must be defined
|
||||||
@@ -569,7 +622,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must be defined
|
||||||
@@ -595,7 +650,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the ConfigMap or its key must be defined
|
description: Specify whether the ConfigMap or its key must be defined
|
||||||
@@ -617,7 +674,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must be defined
|
||||||
@@ -643,7 +702,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must be defined
|
||||||
@@ -656,6 +717,7 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Maximum acceptable TLS version.
|
Maximum acceptable TLS version.
|
||||||
|
|
||||||
|
|
||||||
It requires Prometheus >= v2.41.0.
|
It requires Prometheus >= v2.41.0.
|
||||||
enum:
|
enum:
|
||||||
- TLS10
|
- TLS10
|
||||||
@@ -667,6 +729,7 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Minimum acceptable TLS version.
|
Minimum acceptable TLS version.
|
||||||
|
|
||||||
|
|
||||||
It requires Prometheus >= v2.35.0.
|
It requires Prometheus >= v2.35.0.
|
||||||
enum:
|
enum:
|
||||||
- TLS10
|
- TLS10
|
||||||
@@ -698,12 +761,14 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
HTTP path from which to scrape for metrics.
|
HTTP path from which to scrape for metrics.
|
||||||
|
|
||||||
|
|
||||||
If empty, Prometheus uses the default value (e.g. `/metrics`).
|
If empty, Prometheus uses the default value (e.g. `/metrics`).
|
||||||
type: string
|
type: string
|
||||||
port:
|
port:
|
||||||
description: |-
|
description: |-
|
||||||
Name of the Pod port which this endpoint refers to.
|
Name of the Pod port which this endpoint refers to.
|
||||||
|
|
||||||
|
|
||||||
It takes precedence over `targetPort`.
|
It takes precedence over `targetPort`.
|
||||||
type: string
|
type: string
|
||||||
proxyUrl:
|
proxyUrl:
|
||||||
@@ -716,16 +781,20 @@ spec:
|
|||||||
`relabelings` configures the relabeling rules to apply the target's
|
`relabelings` configures the relabeling rules to apply the target's
|
||||||
metadata labels.
|
metadata labels.
|
||||||
|
|
||||||
|
|
||||||
The Operator automatically adds relabelings for a few standard Kubernetes fields.
|
The Operator automatically adds relabelings for a few standard Kubernetes fields.
|
||||||
|
|
||||||
|
|
||||||
The original scrape job's name is available via the `__tmp_prometheus_job_name` label.
|
The original scrape job's name is available via the `__tmp_prometheus_job_name` label.
|
||||||
|
|
||||||
|
|
||||||
More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
|
More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
|
||||||
items:
|
items:
|
||||||
description: |-
|
description: |-
|
||||||
RelabelConfig allows dynamic rewriting of the label set for targets, alerts,
|
RelabelConfig allows dynamic rewriting of the label set for targets, alerts,
|
||||||
scraped samples and remote write samples.
|
scraped samples and remote write samples.
|
||||||
|
|
||||||
|
|
||||||
More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
|
More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
|
||||||
properties:
|
properties:
|
||||||
action:
|
action:
|
||||||
@@ -733,9 +802,11 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Action to perform based on the regex matching.
|
Action to perform based on the regex matching.
|
||||||
|
|
||||||
|
|
||||||
`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.
|
`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.
|
||||||
`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.
|
`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.
|
||||||
|
|
||||||
|
|
||||||
Default: "Replace"
|
Default: "Replace"
|
||||||
enum:
|
enum:
|
||||||
- replace
|
- replace
|
||||||
@@ -765,6 +836,7 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Modulus to take of the hash of the source label values.
|
Modulus to take of the hash of the source label values.
|
||||||
|
|
||||||
|
|
||||||
Only applicable when the action is `HashMod`.
|
Only applicable when the action is `HashMod`.
|
||||||
format: int64
|
format: int64
|
||||||
type: integer
|
type: integer
|
||||||
@@ -776,6 +848,7 @@ spec:
|
|||||||
Replacement value against which a Replace action is performed if the
|
Replacement value against which a Replace action is performed if the
|
||||||
regular expression matches.
|
regular expression matches.
|
||||||
|
|
||||||
|
|
||||||
Regex capture groups are available.
|
Regex capture groups are available.
|
||||||
type: string
|
type: string
|
||||||
separator:
|
separator:
|
||||||
@@ -797,9 +870,11 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Label to which the resulting string is written in a replacement.
|
Label to which the resulting string is written in a replacement.
|
||||||
|
|
||||||
|
|
||||||
It is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,
|
It is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,
|
||||||
`KeepEqual` and `DropEqual` actions.
|
`KeepEqual` and `DropEqual` actions.
|
||||||
|
|
||||||
|
|
||||||
Regex capture groups are available.
|
Regex capture groups are available.
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
@@ -808,9 +883,11 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
HTTP scheme to use for scraping.
|
HTTP scheme to use for scraping.
|
||||||
|
|
||||||
|
|
||||||
`http` and `https` are the expected values unless you rewrite the
|
`http` and `https` are the expected values unless you rewrite the
|
||||||
`__scheme__` label via relabeling.
|
`__scheme__` label via relabeling.
|
||||||
|
|
||||||
|
|
||||||
If empty, Prometheus uses the default value `http`.
|
If empty, Prometheus uses the default value `http`.
|
||||||
enum:
|
enum:
|
||||||
- http
|
- http
|
||||||
@@ -820,6 +897,7 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Timeout after which Prometheus considers the scrape to be failed.
|
Timeout after which Prometheus considers the scrape to be failed.
|
||||||
|
|
||||||
|
|
||||||
If empty, Prometheus uses the global scrape timeout unless it is less
|
If empty, Prometheus uses the global scrape timeout unless it is less
|
||||||
than the target's scrape interval value in which the latter is used.
|
than the target's scrape interval value in which the latter is used.
|
||||||
pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$
|
pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$
|
||||||
@@ -832,6 +910,7 @@ spec:
|
|||||||
Name or number of the target port of the `Pod` object behind the Service, the
|
Name or number of the target port of the `Pod` object behind the Service, the
|
||||||
port must be specified with container port property.
|
port must be specified with container port property.
|
||||||
|
|
||||||
|
|
||||||
Deprecated: use 'port' instead.
|
Deprecated: use 'port' instead.
|
||||||
x-kubernetes-int-or-string: true
|
x-kubernetes-int-or-string: true
|
||||||
tlsConfig:
|
tlsConfig:
|
||||||
@@ -853,7 +932,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the ConfigMap or its key must be defined
|
description: Specify whether the ConfigMap or its key must be defined
|
||||||
@@ -875,7 +956,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must be defined
|
||||||
@@ -901,7 +984,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the ConfigMap or its key must be defined
|
description: Specify whether the ConfigMap or its key must be defined
|
||||||
@@ -923,7 +1008,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must be defined
|
||||||
@@ -949,7 +1036,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must be defined
|
||||||
@@ -962,6 +1051,7 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Maximum acceptable TLS version.
|
Maximum acceptable TLS version.
|
||||||
|
|
||||||
|
|
||||||
It requires Prometheus >= v2.41.0.
|
It requires Prometheus >= v2.41.0.
|
||||||
enum:
|
enum:
|
||||||
- TLS10
|
- TLS10
|
||||||
@@ -973,6 +1063,7 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Minimum acceptable TLS version.
|
Minimum acceptable TLS version.
|
||||||
|
|
||||||
|
|
||||||
It requires Prometheus >= v2.35.0.
|
It requires Prometheus >= v2.35.0.
|
||||||
enum:
|
enum:
|
||||||
- TLS10
|
- TLS10
|
||||||
@@ -990,6 +1081,7 @@ spec:
|
|||||||
the metrics that have an explicit timestamp present in scraped data.
|
the metrics that have an explicit timestamp present in scraped data.
|
||||||
Has no effect if `honorTimestamps` is false.
|
Has no effect if `honorTimestamps` is false.
|
||||||
|
|
||||||
|
|
||||||
It requires Prometheus >= v2.48.0.
|
It requires Prometheus >= v2.48.0.
|
||||||
type: boolean
|
type: boolean
|
||||||
type: object
|
type: object
|
||||||
@@ -1016,8 +1108,10 @@ spec:
|
|||||||
`scrapeProtocols` defines the protocols to negotiate during a scrape. It tells clients the
|
`scrapeProtocols` defines the protocols to negotiate during a scrape. It tells clients the
|
||||||
protocols supported by Prometheus in order of preference (from most to least preferred).
|
protocols supported by Prometheus in order of preference (from most to least preferred).
|
||||||
|
|
||||||
|
|
||||||
If unset, Prometheus uses its default value.
|
If unset, Prometheus uses its default value.
|
||||||
|
|
||||||
|
|
||||||
It requires Prometheus >= v2.49.0.
|
It requires Prometheus >= v2.49.0.
|
||||||
items:
|
items:
|
||||||
description: |-
|
description: |-
|
||||||
|
|||||||
@@ -2,8 +2,8 @@ apiVersion: apiextensions.k8s.io/v1
|
|||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.16.1
|
controller-gen.kubebuilder.io/version: v0.15.0
|
||||||
operator.prometheus.io/version: 0.76.1
|
operator.prometheus.io/version: 0.76.2
|
||||||
name: probes.monitoring.coreos.com
|
name: probes.monitoring.coreos.com
|
||||||
spec:
|
spec:
|
||||||
group: monitoring.coreos.com
|
group: monitoring.coreos.com
|
||||||
@@ -24,10 +24,12 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
The `Probe` custom resource definition (CRD) defines how to scrape metrics from prober exporters such as the [blackbox exporter](https://github.com/prometheus/blackbox_exporter).
|
The `Probe` custom resource definition (CRD) defines how to scrape metrics from prober exporters such as the [blackbox exporter](https://github.com/prometheus/blackbox_exporter).
|
||||||
|
|
||||||
|
|
||||||
The `Probe` resource needs 2 pieces of information:
|
The `Probe` resource needs 2 pieces of information:
|
||||||
* The list of probed addresses which can be defined statically or by discovering Kubernetes Ingress objects.
|
* The list of probed addresses which can be defined statically or by discovering Kubernetes Ingress objects.
|
||||||
* The prober which exposes the availability of probed endpoints (over various protocols such HTTP, TCP, ICMP, ...) as Prometheus metrics.
|
* The prober which exposes the availability of probed endpoints (over various protocols such HTTP, TCP, ICMP, ...) as Prometheus metrics.
|
||||||
|
|
||||||
|
|
||||||
`Prometheus` and `PrometheusAgent` objects select `Probe` objects using label and namespace selectors.
|
`Prometheus` and `PrometheusAgent` objects select `Probe` objects using label and namespace selectors.
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
@@ -66,7 +68,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must be defined
|
||||||
@@ -79,8 +83,10 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Defines the authentication type. The value is case-insensitive.
|
Defines the authentication type. The value is case-insensitive.
|
||||||
|
|
||||||
|
|
||||||
"Basic" is not a supported value.
|
"Basic" is not a supported value.
|
||||||
|
|
||||||
|
|
||||||
Default: "Bearer"
|
Default: "Bearer"
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
@@ -104,7 +110,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must be defined
|
||||||
@@ -128,7 +136,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must be defined
|
||||||
@@ -154,7 +164,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must be defined
|
||||||
@@ -177,6 +189,7 @@ spec:
|
|||||||
Per-scrape limit on the number of targets dropped by relabeling
|
Per-scrape limit on the number of targets dropped by relabeling
|
||||||
that will be kept in memory. 0 means no limit.
|
that will be kept in memory. 0 means no limit.
|
||||||
|
|
||||||
|
|
||||||
It requires Prometheus >= v2.47.0.
|
It requires Prometheus >= v2.47.0.
|
||||||
format: int64
|
format: int64
|
||||||
type: integer
|
type: integer
|
||||||
@@ -205,6 +218,7 @@ spec:
|
|||||||
RelabelConfig allows dynamic rewriting of the label set for targets, alerts,
|
RelabelConfig allows dynamic rewriting of the label set for targets, alerts,
|
||||||
scraped samples and remote write samples.
|
scraped samples and remote write samples.
|
||||||
|
|
||||||
|
|
||||||
More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
|
More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
|
||||||
properties:
|
properties:
|
||||||
action:
|
action:
|
||||||
@@ -212,9 +226,11 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Action to perform based on the regex matching.
|
Action to perform based on the regex matching.
|
||||||
|
|
||||||
|
|
||||||
`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.
|
`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.
|
||||||
`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.
|
`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.
|
||||||
|
|
||||||
|
|
||||||
Default: "Replace"
|
Default: "Replace"
|
||||||
enum:
|
enum:
|
||||||
- replace
|
- replace
|
||||||
@@ -244,6 +260,7 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Modulus to take of the hash of the source label values.
|
Modulus to take of the hash of the source label values.
|
||||||
|
|
||||||
|
|
||||||
Only applicable when the action is `HashMod`.
|
Only applicable when the action is `HashMod`.
|
||||||
format: int64
|
format: int64
|
||||||
type: integer
|
type: integer
|
||||||
@@ -255,6 +272,7 @@ spec:
|
|||||||
Replacement value against which a Replace action is performed if the
|
Replacement value against which a Replace action is performed if the
|
||||||
regular expression matches.
|
regular expression matches.
|
||||||
|
|
||||||
|
|
||||||
Regex capture groups are available.
|
Regex capture groups are available.
|
||||||
type: string
|
type: string
|
||||||
separator:
|
separator:
|
||||||
@@ -276,9 +294,11 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Label to which the resulting string is written in a replacement.
|
Label to which the resulting string is written in a replacement.
|
||||||
|
|
||||||
|
|
||||||
It is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,
|
It is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,
|
||||||
`KeepEqual` and `DropEqual` actions.
|
`KeepEqual` and `DropEqual` actions.
|
||||||
|
|
||||||
|
|
||||||
Regex capture groups are available.
|
Regex capture groups are available.
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
@@ -310,7 +330,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the ConfigMap or its key must be defined
|
description: Specify whether the ConfigMap or its key must be defined
|
||||||
@@ -332,7 +354,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must be defined
|
||||||
@@ -357,7 +381,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must be defined
|
||||||
@@ -379,7 +405,8 @@ spec:
|
|||||||
that should be excluded from proxying. IP and domain names can
|
that should be excluded from proxying. IP and domain names can
|
||||||
contain port numbers.
|
contain port numbers.
|
||||||
|
|
||||||
It requires Prometheus >= v2.43.0 or Alertmanager >= 0.25.0.
|
|
||||||
|
It requires Prometheus >= v2.43.0.
|
||||||
type: string
|
type: string
|
||||||
proxyConnectHeader:
|
proxyConnectHeader:
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
@@ -396,7 +423,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must be defined
|
||||||
@@ -410,17 +439,24 @@ spec:
|
|||||||
ProxyConnectHeader optionally specifies headers to send to
|
ProxyConnectHeader optionally specifies headers to send to
|
||||||
proxies during CONNECT requests.
|
proxies during CONNECT requests.
|
||||||
|
|
||||||
It requires Prometheus >= v2.43.0 or Alertmanager >= 0.25.0.
|
|
||||||
|
It requires Prometheus >= v2.43.0.
|
||||||
type: object
|
type: object
|
||||||
x-kubernetes-map-type: atomic
|
x-kubernetes-map-type: atomic
|
||||||
proxyFromEnvironment:
|
proxyFromEnvironment:
|
||||||
description: |-
|
description: |-
|
||||||
Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).
|
Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).
|
||||||
|
If unset, Prometheus uses its default value.
|
||||||
|
|
||||||
It requires Prometheus >= v2.43.0 or Alertmanager >= 0.25.0.
|
|
||||||
|
It requires Prometheus >= v2.43.0.
|
||||||
type: boolean
|
type: boolean
|
||||||
proxyUrl:
|
proxyUrl:
|
||||||
description: '`proxyURL` defines the HTTP proxy server to use.'
|
description: |-
|
||||||
|
`proxyURL` defines the HTTP proxy server to use.
|
||||||
|
|
||||||
|
|
||||||
|
It requires Prometheus >= v2.43.0.
|
||||||
pattern: ^http(s)?://.+$
|
pattern: ^http(s)?://.+$
|
||||||
type: string
|
type: string
|
||||||
scopes:
|
scopes:
|
||||||
@@ -449,7 +485,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the ConfigMap or its key must be defined
|
description: Specify whether the ConfigMap or its key must be defined
|
||||||
@@ -471,7 +509,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must be defined
|
||||||
@@ -497,7 +537,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the ConfigMap or its key must be defined
|
description: Specify whether the ConfigMap or its key must be defined
|
||||||
@@ -519,7 +561,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must be defined
|
||||||
@@ -545,7 +589,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must be defined
|
||||||
@@ -558,6 +604,7 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Maximum acceptable TLS version.
|
Maximum acceptable TLS version.
|
||||||
|
|
||||||
|
|
||||||
It requires Prometheus >= v2.41.0.
|
It requires Prometheus >= v2.41.0.
|
||||||
enum:
|
enum:
|
||||||
- TLS10
|
- TLS10
|
||||||
@@ -569,6 +616,7 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Minimum acceptable TLS version.
|
Minimum acceptable TLS version.
|
||||||
|
|
||||||
|
|
||||||
It requires Prometheus >= v2.35.0.
|
It requires Prometheus >= v2.35.0.
|
||||||
enum:
|
enum:
|
||||||
- TLS10
|
- TLS10
|
||||||
@@ -631,8 +679,10 @@ spec:
|
|||||||
`scrapeProtocols` defines the protocols to negotiate during a scrape. It tells clients the
|
`scrapeProtocols` defines the protocols to negotiate during a scrape. It tells clients the
|
||||||
protocols supported by Prometheus in order of preference (from most to least preferred).
|
protocols supported by Prometheus in order of preference (from most to least preferred).
|
||||||
|
|
||||||
|
|
||||||
If unset, Prometheus uses its default value.
|
If unset, Prometheus uses its default value.
|
||||||
|
|
||||||
|
|
||||||
It requires Prometheus >= v2.49.0.
|
It requires Prometheus >= v2.49.0.
|
||||||
items:
|
items:
|
||||||
description: |-
|
description: |-
|
||||||
@@ -697,6 +747,7 @@ spec:
|
|||||||
RelabelConfig allows dynamic rewriting of the label set for targets, alerts,
|
RelabelConfig allows dynamic rewriting of the label set for targets, alerts,
|
||||||
scraped samples and remote write samples.
|
scraped samples and remote write samples.
|
||||||
|
|
||||||
|
|
||||||
More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
|
More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
|
||||||
properties:
|
properties:
|
||||||
action:
|
action:
|
||||||
@@ -704,9 +755,11 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Action to perform based on the regex matching.
|
Action to perform based on the regex matching.
|
||||||
|
|
||||||
|
|
||||||
`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.
|
`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.
|
||||||
`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.
|
`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.
|
||||||
|
|
||||||
|
|
||||||
Default: "Replace"
|
Default: "Replace"
|
||||||
enum:
|
enum:
|
||||||
- replace
|
- replace
|
||||||
@@ -736,6 +789,7 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Modulus to take of the hash of the source label values.
|
Modulus to take of the hash of the source label values.
|
||||||
|
|
||||||
|
|
||||||
Only applicable when the action is `HashMod`.
|
Only applicable when the action is `HashMod`.
|
||||||
format: int64
|
format: int64
|
||||||
type: integer
|
type: integer
|
||||||
@@ -747,6 +801,7 @@ spec:
|
|||||||
Replacement value against which a Replace action is performed if the
|
Replacement value against which a Replace action is performed if the
|
||||||
regular expression matches.
|
regular expression matches.
|
||||||
|
|
||||||
|
|
||||||
Regex capture groups are available.
|
Regex capture groups are available.
|
||||||
type: string
|
type: string
|
||||||
separator:
|
separator:
|
||||||
@@ -768,9 +823,11 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Label to which the resulting string is written in a replacement.
|
Label to which the resulting string is written in a replacement.
|
||||||
|
|
||||||
|
|
||||||
It is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,
|
It is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,
|
||||||
`KeepEqual` and `DropEqual` actions.
|
`KeepEqual` and `DropEqual` actions.
|
||||||
|
|
||||||
|
|
||||||
Regex capture groups are available.
|
Regex capture groups are available.
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
@@ -842,6 +899,7 @@ spec:
|
|||||||
RelabelConfig allows dynamic rewriting of the label set for targets, alerts,
|
RelabelConfig allows dynamic rewriting of the label set for targets, alerts,
|
||||||
scraped samples and remote write samples.
|
scraped samples and remote write samples.
|
||||||
|
|
||||||
|
|
||||||
More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
|
More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
|
||||||
properties:
|
properties:
|
||||||
action:
|
action:
|
||||||
@@ -849,9 +907,11 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Action to perform based on the regex matching.
|
Action to perform based on the regex matching.
|
||||||
|
|
||||||
|
|
||||||
`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.
|
`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.
|
||||||
`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.
|
`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.
|
||||||
|
|
||||||
|
|
||||||
Default: "Replace"
|
Default: "Replace"
|
||||||
enum:
|
enum:
|
||||||
- replace
|
- replace
|
||||||
@@ -881,6 +941,7 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Modulus to take of the hash of the source label values.
|
Modulus to take of the hash of the source label values.
|
||||||
|
|
||||||
|
|
||||||
Only applicable when the action is `HashMod`.
|
Only applicable when the action is `HashMod`.
|
||||||
format: int64
|
format: int64
|
||||||
type: integer
|
type: integer
|
||||||
@@ -892,6 +953,7 @@ spec:
|
|||||||
Replacement value against which a Replace action is performed if the
|
Replacement value against which a Replace action is performed if the
|
||||||
regular expression matches.
|
regular expression matches.
|
||||||
|
|
||||||
|
|
||||||
Regex capture groups are available.
|
Regex capture groups are available.
|
||||||
type: string
|
type: string
|
||||||
separator:
|
separator:
|
||||||
@@ -913,9 +975,11 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Label to which the resulting string is written in a replacement.
|
Label to which the resulting string is written in a replacement.
|
||||||
|
|
||||||
|
|
||||||
It is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,
|
It is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,
|
||||||
`KeepEqual` and `DropEqual` actions.
|
`KeepEqual` and `DropEqual` actions.
|
||||||
|
|
||||||
|
|
||||||
Regex capture groups are available.
|
Regex capture groups are available.
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
@@ -946,7 +1010,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the ConfigMap or its key must be defined
|
description: Specify whether the ConfigMap or its key must be defined
|
||||||
@@ -968,7 +1034,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must be defined
|
||||||
@@ -994,7 +1062,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the ConfigMap or its key must be defined
|
description: Specify whether the ConfigMap or its key must be defined
|
||||||
@@ -1016,7 +1086,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must be defined
|
||||||
@@ -1042,7 +1114,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must be defined
|
||||||
@@ -1055,6 +1129,7 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Maximum acceptable TLS version.
|
Maximum acceptable TLS version.
|
||||||
|
|
||||||
|
|
||||||
It requires Prometheus >= v2.41.0.
|
It requires Prometheus >= v2.41.0.
|
||||||
enum:
|
enum:
|
||||||
- TLS10
|
- TLS10
|
||||||
@@ -1066,6 +1141,7 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Minimum acceptable TLS version.
|
Minimum acceptable TLS version.
|
||||||
|
|
||||||
|
|
||||||
It requires Prometheus >= v2.35.0.
|
It requires Prometheus >= v2.35.0.
|
||||||
enum:
|
enum:
|
||||||
- TLS10
|
- TLS10
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -2,8 +2,8 @@ apiVersion: apiextensions.k8s.io/v1
|
|||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.16.1
|
controller-gen.kubebuilder.io/version: v0.15.0
|
||||||
operator.prometheus.io/version: 0.76.1
|
operator.prometheus.io/version: 0.76.2
|
||||||
name: prometheusrules.monitoring.coreos.com
|
name: prometheusrules.monitoring.coreos.com
|
||||||
spec:
|
spec:
|
||||||
group: monitoring.coreos.com
|
group: monitoring.coreos.com
|
||||||
@@ -24,6 +24,7 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
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.
|
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.
|
||||||
|
|
||||||
|
|
||||||
`Prometheus` and `ThanosRuler` objects select `PrometheusRule` objects using label and namespace selectors.
|
`Prometheus` and `ThanosRuler` objects select `PrometheusRule` objects using label and namespace selectors.
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -2,8 +2,8 @@ apiVersion: apiextensions.k8s.io/v1
|
|||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.16.1
|
controller-gen.kubebuilder.io/version: v0.15.0
|
||||||
operator.prometheus.io/version: 0.76.1
|
operator.prometheus.io/version: 0.76.2
|
||||||
name: servicemonitors.monitoring.coreos.com
|
name: servicemonitors.monitoring.coreos.com
|
||||||
spec:
|
spec:
|
||||||
group: monitoring.coreos.com
|
group: monitoring.coreos.com
|
||||||
@@ -29,6 +29,7 @@ spec:
|
|||||||
* Authentication credentials to use.
|
* Authentication credentials to use.
|
||||||
* Target and metric relabeling.
|
* Target and metric relabeling.
|
||||||
|
|
||||||
|
|
||||||
`Prometheus` and `PrometheusAgent` objects select `ServiceMonitor` objects using label and namespace selectors.
|
`Prometheus` and `PrometheusAgent` objects select `ServiceMonitor` objects using label and namespace selectors.
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
@@ -58,6 +59,7 @@ spec:
|
|||||||
`attachMetadata` defines additional metadata which is added to the
|
`attachMetadata` defines additional metadata which is added to the
|
||||||
discovered targets.
|
discovered targets.
|
||||||
|
|
||||||
|
|
||||||
It requires Prometheus >= v2.37.0.
|
It requires Prometheus >= v2.37.0.
|
||||||
properties:
|
properties:
|
||||||
node:
|
node:
|
||||||
@@ -65,6 +67,7 @@ spec:
|
|||||||
When set to true, Prometheus attaches node metadata to the discovered
|
When set to true, Prometheus attaches node metadata to the discovered
|
||||||
targets.
|
targets.
|
||||||
|
|
||||||
|
|
||||||
The Prometheus service account must have the `list` and `watch`
|
The Prometheus service account must have the `list` and `watch`
|
||||||
permissions on the `Nodes` objects.
|
permissions on the `Nodes` objects.
|
||||||
type: boolean
|
type: boolean
|
||||||
@@ -74,6 +77,7 @@ spec:
|
|||||||
When defined, bodySizeLimit specifies a job level limit on the size
|
When defined, bodySizeLimit specifies a job level limit on the size
|
||||||
of uncompressed response body that will be accepted by Prometheus.
|
of uncompressed response body that will be accepted by Prometheus.
|
||||||
|
|
||||||
|
|
||||||
It requires Prometheus >= v2.28.0.
|
It requires Prometheus >= v2.28.0.
|
||||||
pattern: (^0|([0-9]*[.])?[0-9]+((K|M|G|T|E|P)i?)?B)$
|
pattern: (^0|([0-9]*[.])?[0-9]+((K|M|G|T|E|P)i?)?B)$
|
||||||
type: string
|
type: string
|
||||||
@@ -92,6 +96,7 @@ spec:
|
|||||||
`authorization` configures the Authorization header credentials to use when
|
`authorization` configures the Authorization header credentials to use when
|
||||||
scraping the target.
|
scraping the target.
|
||||||
|
|
||||||
|
|
||||||
Cannot be set at the same time as `basicAuth`, or `oauth2`.
|
Cannot be set at the same time as `basicAuth`, or `oauth2`.
|
||||||
properties:
|
properties:
|
||||||
credentials:
|
credentials:
|
||||||
@@ -107,7 +112,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must be defined
|
||||||
@@ -120,8 +127,10 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Defines the authentication type. The value is case-insensitive.
|
Defines the authentication type. The value is case-insensitive.
|
||||||
|
|
||||||
|
|
||||||
"Basic" is not a supported value.
|
"Basic" is not a supported value.
|
||||||
|
|
||||||
|
|
||||||
Default: "Bearer"
|
Default: "Bearer"
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
@@ -130,6 +139,7 @@ spec:
|
|||||||
`basicAuth` configures the Basic Authentication credentials to use when
|
`basicAuth` configures the Basic Authentication credentials to use when
|
||||||
scraping the target.
|
scraping the target.
|
||||||
|
|
||||||
|
|
||||||
Cannot be set at the same time as `authorization`, or `oauth2`.
|
Cannot be set at the same time as `authorization`, or `oauth2`.
|
||||||
properties:
|
properties:
|
||||||
password:
|
password:
|
||||||
@@ -147,7 +157,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must be defined
|
||||||
@@ -171,7 +183,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must be defined
|
||||||
@@ -185,6 +199,7 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
File to read bearer token for scraping the target.
|
File to read bearer token for scraping the target.
|
||||||
|
|
||||||
|
|
||||||
Deprecated: use `authorization` instead.
|
Deprecated: use `authorization` instead.
|
||||||
type: string
|
type: string
|
||||||
bearerTokenSecret:
|
bearerTokenSecret:
|
||||||
@@ -193,6 +208,7 @@ spec:
|
|||||||
token for scraping targets. The secret needs to be in the same namespace
|
token for scraping targets. The secret needs to be in the same namespace
|
||||||
as the ServiceMonitor object and readable by the Prometheus Operator.
|
as the ServiceMonitor object and readable by the Prometheus Operator.
|
||||||
|
|
||||||
|
|
||||||
Deprecated: use `authorization` instead.
|
Deprecated: use `authorization` instead.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
@@ -205,7 +221,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must be defined
|
||||||
@@ -222,8 +240,10 @@ spec:
|
|||||||
When true, the pods which are not running (e.g. either in Failed or
|
When true, the pods which are not running (e.g. either in Failed or
|
||||||
Succeeded state) are dropped during the target discovery.
|
Succeeded state) are dropped during the target discovery.
|
||||||
|
|
||||||
|
|
||||||
If unset, the filtering is enabled.
|
If unset, the filtering is enabled.
|
||||||
|
|
||||||
|
|
||||||
More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-phase
|
More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-phase
|
||||||
type: boolean
|
type: boolean
|
||||||
followRedirects:
|
followRedirects:
|
||||||
@@ -245,6 +265,7 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Interval at which Prometheus scrapes the metrics from the target.
|
Interval at which Prometheus scrapes the metrics from the target.
|
||||||
|
|
||||||
|
|
||||||
If empty, Prometheus uses the global scrape interval.
|
If empty, Prometheus uses the global scrape interval.
|
||||||
pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$
|
pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$
|
||||||
type: string
|
type: string
|
||||||
@@ -257,6 +278,7 @@ spec:
|
|||||||
RelabelConfig allows dynamic rewriting of the label set for targets, alerts,
|
RelabelConfig allows dynamic rewriting of the label set for targets, alerts,
|
||||||
scraped samples and remote write samples.
|
scraped samples and remote write samples.
|
||||||
|
|
||||||
|
|
||||||
More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
|
More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
|
||||||
properties:
|
properties:
|
||||||
action:
|
action:
|
||||||
@@ -264,9 +286,11 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Action to perform based on the regex matching.
|
Action to perform based on the regex matching.
|
||||||
|
|
||||||
|
|
||||||
`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.
|
`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.
|
||||||
`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.
|
`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.
|
||||||
|
|
||||||
|
|
||||||
Default: "Replace"
|
Default: "Replace"
|
||||||
enum:
|
enum:
|
||||||
- replace
|
- replace
|
||||||
@@ -296,6 +320,7 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Modulus to take of the hash of the source label values.
|
Modulus to take of the hash of the source label values.
|
||||||
|
|
||||||
|
|
||||||
Only applicable when the action is `HashMod`.
|
Only applicable when the action is `HashMod`.
|
||||||
format: int64
|
format: int64
|
||||||
type: integer
|
type: integer
|
||||||
@@ -307,6 +332,7 @@ spec:
|
|||||||
Replacement value against which a Replace action is performed if the
|
Replacement value against which a Replace action is performed if the
|
||||||
regular expression matches.
|
regular expression matches.
|
||||||
|
|
||||||
|
|
||||||
Regex capture groups are available.
|
Regex capture groups are available.
|
||||||
type: string
|
type: string
|
||||||
separator:
|
separator:
|
||||||
@@ -328,9 +354,11 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Label to which the resulting string is written in a replacement.
|
Label to which the resulting string is written in a replacement.
|
||||||
|
|
||||||
|
|
||||||
It is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,
|
It is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,
|
||||||
`KeepEqual` and `DropEqual` actions.
|
`KeepEqual` and `DropEqual` actions.
|
||||||
|
|
||||||
|
|
||||||
Regex capture groups are available.
|
Regex capture groups are available.
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
@@ -339,8 +367,10 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
`oauth2` configures the OAuth2 settings to use when scraping the target.
|
`oauth2` configures the OAuth2 settings to use when scraping the target.
|
||||||
|
|
||||||
|
|
||||||
It requires Prometheus >= 2.27.0.
|
It requires Prometheus >= 2.27.0.
|
||||||
|
|
||||||
|
|
||||||
Cannot be set at the same time as `authorization`, or `basicAuth`.
|
Cannot be set at the same time as `authorization`, or `basicAuth`.
|
||||||
properties:
|
properties:
|
||||||
clientId:
|
clientId:
|
||||||
@@ -361,7 +391,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the ConfigMap or its key must be defined
|
description: Specify whether the ConfigMap or its key must be defined
|
||||||
@@ -383,7 +415,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must be defined
|
||||||
@@ -408,7 +442,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must be defined
|
||||||
@@ -430,7 +466,8 @@ spec:
|
|||||||
that should be excluded from proxying. IP and domain names can
|
that should be excluded from proxying. IP and domain names can
|
||||||
contain port numbers.
|
contain port numbers.
|
||||||
|
|
||||||
It requires Prometheus >= v2.43.0 or Alertmanager >= 0.25.0.
|
|
||||||
|
It requires Prometheus >= v2.43.0.
|
||||||
type: string
|
type: string
|
||||||
proxyConnectHeader:
|
proxyConnectHeader:
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
@@ -447,7 +484,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must be defined
|
||||||
@@ -461,17 +500,24 @@ spec:
|
|||||||
ProxyConnectHeader optionally specifies headers to send to
|
ProxyConnectHeader optionally specifies headers to send to
|
||||||
proxies during CONNECT requests.
|
proxies during CONNECT requests.
|
||||||
|
|
||||||
It requires Prometheus >= v2.43.0 or Alertmanager >= 0.25.0.
|
|
||||||
|
It requires Prometheus >= v2.43.0.
|
||||||
type: object
|
type: object
|
||||||
x-kubernetes-map-type: atomic
|
x-kubernetes-map-type: atomic
|
||||||
proxyFromEnvironment:
|
proxyFromEnvironment:
|
||||||
description: |-
|
description: |-
|
||||||
Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).
|
Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).
|
||||||
|
If unset, Prometheus uses its default value.
|
||||||
|
|
||||||
It requires Prometheus >= v2.43.0 or Alertmanager >= 0.25.0.
|
|
||||||
|
It requires Prometheus >= v2.43.0.
|
||||||
type: boolean
|
type: boolean
|
||||||
proxyUrl:
|
proxyUrl:
|
||||||
description: '`proxyURL` defines the HTTP proxy server to use.'
|
description: |-
|
||||||
|
`proxyURL` defines the HTTP proxy server to use.
|
||||||
|
|
||||||
|
|
||||||
|
It requires Prometheus >= v2.43.0.
|
||||||
pattern: ^http(s)?://.+$
|
pattern: ^http(s)?://.+$
|
||||||
type: string
|
type: string
|
||||||
scopes:
|
scopes:
|
||||||
@@ -500,7 +546,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the ConfigMap or its key must be defined
|
description: Specify whether the ConfigMap or its key must be defined
|
||||||
@@ -522,7 +570,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must be defined
|
||||||
@@ -548,7 +598,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the ConfigMap or its key must be defined
|
description: Specify whether the ConfigMap or its key must be defined
|
||||||
@@ -570,7 +622,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must be defined
|
||||||
@@ -596,7 +650,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must be defined
|
||||||
@@ -609,6 +665,7 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Maximum acceptable TLS version.
|
Maximum acceptable TLS version.
|
||||||
|
|
||||||
|
|
||||||
It requires Prometheus >= v2.41.0.
|
It requires Prometheus >= v2.41.0.
|
||||||
enum:
|
enum:
|
||||||
- TLS10
|
- TLS10
|
||||||
@@ -620,6 +677,7 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Minimum acceptable TLS version.
|
Minimum acceptable TLS version.
|
||||||
|
|
||||||
|
|
||||||
It requires Prometheus >= v2.35.0.
|
It requires Prometheus >= v2.35.0.
|
||||||
enum:
|
enum:
|
||||||
- TLS10
|
- TLS10
|
||||||
@@ -651,12 +709,14 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
HTTP path from which to scrape for metrics.
|
HTTP path from which to scrape for metrics.
|
||||||
|
|
||||||
|
|
||||||
If empty, Prometheus uses the default value (e.g. `/metrics`).
|
If empty, Prometheus uses the default value (e.g. `/metrics`).
|
||||||
type: string
|
type: string
|
||||||
port:
|
port:
|
||||||
description: |-
|
description: |-
|
||||||
Name of the Service port which this endpoint refers to.
|
Name of the Service port which this endpoint refers to.
|
||||||
|
|
||||||
|
|
||||||
It takes precedence over `targetPort`.
|
It takes precedence over `targetPort`.
|
||||||
type: string
|
type: string
|
||||||
proxyUrl:
|
proxyUrl:
|
||||||
@@ -669,16 +729,20 @@ spec:
|
|||||||
`relabelings` configures the relabeling rules to apply the target's
|
`relabelings` configures the relabeling rules to apply the target's
|
||||||
metadata labels.
|
metadata labels.
|
||||||
|
|
||||||
|
|
||||||
The Operator automatically adds relabelings for a few standard Kubernetes fields.
|
The Operator automatically adds relabelings for a few standard Kubernetes fields.
|
||||||
|
|
||||||
|
|
||||||
The original scrape job's name is available via the `__tmp_prometheus_job_name` label.
|
The original scrape job's name is available via the `__tmp_prometheus_job_name` label.
|
||||||
|
|
||||||
|
|
||||||
More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
|
More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
|
||||||
items:
|
items:
|
||||||
description: |-
|
description: |-
|
||||||
RelabelConfig allows dynamic rewriting of the label set for targets, alerts,
|
RelabelConfig allows dynamic rewriting of the label set for targets, alerts,
|
||||||
scraped samples and remote write samples.
|
scraped samples and remote write samples.
|
||||||
|
|
||||||
|
|
||||||
More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
|
More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
|
||||||
properties:
|
properties:
|
||||||
action:
|
action:
|
||||||
@@ -686,9 +750,11 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Action to perform based on the regex matching.
|
Action to perform based on the regex matching.
|
||||||
|
|
||||||
|
|
||||||
`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.
|
`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.
|
||||||
`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.
|
`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.
|
||||||
|
|
||||||
|
|
||||||
Default: "Replace"
|
Default: "Replace"
|
||||||
enum:
|
enum:
|
||||||
- replace
|
- replace
|
||||||
@@ -718,6 +784,7 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Modulus to take of the hash of the source label values.
|
Modulus to take of the hash of the source label values.
|
||||||
|
|
||||||
|
|
||||||
Only applicable when the action is `HashMod`.
|
Only applicable when the action is `HashMod`.
|
||||||
format: int64
|
format: int64
|
||||||
type: integer
|
type: integer
|
||||||
@@ -729,6 +796,7 @@ spec:
|
|||||||
Replacement value against which a Replace action is performed if the
|
Replacement value against which a Replace action is performed if the
|
||||||
regular expression matches.
|
regular expression matches.
|
||||||
|
|
||||||
|
|
||||||
Regex capture groups are available.
|
Regex capture groups are available.
|
||||||
type: string
|
type: string
|
||||||
separator:
|
separator:
|
||||||
@@ -750,9 +818,11 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Label to which the resulting string is written in a replacement.
|
Label to which the resulting string is written in a replacement.
|
||||||
|
|
||||||
|
|
||||||
It is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,
|
It is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,
|
||||||
`KeepEqual` and `DropEqual` actions.
|
`KeepEqual` and `DropEqual` actions.
|
||||||
|
|
||||||
|
|
||||||
Regex capture groups are available.
|
Regex capture groups are available.
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
@@ -761,9 +831,11 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
HTTP scheme to use for scraping.
|
HTTP scheme to use for scraping.
|
||||||
|
|
||||||
|
|
||||||
`http` and `https` are the expected values unless you rewrite the
|
`http` and `https` are the expected values unless you rewrite the
|
||||||
`__scheme__` label via relabeling.
|
`__scheme__` label via relabeling.
|
||||||
|
|
||||||
|
|
||||||
If empty, Prometheus uses the default value `http`.
|
If empty, Prometheus uses the default value `http`.
|
||||||
enum:
|
enum:
|
||||||
- http
|
- http
|
||||||
@@ -773,6 +845,7 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Timeout after which Prometheus considers the scrape to be failed.
|
Timeout after which Prometheus considers the scrape to be failed.
|
||||||
|
|
||||||
|
|
||||||
If empty, Prometheus uses the global scrape timeout unless it is less
|
If empty, Prometheus uses the global scrape timeout unless it is less
|
||||||
than the target's scrape interval value in which the latter is used.
|
than the target's scrape interval value in which the latter is used.
|
||||||
pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$
|
pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$
|
||||||
@@ -804,7 +877,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the ConfigMap or its key must be defined
|
description: Specify whether the ConfigMap or its key must be defined
|
||||||
@@ -826,7 +901,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must be defined
|
||||||
@@ -855,7 +932,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the ConfigMap or its key must be defined
|
description: Specify whether the ConfigMap or its key must be defined
|
||||||
@@ -877,7 +956,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must be defined
|
||||||
@@ -909,7 +990,9 @@ spec:
|
|||||||
This field is effectively required, but due to backwards compatibility is
|
This field is effectively required, but due to backwards compatibility is
|
||||||
allowed to be empty. Instances of this type with an empty value here are
|
allowed to be empty. Instances of this type with an empty value here are
|
||||||
almost certainly wrong.
|
almost certainly wrong.
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must be defined
|
||||||
@@ -922,6 +1005,7 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Maximum acceptable TLS version.
|
Maximum acceptable TLS version.
|
||||||
|
|
||||||
|
|
||||||
It requires Prometheus >= v2.41.0.
|
It requires Prometheus >= v2.41.0.
|
||||||
enum:
|
enum:
|
||||||
- TLS10
|
- TLS10
|
||||||
@@ -933,6 +1017,7 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Minimum acceptable TLS version.
|
Minimum acceptable TLS version.
|
||||||
|
|
||||||
|
|
||||||
It requires Prometheus >= v2.35.0.
|
It requires Prometheus >= v2.35.0.
|
||||||
enum:
|
enum:
|
||||||
- TLS10
|
- TLS10
|
||||||
@@ -950,6 +1035,7 @@ spec:
|
|||||||
the metrics that have an explicit timestamp present in scraped data.
|
the metrics that have an explicit timestamp present in scraped data.
|
||||||
Has no effect if `honorTimestamps` is false.
|
Has no effect if `honorTimestamps` is false.
|
||||||
|
|
||||||
|
|
||||||
It requires Prometheus >= v2.48.0.
|
It requires Prometheus >= v2.48.0.
|
||||||
type: boolean
|
type: boolean
|
||||||
type: object
|
type: object
|
||||||
@@ -959,10 +1045,12 @@ spec:
|
|||||||
`jobLabel` selects the label from the associated Kubernetes `Service`
|
`jobLabel` selects the label from the associated Kubernetes `Service`
|
||||||
object which will be used as the `job` label for all metrics.
|
object which will be used as the `job` label for all metrics.
|
||||||
|
|
||||||
|
|
||||||
For example if `jobLabel` is set to `foo` and the Kubernetes `Service`
|
For example if `jobLabel` is set to `foo` and the Kubernetes `Service`
|
||||||
object is labeled with `foo: bar`, then Prometheus adds the `job="bar"`
|
object is labeled with `foo: bar`, then Prometheus adds the `job="bar"`
|
||||||
label to all ingested metrics.
|
label to all ingested metrics.
|
||||||
|
|
||||||
|
|
||||||
If the value of this field is empty or if the label doesn't exist for
|
If the value of this field is empty or if the label doesn't exist for
|
||||||
the given Service, the `job` label of the metrics defaults to the name
|
the given Service, the `job` label of the metrics defaults to the name
|
||||||
of the associated Kubernetes `Service`.
|
of the associated Kubernetes `Service`.
|
||||||
@@ -972,6 +1060,7 @@ spec:
|
|||||||
Per-scrape limit on the number of targets dropped by relabeling
|
Per-scrape limit on the number of targets dropped by relabeling
|
||||||
that will be kept in memory. 0 means no limit.
|
that will be kept in memory. 0 means no limit.
|
||||||
|
|
||||||
|
|
||||||
It requires Prometheus >= v2.47.0.
|
It requires Prometheus >= v2.47.0.
|
||||||
format: int64
|
format: int64
|
||||||
type: integer
|
type: integer
|
||||||
@@ -979,6 +1068,7 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Per-scrape limit on number of labels that will be accepted for a sample.
|
Per-scrape limit on number of labels that will be accepted for a sample.
|
||||||
|
|
||||||
|
|
||||||
It requires Prometheus >= v2.27.0.
|
It requires Prometheus >= v2.27.0.
|
||||||
format: int64
|
format: int64
|
||||||
type: integer
|
type: integer
|
||||||
@@ -986,6 +1076,7 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Per-scrape limit on length of labels name that will be accepted for a sample.
|
Per-scrape limit on length of labels name that will be accepted for a sample.
|
||||||
|
|
||||||
|
|
||||||
It requires Prometheus >= v2.27.0.
|
It requires Prometheus >= v2.27.0.
|
||||||
format: int64
|
format: int64
|
||||||
type: integer
|
type: integer
|
||||||
@@ -993,6 +1084,7 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
Per-scrape limit on length of labels value that will be accepted for a sample.
|
Per-scrape limit on length of labels value that will be accepted for a sample.
|
||||||
|
|
||||||
|
|
||||||
It requires Prometheus >= v2.27.0.
|
It requires Prometheus >= v2.27.0.
|
||||||
format: int64
|
format: int64
|
||||||
type: integer
|
type: integer
|
||||||
@@ -1034,8 +1126,10 @@ spec:
|
|||||||
`scrapeProtocols` defines the protocols to negotiate during a scrape. It tells clients the
|
`scrapeProtocols` defines the protocols to negotiate during a scrape. It tells clients the
|
||||||
protocols supported by Prometheus in order of preference (from most to least preferred).
|
protocols supported by Prometheus in order of preference (from most to least preferred).
|
||||||
|
|
||||||
|
|
||||||
If unset, Prometheus uses its default value.
|
If unset, Prometheus uses its default value.
|
||||||
|
|
||||||
|
|
||||||
It requires Prometheus >= v2.49.0.
|
It requires Prometheus >= v2.49.0.
|
||||||
items:
|
items:
|
||||||
description: |-
|
description: |-
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user