chore: Update manifests after change
This commit is contained in:
@@ -2,8 +2,8 @@ apiVersion: apiextensions.k8s.io/v1
|
|||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.19.0
|
controller-gen.kubebuilder.io/version: v0.20.1
|
||||||
operator.prometheus.io/version: 0.90.1
|
operator.prometheus.io/version: 0.91.0
|
||||||
name: alertmanagerconfigs.monitoring.coreos.com
|
name: alertmanagerconfigs.monitoring.coreos.com
|
||||||
spec:
|
spec:
|
||||||
group: monitoring.coreos.com
|
group: monitoring.coreos.com
|
||||||
@@ -1066,6 +1066,22 @@ spec:
|
|||||||
This provides a fallback for email clients that don't support HTML.
|
This provides a fallback for email clients that don't support HTML.
|
||||||
minLength: 1
|
minLength: 1
|
||||||
type: string
|
type: string
|
||||||
|
threading:
|
||||||
|
description: |-
|
||||||
|
threading defines the threading configuration for email receiver.
|
||||||
|
It requires Alertmanager >= v0.30.0.
|
||||||
|
properties:
|
||||||
|
threadByDate:
|
||||||
|
description: |-
|
||||||
|
threadByDate defines what granularity of current date to thread by. Accepted values: Daily, None.
|
||||||
|
(None means group by alert group key, no date).
|
||||||
|
enum:
|
||||||
|
- Daily
|
||||||
|
- None
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- threadByDate
|
||||||
|
type: object
|
||||||
tlsConfig:
|
tlsConfig:
|
||||||
description: |-
|
description: |-
|
||||||
tlsConfig defines the TLS configuration for SMTP connections.
|
tlsConfig defines the TLS configuration for SMTP connections.
|
||||||
@@ -7417,6 +7433,12 @@ spec:
|
|||||||
- key
|
- key
|
||||||
type: object
|
type: object
|
||||||
x-kubernetes-map-type: atomic
|
x-kubernetes-map-type: atomic
|
||||||
|
externalId:
|
||||||
|
description: |-
|
||||||
|
externalId defines the external ID used when assuming an AWS role. Can only be used with roleArn.
|
||||||
|
It requires Prometheus >= v3.11.0 or Alertmanager >= v0.33.0. Currently not supported by Thanos.
|
||||||
|
minLength: 1
|
||||||
|
type: string
|
||||||
profile:
|
profile:
|
||||||
description: profile defines the named AWS profile used to authenticate.
|
description: profile defines the named AWS profile used to authenticate.
|
||||||
type: string
|
type: string
|
||||||
@@ -7456,6 +7478,9 @@ spec:
|
|||||||
It requires Prometheus >= v2.54.0.
|
It requires Prometheus >= v2.54.0.
|
||||||
type: boolean
|
type: boolean
|
||||||
type: object
|
type: object
|
||||||
|
x-kubernetes-validations:
|
||||||
|
- message: externalId can only be used when roleArn is specified
|
||||||
|
rule: '!has(self.externalId) || has(self.roleArn)'
|
||||||
subject:
|
subject:
|
||||||
description: |-
|
description: |-
|
||||||
subject defines the subject line when the message is delivered to email endpoints.
|
subject defines the subject line when the message is delivered to email endpoints.
|
||||||
|
|||||||
@@ -2,8 +2,8 @@ apiVersion: apiextensions.k8s.io/v1
|
|||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.19.0
|
controller-gen.kubebuilder.io/version: v0.20.1
|
||||||
operator.prometheus.io/version: 0.90.1
|
operator.prometheus.io/version: 0.91.0
|
||||||
name: alertmanagers.monitoring.coreos.com
|
name: alertmanagers.monitoring.coreos.com
|
||||||
spec:
|
spec:
|
||||||
group: monitoring.coreos.com
|
group: monitoring.coreos.com
|
||||||
@@ -1749,6 +1749,35 @@ spec:
|
|||||||
pattern: ^(http|https)://.+$
|
pattern: ^(http|https)://.+$
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
|
mattermost:
|
||||||
|
description: mattermost defines the default Mattermost Config
|
||||||
|
properties:
|
||||||
|
webhookURL:
|
||||||
|
description: |-
|
||||||
|
webhookURL defines the default Mattermost Webhook URL.
|
||||||
|
|
||||||
|
It requires Alertmanager >= v0.32.0.
|
||||||
|
properties:
|
||||||
|
key:
|
||||||
|
description: The key of the secret to select from. Must be a valid secret key.
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
default: ""
|
||||||
|
description: |-
|
||||||
|
Name of the referent.
|
||||||
|
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
|
||||||
|
almost certainly wrong.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
type: string
|
||||||
|
optional:
|
||||||
|
description: Specify whether the Secret or its key must be defined
|
||||||
|
type: boolean
|
||||||
|
required:
|
||||||
|
- key
|
||||||
|
type: object
|
||||||
|
x-kubernetes-map-type: atomic
|
||||||
|
type: object
|
||||||
opsGenieApiKey:
|
opsGenieApiKey:
|
||||||
description: opsGenieApiKey defines the default OpsGenie API Key.
|
description: opsGenieApiKey defines the default OpsGenie API Key.
|
||||||
properties:
|
properties:
|
||||||
|
|||||||
@@ -2,8 +2,8 @@ apiVersion: apiextensions.k8s.io/v1
|
|||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.19.0
|
controller-gen.kubebuilder.io/version: v0.20.1
|
||||||
operator.prometheus.io/version: 0.90.1
|
operator.prometheus.io/version: 0.91.0
|
||||||
name: podmonitors.monitoring.coreos.com
|
name: podmonitors.monitoring.coreos.com
|
||||||
spec:
|
spec:
|
||||||
group: monitoring.coreos.com
|
group: monitoring.coreos.com
|
||||||
|
|||||||
@@ -2,8 +2,8 @@ apiVersion: apiextensions.k8s.io/v1
|
|||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.19.0
|
controller-gen.kubebuilder.io/version: v0.20.1
|
||||||
operator.prometheus.io/version: 0.90.1
|
operator.prometheus.io/version: 0.91.0
|
||||||
name: probes.monitoring.coreos.com
|
name: probes.monitoring.coreos.com
|
||||||
spec:
|
spec:
|
||||||
group: monitoring.coreos.com
|
group: monitoring.coreos.com
|
||||||
|
|||||||
@@ -2,8 +2,8 @@ apiVersion: apiextensions.k8s.io/v1
|
|||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.19.0
|
controller-gen.kubebuilder.io/version: v0.20.1
|
||||||
operator.prometheus.io/version: 0.90.1
|
operator.prometheus.io/version: 0.91.0
|
||||||
name: prometheusagents.monitoring.coreos.com
|
name: prometheusagents.monitoring.coreos.com
|
||||||
spec:
|
spec:
|
||||||
group: monitoring.coreos.com
|
group: monitoring.coreos.com
|
||||||
@@ -5982,6 +5982,12 @@ spec:
|
|||||||
- key
|
- key
|
||||||
type: object
|
type: object
|
||||||
x-kubernetes-map-type: atomic
|
x-kubernetes-map-type: atomic
|
||||||
|
externalId:
|
||||||
|
description: |-
|
||||||
|
externalId defines the external ID used when assuming an AWS role. Can only be used with roleArn.
|
||||||
|
It requires Prometheus >= v3.11.0 or Alertmanager >= v0.33.0. Currently not supported by Thanos.
|
||||||
|
minLength: 1
|
||||||
|
type: string
|
||||||
profile:
|
profile:
|
||||||
description: profile defines the named AWS profile used to authenticate.
|
description: profile defines the named AWS profile used to authenticate.
|
||||||
type: string
|
type: string
|
||||||
@@ -6021,6 +6027,9 @@ spec:
|
|||||||
It requires Prometheus >= v2.54.0.
|
It requires Prometheus >= v2.54.0.
|
||||||
type: boolean
|
type: boolean
|
||||||
type: object
|
type: object
|
||||||
|
x-kubernetes-validations:
|
||||||
|
- message: externalId can only be used when roleArn is specified
|
||||||
|
rule: '!has(self.externalId) || has(self.roleArn)'
|
||||||
tlsConfig:
|
tlsConfig:
|
||||||
description: tlsConfig to use for the URL.
|
description: tlsConfig to use for the URL.
|
||||||
properties:
|
properties:
|
||||||
@@ -6856,7 +6865,8 @@ spec:
|
|||||||
matches all namespaces. A null label selector matches the current
|
matches all namespaces. A null label selector matches the current
|
||||||
namespace only.
|
namespace only.
|
||||||
|
|
||||||
Note that the ScrapeConfig custom resource definition is currently at Alpha level.
|
Note that the ScrapeConfig custom resource definition is currently at Alpha level
|
||||||
|
and will be graduated to Beta in a future release.
|
||||||
properties:
|
properties:
|
||||||
matchExpressions:
|
matchExpressions:
|
||||||
description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
|
description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
|
||||||
@@ -6913,7 +6923,8 @@ spec:
|
|||||||
of the custom resource definition. It is recommended to use
|
of the custom resource definition. It is recommended to use
|
||||||
`spec.additionalScrapeConfigs` instead.
|
`spec.additionalScrapeConfigs` instead.
|
||||||
|
|
||||||
Note that the ScrapeConfig custom resource definition is currently at Alpha level.
|
Note that the ScrapeConfig custom resource definition is currently at Alpha level
|
||||||
|
and will be graduated to Beta in a future release.
|
||||||
properties:
|
properties:
|
||||||
matchExpressions:
|
matchExpressions:
|
||||||
description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
|
description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
|
||||||
@@ -7382,6 +7393,54 @@ spec:
|
|||||||
See https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#stable-network-id for more details.
|
See https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#stable-network-id for more details.
|
||||||
minLength: 1
|
minLength: 1
|
||||||
type: string
|
type: string
|
||||||
|
shardingStrategy:
|
||||||
|
description: |-
|
||||||
|
shardingStrategy defines the sharding strategy for distributing scraped targets across Prometheus shards.
|
||||||
|
|
||||||
|
When not defined, the operator defaults to the 'Address' mode which distributes
|
||||||
|
targets based on a hash of the target address.
|
||||||
|
properties:
|
||||||
|
mode:
|
||||||
|
description: |-
|
||||||
|
mode defines the sharding mode. Can be 'Address' or 'Topology'.
|
||||||
|
|
||||||
|
'Address' is the default mode and distributes targets across shards
|
||||||
|
based on a hash of the target address.
|
||||||
|
|
||||||
|
'Topology' enables zone-aware sharding where each shard is assigned to a
|
||||||
|
specific topology zone and only scrapes targets in that zone.
|
||||||
|
(Alpha) Using the 'Topology' mode requires the `PrometheusTopologySharding`
|
||||||
|
feature gate to be enabled.
|
||||||
|
enum:
|
||||||
|
- Address
|
||||||
|
- Topology
|
||||||
|
type: string
|
||||||
|
topology:
|
||||||
|
description: |-
|
||||||
|
topology defines the configuration for topology-aware sharding.
|
||||||
|
This field is only valid when mode is set to 'Topology'.
|
||||||
|
properties:
|
||||||
|
externalLabelName:
|
||||||
|
description: |-
|
||||||
|
externalLabelName defines the name of the Prometheus external label used
|
||||||
|
to communicate the topology zone assigned to the Prometheus instance.
|
||||||
|
If not defined, it defaults to "zone".
|
||||||
|
If set to the empty string, no external label is added to the Prometheus configuration.
|
||||||
|
type: string
|
||||||
|
values:
|
||||||
|
description: |-
|
||||||
|
values defines the list of topology values (e.g. zone names) to be used
|
||||||
|
for sharding. The configured number of shards must be greater than or
|
||||||
|
equal to the number of values.
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
|
x-kubernetes-list-type: atomic
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
x-kubernetes-validations:
|
||||||
|
- message: topology can only be defined when mode is set to 'Topology'
|
||||||
|
rule: '!has(self.topology) || (has(self.mode) && self.mode == ''Topology'')'
|
||||||
shards:
|
shards:
|
||||||
description: |-
|
description: |-
|
||||||
shards defines the number of shards to distribute the scraped targets onto.
|
shards defines the number of shards to distribute the scraped targets onto.
|
||||||
@@ -10729,6 +10788,10 @@ spec:
|
|||||||
rule: '!(has(self.mode) && self.mode == ''DaemonSet'' && has(self.serviceMonitorNamespaceSelector))'
|
rule: '!(has(self.mode) && self.mode == ''DaemonSet'' && has(self.serviceMonitorNamespaceSelector))'
|
||||||
- message: additionalScrapeConfigs cannot be set when mode is DaemonSet
|
- message: additionalScrapeConfigs cannot be set when mode is DaemonSet
|
||||||
rule: '!(has(self.mode) && self.mode == ''DaemonSet'' && has(self.additionalScrapeConfigs))'
|
rule: '!(has(self.mode) && self.mode == ''DaemonSet'' && has(self.additionalScrapeConfigs))'
|
||||||
|
- message: shardingStrategy cannot be set when mode is DaemonSet
|
||||||
|
rule: '!(has(self.mode) && self.mode == ''DaemonSet'' && has(self.shardingStrategy))'
|
||||||
|
- message: shards must be greater than or equal to the number of topology values when sharding strategy mode is Topology
|
||||||
|
rule: '!has(self.shardingStrategy) || !has(self.shardingStrategy.mode) || self.shardingStrategy.mode != ''Topology'' || !has(self.shardingStrategy.topology) || !has(self.shardingStrategy.topology.values) || self.shardingStrategy.topology.values.size() == 0 || (has(self.shards) ? self.shards : 1) >= self.shardingStrategy.topology.values.size()'
|
||||||
status:
|
status:
|
||||||
description: |-
|
description: |-
|
||||||
status defines the most recent observed status of the Prometheus cluster. Read-only.
|
status defines the most recent observed status of the Prometheus cluster. Read-only.
|
||||||
|
|||||||
@@ -2,8 +2,8 @@ apiVersion: apiextensions.k8s.io/v1
|
|||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.19.0
|
controller-gen.kubebuilder.io/version: v0.20.1
|
||||||
operator.prometheus.io/version: 0.90.1
|
operator.prometheus.io/version: 0.91.0
|
||||||
name: prometheuses.monitoring.coreos.com
|
name: prometheuses.monitoring.coreos.com
|
||||||
spec:
|
spec:
|
||||||
group: monitoring.coreos.com
|
group: monitoring.coreos.com
|
||||||
@@ -1491,6 +1491,12 @@ spec:
|
|||||||
- key
|
- key
|
||||||
type: object
|
type: object
|
||||||
x-kubernetes-map-type: atomic
|
x-kubernetes-map-type: atomic
|
||||||
|
externalId:
|
||||||
|
description: |-
|
||||||
|
externalId defines the external ID used when assuming an AWS role. Can only be used with roleArn.
|
||||||
|
It requires Prometheus >= v3.11.0 or Alertmanager >= v0.33.0. Currently not supported by Thanos.
|
||||||
|
minLength: 1
|
||||||
|
type: string
|
||||||
profile:
|
profile:
|
||||||
description: profile defines the named AWS profile used to authenticate.
|
description: profile defines the named AWS profile used to authenticate.
|
||||||
type: string
|
type: string
|
||||||
@@ -1530,6 +1536,9 @@ spec:
|
|||||||
It requires Prometheus >= v2.54.0.
|
It requires Prometheus >= v2.54.0.
|
||||||
type: boolean
|
type: boolean
|
||||||
type: object
|
type: object
|
||||||
|
x-kubernetes-validations:
|
||||||
|
- message: externalId can only be used when roleArn is specified
|
||||||
|
rule: '!has(self.externalId) || has(self.roleArn)'
|
||||||
timeout:
|
timeout:
|
||||||
description: timeout defines a per-target Alertmanager timeout when pushing alerts.
|
description: timeout defines a per-target Alertmanager timeout when pushing alerts.
|
||||||
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)?)$
|
||||||
@@ -7460,6 +7469,12 @@ spec:
|
|||||||
- key
|
- key
|
||||||
type: object
|
type: object
|
||||||
x-kubernetes-map-type: atomic
|
x-kubernetes-map-type: atomic
|
||||||
|
externalId:
|
||||||
|
description: |-
|
||||||
|
externalId defines the external ID used when assuming an AWS role. Can only be used with roleArn.
|
||||||
|
It requires Prometheus >= v3.11.0 or Alertmanager >= v0.33.0. Currently not supported by Thanos.
|
||||||
|
minLength: 1
|
||||||
|
type: string
|
||||||
profile:
|
profile:
|
||||||
description: profile defines the named AWS profile used to authenticate.
|
description: profile defines the named AWS profile used to authenticate.
|
||||||
type: string
|
type: string
|
||||||
@@ -7499,6 +7514,9 @@ spec:
|
|||||||
It requires Prometheus >= v2.54.0.
|
It requires Prometheus >= v2.54.0.
|
||||||
type: boolean
|
type: boolean
|
||||||
type: object
|
type: object
|
||||||
|
x-kubernetes-validations:
|
||||||
|
- message: externalId can only be used when roleArn is specified
|
||||||
|
rule: '!has(self.externalId) || has(self.roleArn)'
|
||||||
tlsConfig:
|
tlsConfig:
|
||||||
description: tlsConfig to use for the URL.
|
description: tlsConfig to use for the URL.
|
||||||
properties:
|
properties:
|
||||||
@@ -8473,7 +8491,8 @@ spec:
|
|||||||
matches all namespaces. A null label selector matches the current
|
matches all namespaces. A null label selector matches the current
|
||||||
namespace only.
|
namespace only.
|
||||||
|
|
||||||
Note that the ScrapeConfig custom resource definition is currently at Alpha level.
|
Note that the ScrapeConfig custom resource definition is currently at Alpha level
|
||||||
|
and will be graduated to Beta in a future release.
|
||||||
properties:
|
properties:
|
||||||
matchExpressions:
|
matchExpressions:
|
||||||
description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
|
description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
|
||||||
@@ -8530,7 +8549,8 @@ spec:
|
|||||||
of the custom resource definition. It is recommended to use
|
of the custom resource definition. It is recommended to use
|
||||||
`spec.additionalScrapeConfigs` instead.
|
`spec.additionalScrapeConfigs` instead.
|
||||||
|
|
||||||
Note that the ScrapeConfig custom resource definition is currently at Alpha level.
|
Note that the ScrapeConfig custom resource definition is currently at Alpha level
|
||||||
|
and will be graduated to Beta in a future release.
|
||||||
properties:
|
properties:
|
||||||
matchExpressions:
|
matchExpressions:
|
||||||
description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
|
description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
|
||||||
@@ -9013,11 +9033,17 @@ spec:
|
|||||||
properties:
|
properties:
|
||||||
retain:
|
retain:
|
||||||
description: |-
|
description: |-
|
||||||
retain defines the config for retention when the retention policy is set to `Retain`.
|
retain defines the config for retention when the retention policy is set
|
||||||
This field is ineffective as of now.
|
to `Retain`.
|
||||||
|
|
||||||
|
If not defined, the operator will use the retention duration configured
|
||||||
|
for the Prometheus data. If the resource uses size-based retention, the
|
||||||
|
shard(s) are kept forever (unless manually deleted).
|
||||||
properties:
|
properties:
|
||||||
retentionPeriod:
|
retentionPeriod:
|
||||||
description: retentionPeriod defines the retentionPeriod for shard retention policy.
|
description: |-
|
||||||
|
retentionPeriod defines how long the scaled-down shard(s) need to be
|
||||||
|
kept before being deleted.
|
||||||
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
|
||||||
required:
|
required:
|
||||||
@@ -9035,6 +9061,54 @@ spec:
|
|||||||
- Delete
|
- Delete
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
|
shardingStrategy:
|
||||||
|
description: |-
|
||||||
|
shardingStrategy defines the sharding strategy for distributing scraped targets across Prometheus shards.
|
||||||
|
|
||||||
|
When not defined, the operator defaults to the 'Address' mode which distributes
|
||||||
|
targets based on a hash of the target address.
|
||||||
|
properties:
|
||||||
|
mode:
|
||||||
|
description: |-
|
||||||
|
mode defines the sharding mode. Can be 'Address' or 'Topology'.
|
||||||
|
|
||||||
|
'Address' is the default mode and distributes targets across shards
|
||||||
|
based on a hash of the target address.
|
||||||
|
|
||||||
|
'Topology' enables zone-aware sharding where each shard is assigned to a
|
||||||
|
specific topology zone and only scrapes targets in that zone.
|
||||||
|
(Alpha) Using the 'Topology' mode requires the `PrometheusTopologySharding`
|
||||||
|
feature gate to be enabled.
|
||||||
|
enum:
|
||||||
|
- Address
|
||||||
|
- Topology
|
||||||
|
type: string
|
||||||
|
topology:
|
||||||
|
description: |-
|
||||||
|
topology defines the configuration for topology-aware sharding.
|
||||||
|
This field is only valid when mode is set to 'Topology'.
|
||||||
|
properties:
|
||||||
|
externalLabelName:
|
||||||
|
description: |-
|
||||||
|
externalLabelName defines the name of the Prometheus external label used
|
||||||
|
to communicate the topology zone assigned to the Prometheus instance.
|
||||||
|
If not defined, it defaults to "zone".
|
||||||
|
If set to the empty string, no external label is added to the Prometheus configuration.
|
||||||
|
type: string
|
||||||
|
values:
|
||||||
|
description: |-
|
||||||
|
values defines the list of topology values (e.g. zone names) to be used
|
||||||
|
for sharding. The configured number of shards must be greater than or
|
||||||
|
equal to the number of values.
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
|
x-kubernetes-list-type: atomic
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
x-kubernetes-validations:
|
||||||
|
- message: topology can only be defined when mode is set to 'Topology'
|
||||||
|
rule: '!has(self.topology) || (has(self.mode) && self.mode == ''Topology'')'
|
||||||
shards:
|
shards:
|
||||||
description: |-
|
description: |-
|
||||||
shards defines the number of shards to distribute the scraped targets onto.
|
shards defines the number of shards to distribute the scraped targets onto.
|
||||||
@@ -9768,7 +9842,7 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
grpcServerTlsConfig defines the TLS parameters for the gRPC server providing the StoreAPI.
|
grpcServerTlsConfig defines the TLS parameters for the gRPC server providing the StoreAPI.
|
||||||
|
|
||||||
Note: Currently only the `minVersion`, `caFile`, `certFile`, and `keyFile` fields are supported.
|
Note: Currently only the `minVersion`, `caFile`, `certFile`, `keyFile`, `cipherSuites` and `curves` fields are supported.
|
||||||
properties:
|
properties:
|
||||||
ca:
|
ca:
|
||||||
description: ca defines the Certificate authority used when verifying server certificates.
|
description: ca defines the Certificate authority used when verifying server certificates.
|
||||||
@@ -9872,6 +9946,38 @@ spec:
|
|||||||
certFile:
|
certFile:
|
||||||
description: certFile defines the path to the client cert file in the Prometheus container for the targets.
|
description: certFile defines the path to the client cert file in the Prometheus container for the targets.
|
||||||
type: string
|
type: string
|
||||||
|
cipherSuites:
|
||||||
|
description: |-
|
||||||
|
cipherSuites defines the list of supported cipher suites for TLS
|
||||||
|
versions up to TLS 1.2.
|
||||||
|
|
||||||
|
If not defined, the Go default cipher suites are used.
|
||||||
|
Available cipher suites are documented in the Go documentation:
|
||||||
|
https://golang.org/pkg/crypto/tls/#pkg-constants
|
||||||
|
|
||||||
|
It requires Thanos >= v0.42.0. Note that the operator doesn't verify if
|
||||||
|
the Thanos version supports the provided values.
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
minItems: 1
|
||||||
|
type: array
|
||||||
|
x-kubernetes-list-type: set
|
||||||
|
curves:
|
||||||
|
description: |-
|
||||||
|
curves defines the list of preferred elliptic curves for
|
||||||
|
TLS handshakes.
|
||||||
|
|
||||||
|
If not defined, the Go default curves are used.
|
||||||
|
Available curves are documented in the Go documentation:
|
||||||
|
https://golang.org/pkg/crypto/tls/#CurveID
|
||||||
|
|
||||||
|
It requires Thanos >= v0.42.0. Note that the operator doesn't verify if
|
||||||
|
the Thanos version supports the provided values.
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
minItems: 1
|
||||||
|
type: array
|
||||||
|
x-kubernetes-list-type: set
|
||||||
insecureSkipVerify:
|
insecureSkipVerify:
|
||||||
description: insecureSkipVerify defines how to disable target certificate validation.
|
description: insecureSkipVerify defines how to disable target certificate validation.
|
||||||
type: boolean
|
type: boolean
|
||||||
@@ -12849,6 +12955,9 @@ spec:
|
|||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
|
x-kubernetes-validations:
|
||||||
|
- message: shards must be greater than or equal to the number of topology values when sharding strategy mode is Topology
|
||||||
|
rule: '!has(self.shardingStrategy) || !has(self.shardingStrategy.mode) || self.shardingStrategy.mode != ''Topology'' || !has(self.shardingStrategy.topology) || !has(self.shardingStrategy.topology.values) || self.shardingStrategy.topology.values.size() == 0 || (has(self.shards) ? self.shards : 1) >= self.shardingStrategy.topology.values.size()'
|
||||||
status:
|
status:
|
||||||
description: |-
|
description: |-
|
||||||
status defines the most recent observed status of the Prometheus cluster. Read-only.
|
status defines the most recent observed status of the Prometheus cluster. Read-only.
|
||||||
|
|||||||
@@ -2,8 +2,8 @@ apiVersion: apiextensions.k8s.io/v1
|
|||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.19.0
|
controller-gen.kubebuilder.io/version: v0.20.1
|
||||||
operator.prometheus.io/version: 0.90.1
|
operator.prometheus.io/version: 0.91.0
|
||||||
name: prometheusrules.monitoring.coreos.com
|
name: prometheusrules.monitoring.coreos.com
|
||||||
spec:
|
spec:
|
||||||
group: monitoring.coreos.com
|
group: monitoring.coreos.com
|
||||||
|
|||||||
@@ -2,8 +2,8 @@ apiVersion: apiextensions.k8s.io/v1
|
|||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.19.0
|
controller-gen.kubebuilder.io/version: v0.20.1
|
||||||
operator.prometheus.io/version: 0.90.1
|
operator.prometheus.io/version: 0.91.0
|
||||||
name: scrapeconfigs.monitoring.coreos.com
|
name: scrapeconfigs.monitoring.coreos.com
|
||||||
spec:
|
spec:
|
||||||
group: monitoring.coreos.com
|
group: monitoring.coreos.com
|
||||||
@@ -96,6 +96,7 @@ spec:
|
|||||||
- OAuth
|
- OAuth
|
||||||
- ManagedIdentity
|
- ManagedIdentity
|
||||||
- SDK
|
- SDK
|
||||||
|
- WorkloadIdentity
|
||||||
type: string
|
type: string
|
||||||
authorization:
|
authorization:
|
||||||
description: |-
|
description: |-
|
||||||
@@ -603,7 +604,7 @@ spec:
|
|||||||
minLength: 1
|
minLength: 1
|
||||||
type: string
|
type: string
|
||||||
tlsConfig:
|
tlsConfig:
|
||||||
description: tlsConfig defies the TLS configuration applying to the target HTTP endpoint.
|
description: tlsConfig defines the TLS configuration applying to the target HTTP endpoint.
|
||||||
properties:
|
properties:
|
||||||
ca:
|
ca:
|
||||||
description: ca defines the Certificate authority used when verifying server certificates.
|
description: ca defines the Certificate authority used when verifying server certificates.
|
||||||
@@ -930,13 +931,20 @@ spec:
|
|||||||
filter:
|
filter:
|
||||||
description: |-
|
description: |-
|
||||||
filter defines the filter expression used to filter the catalog results.
|
filter defines the filter expression used to filter the catalog results.
|
||||||
See https://www.consul.io/api-docs/catalog#list-services
|
See https://developer.hashicorp.com/consul/api-docs/catalog#filtering
|
||||||
It requires Prometheus >= 3.0.0.
|
It requires Prometheus >= 3.0.0.
|
||||||
minLength: 1
|
minLength: 1
|
||||||
type: string
|
type: string
|
||||||
followRedirects:
|
followRedirects:
|
||||||
description: followRedirects defines whether HTTP requests follow HTTP 3xx redirects.
|
description: followRedirects defines whether HTTP requests follow HTTP 3xx redirects.
|
||||||
type: boolean
|
type: boolean
|
||||||
|
healthFilter:
|
||||||
|
description: |-
|
||||||
|
healthFilter defines the filter expression used to filter the health results.
|
||||||
|
See https://developer.hashicorp.com/consul/api-docs/health#filtering
|
||||||
|
It requires Prometheus >= 3.11.2.
|
||||||
|
minLength: 1
|
||||||
|
type: string
|
||||||
namespace:
|
namespace:
|
||||||
description: |-
|
description: |-
|
||||||
namespace are only supported in Consul Enterprise.
|
namespace are only supported in Consul Enterprise.
|
||||||
@@ -8203,6 +8211,7 @@ spec:
|
|||||||
type: string
|
type: string
|
||||||
roleARN:
|
roleARN:
|
||||||
description: roleARN defines the AWS Role ARN, an alternative to using AWS API keys.
|
description: roleARN defines the AWS Role ARN, an alternative to using AWS API keys.
|
||||||
|
minLength: 1
|
||||||
type: string
|
type: string
|
||||||
secretKey:
|
secretKey:
|
||||||
description: secretKey defines the AWS API secret.
|
description: secretKey defines the AWS API secret.
|
||||||
@@ -9196,6 +9205,7 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
namespace defines the Nomad namespace to query for service discovery.
|
namespace defines the Nomad namespace to query for service discovery.
|
||||||
When specified, only resources within this namespace will be discovered.
|
When specified, only resources within this namespace will be discovered.
|
||||||
|
minLength: 1
|
||||||
type: string
|
type: string
|
||||||
noProxy:
|
noProxy:
|
||||||
description: |-
|
description: |-
|
||||||
@@ -9557,6 +9567,7 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
region defines the Nomad region to query for service discovery.
|
region defines the Nomad region to query for service discovery.
|
||||||
When specified, only resources within this region will be discovered.
|
When specified, only resources within this region will be discovered.
|
||||||
|
minLength: 1
|
||||||
type: string
|
type: string
|
||||||
server:
|
server:
|
||||||
description: |-
|
description: |-
|
||||||
@@ -9568,6 +9579,7 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
tagSeparator defines the separator used to join multiple tags.
|
tagSeparator defines the separator used to join multiple tags.
|
||||||
This determines how Nomad service tags are concatenated into Prometheus labels.
|
This determines how Nomad service tags are concatenated into Prometheus labels.
|
||||||
|
minLength: 1
|
||||||
type: string
|
type: string
|
||||||
tlsConfig:
|
tlsConfig:
|
||||||
description: tlsConfig defines the TLS configuration to connect to the Nomad API.
|
description: tlsConfig defines the TLS configuration to connect to the Nomad API.
|
||||||
@@ -10037,6 +10049,7 @@ spec:
|
|||||||
type: boolean
|
type: boolean
|
||||||
applicationCredentialId:
|
applicationCredentialId:
|
||||||
description: applicationCredentialId defines the OpenStack applicationCredentialId.
|
description: applicationCredentialId defines the OpenStack applicationCredentialId.
|
||||||
|
minLength: 1
|
||||||
type: string
|
type: string
|
||||||
applicationCredentialName:
|
applicationCredentialName:
|
||||||
description: |-
|
description: |-
|
||||||
@@ -11203,6 +11216,9 @@ spec:
|
|||||||
description: |-
|
description: |-
|
||||||
ScalewaySDConfig configurations allow retrieving scrape targets from Scaleway instances and baremetal services.
|
ScalewaySDConfig configurations allow retrieving scrape targets from Scaleway instances and baremetal services.
|
||||||
See https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scaleway_sd_config
|
See https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scaleway_sd_config
|
||||||
|
|
||||||
|
Note: The `_file` variants of credential fields (e.g. `secret_key_file`)
|
||||||
|
from the Prometheus configuration are not supported. Use Kubernetes secrets via `secretKey` instead.
|
||||||
properties:
|
properties:
|
||||||
accessKey:
|
accessKey:
|
||||||
description: accessKey defines the access key to use. https://console.scaleway.com/project/credentials
|
description: accessKey defines the access key to use. https://console.scaleway.com/project/credentials
|
||||||
@@ -11734,6 +11750,9 @@ spec:
|
|||||||
It requires Prometheus >= v2.48.0.
|
It requires Prometheus >= v2.48.0.
|
||||||
type: boolean
|
type: boolean
|
||||||
type: object
|
type: object
|
||||||
|
x-kubernetes-validations:
|
||||||
|
- message: at most one of basicAuth, authorization, or oauth2 can be configured
|
||||||
|
rule: '[has(self.basicAuth), has(self.authorization), has(self.oauth2)].filter(x, x).size() <= 1'
|
||||||
status:
|
status:
|
||||||
description: |-
|
description: |-
|
||||||
status defines the status subresource. It is under active development and is updated only when the
|
status defines the status subresource. It is under active development and is updated only when the
|
||||||
|
|||||||
@@ -2,8 +2,8 @@ apiVersion: apiextensions.k8s.io/v1
|
|||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.19.0
|
controller-gen.kubebuilder.io/version: v0.20.1
|
||||||
operator.prometheus.io/version: 0.90.1
|
operator.prometheus.io/version: 0.91.0
|
||||||
name: servicemonitors.monitoring.coreos.com
|
name: servicemonitors.monitoring.coreos.com
|
||||||
spec:
|
spec:
|
||||||
group: monitoring.coreos.com
|
group: monitoring.coreos.com
|
||||||
|
|||||||
@@ -2,8 +2,8 @@ apiVersion: apiextensions.k8s.io/v1
|
|||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.19.0
|
controller-gen.kubebuilder.io/version: v0.20.1
|
||||||
operator.prometheus.io/version: 0.90.1
|
operator.prometheus.io/version: 0.91.0
|
||||||
name: thanosrulers.monitoring.coreos.com
|
name: thanosrulers.monitoring.coreos.com
|
||||||
spec:
|
spec:
|
||||||
group: monitoring.coreos.com
|
group: monitoring.coreos.com
|
||||||
@@ -2681,7 +2681,7 @@ spec:
|
|||||||
grpcServerTlsConfig defines the gRPC server from which Thanos Querier reads
|
grpcServerTlsConfig defines the gRPC server from which Thanos Querier reads
|
||||||
recorded rule data.
|
recorded rule data.
|
||||||
|
|
||||||
Note: Currently only the `minVersion`, `caFile`, `certFile`, and `keyFile` fields are supported.
|
Note: Currently only the `minVersion`, `caFile`, `certFile`, `keyFile`, `cipherSuites` and `curves` fields are supported.
|
||||||
properties:
|
properties:
|
||||||
ca:
|
ca:
|
||||||
description: ca defines the Certificate authority used when verifying server certificates.
|
description: ca defines the Certificate authority used when verifying server certificates.
|
||||||
@@ -2785,6 +2785,38 @@ spec:
|
|||||||
certFile:
|
certFile:
|
||||||
description: certFile defines the path to the client cert file in the Prometheus container for the targets.
|
description: certFile defines the path to the client cert file in the Prometheus container for the targets.
|
||||||
type: string
|
type: string
|
||||||
|
cipherSuites:
|
||||||
|
description: |-
|
||||||
|
cipherSuites defines the list of supported cipher suites for TLS
|
||||||
|
versions up to TLS 1.2.
|
||||||
|
|
||||||
|
If not defined, the Go default cipher suites are used.
|
||||||
|
Available cipher suites are documented in the Go documentation:
|
||||||
|
https://golang.org/pkg/crypto/tls/#pkg-constants
|
||||||
|
|
||||||
|
It requires Thanos >= v0.42.0. Note that the operator doesn't verify if
|
||||||
|
the Thanos version supports the provided values.
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
minItems: 1
|
||||||
|
type: array
|
||||||
|
x-kubernetes-list-type: set
|
||||||
|
curves:
|
||||||
|
description: |-
|
||||||
|
curves defines the list of preferred elliptic curves for
|
||||||
|
TLS handshakes.
|
||||||
|
|
||||||
|
If not defined, the Go default curves are used.
|
||||||
|
Available curves are documented in the Go documentation:
|
||||||
|
https://golang.org/pkg/crypto/tls/#CurveID
|
||||||
|
|
||||||
|
It requires Thanos >= v0.42.0. Note that the operator doesn't verify if
|
||||||
|
the Thanos version supports the provided values.
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
minItems: 1
|
||||||
|
type: array
|
||||||
|
x-kubernetes-list-type: set
|
||||||
insecureSkipVerify:
|
insecureSkipVerify:
|
||||||
description: insecureSkipVerify defines how to disable target certificate validation.
|
description: insecureSkipVerify defines how to disable target certificate validation.
|
||||||
type: boolean
|
type: boolean
|
||||||
@@ -5340,6 +5372,12 @@ spec:
|
|||||||
- key
|
- key
|
||||||
type: object
|
type: object
|
||||||
x-kubernetes-map-type: atomic
|
x-kubernetes-map-type: atomic
|
||||||
|
externalId:
|
||||||
|
description: |-
|
||||||
|
externalId defines the external ID used when assuming an AWS role. Can only be used with roleArn.
|
||||||
|
It requires Prometheus >= v3.11.0 or Alertmanager >= v0.33.0. Currently not supported by Thanos.
|
||||||
|
minLength: 1
|
||||||
|
type: string
|
||||||
profile:
|
profile:
|
||||||
description: profile defines the named AWS profile used to authenticate.
|
description: profile defines the named AWS profile used to authenticate.
|
||||||
type: string
|
type: string
|
||||||
@@ -5379,6 +5417,9 @@ spec:
|
|||||||
It requires Prometheus >= v2.54.0.
|
It requires Prometheus >= v2.54.0.
|
||||||
type: boolean
|
type: boolean
|
||||||
type: object
|
type: object
|
||||||
|
x-kubernetes-validations:
|
||||||
|
- message: externalId can only be used when roleArn is specified
|
||||||
|
rule: '!has(self.externalId) || has(self.roleArn)'
|
||||||
tlsConfig:
|
tlsConfig:
|
||||||
description: tlsConfig to use for the URL.
|
description: tlsConfig to use for the URL.
|
||||||
properties:
|
properties:
|
||||||
|
|||||||
Reference in New Issue
Block a user