Prometheus Operator creates/configures/manages Prometheus clusters atop Kubernetes
optional
value to be mandatory instead of optional for .spec.additionalScrapeConfigs
configs. #5985prometheus_operator_rule_validation_triggered_total
, prometheus_operator_rule_validation_errors_total
, prometheus_operator_alertmanager_config_validation_triggered_total
and prometheus_operator_alertmanager_config_validation_errors_total
metrics which have been deprecated since v0.55.0. The same information is available from the apiserver_admission_webhook_rejection_count
metric available since Kubernetes v1.16.0. #6024sigv4
field to the Alertmanager endpoints for the Prometheus CRD. #6036userKeyFile
and tokenFile
fields for Pushover to the AlertmanagerConfig CRD. #5886--as
to the operator's CLI arguments for user impersonation. #5906selectors
field for the Kubernetes service discovery to the ScrapeConfig CRD. #6053url_file
for Webhook receiver in the Alertmanager configuration. #5876user_key_file
and token_file
for Pushover receiver in the Alertmanager configuration. #5876operator.prometheus.io/version
annotation to the CRD manifests. #6050.spec.scrapeConfigSelector
is defined. #5941stripped-down-crds.yaml
manifest file. #6008keep_dropped_targets
to Prometheus, PrometheusAgent, ServiceMonitor, PodMonitor, Probe and ScrapeConfig CRDs. #5897revisionHistoryLimit
. #5773[BUGFIX] Avoid skipping AlertmanagerConfig resources for Alertmanager versions prior v0.25.0. #5788
spec.scheme
field to the ScrapeConfig CRD. #5679spec.params
field to the ScrapeConfig CRD. #5750spec.scrapeInterval
and spec.scrapeTimeout
fields to the ScrapeConfig CRD. #5742spec.excludedFromEnforcement
(Prometheus CRD). #5577spec.alertmanagerConfiguration.smtp
field to the Alertmanager CRD. #5649After research, we noticed how the default CPU requests of the config-reloader container were too high compared to the effective usage. We decided to decrease the default CPU requests from 100m
to 10m
. For most environments, this won't make a difference but if you need to increase the values, you can use the -config-reloader-cpu-request
and -config-reloader-cpu-limit
CLI arguments of the Prometheus operator.
100m
to 10m
. #5539spec.alertmanagerConfiguration.global.PagerdutyURL
to the Alertmanager
CRD. #5469spec.volumeMounts
to the ThanosRuler
CRD. #5541spec.remoteWrite.sendNativeHistograms
to Prometheus
and PrometheusAgent
CRDs. #5564spec.tracingConfig
to Prometheus
and PrometheusAgent
CRDs. #5591 #5640followRedirects
field to the RemoteRead
configuration. #5612spec.automountServiceAccountToken
to the Alertmanager
CRD. #5474keep_firing_for
fields for PrometheusRule
CRD. #5651BasicAuth
and Authorization
support to ScrapeConfig
CRD. #5642-kubelet-selector
CLI argument to filter the Kubernetes nodes by labels. #5641\n
) characters. #5566Prometheus
CRD. #5596PrometheusAgent
CRD. #5625The main change introduced by this release is the new v1alpha1 ScrapeConfig CRD. This implements the proposal documented in https://github.com/prometheus-operator/prometheus-operator/pull/5279 and provides a Kubernetes native API to create and manage additional scrape configurations.
To try it, follow the following steps:
example/prometheus-operator-crd/monitoring.coreos.com_scrapeconfigs.yaml
).example/rbac/prometheus-operator/prometheus-operator-cluster-role.yaml
).NOTE: if these conditions aren't met, the operator will start but it won't be able to reconcile the ScrapeConfig resources.
/metrics
with PrometheusAgent resources declared. #5511This release provides first-class support for running Prometheus in agent mode
with the new PrometheusAgent
CRD. As the v1alpha1 version tells it, we don't
recommend using it in production but we're eager to hear all possible feedback.
To try it, follow the following steps:
example/prometheus-operator-crd/monitoring.coreos.com_prometheusagents.yaml
).example/rbac/prometheus-operator/prometheus-operator-cluster-role.yaml
).NOTE: if these conditions aren't met, the operator will start but it won't be able to reconcile the PrometheusAgent resources.
For the first time, the container images associated to this release are signed using sigstore.
/apis
endpoints from the operator's web server. #5396spec.portName
to web
. #5350PrometheusAgent
CRD to run Prometheus in agent mode. #5385--reload-timeout
argument to the config-reloader binary which controls how long the program will wait for the reload operation to complete (default: 30s). #5349ReadTimeout
and ReadHeaderTimeout
to 30s for Prometheus operator and config-reloader to avoid potential slowloris attacks. #5340DropEqual
and KeepEqual
relabeling actions. #5368PrometheusRule
objects instead of failing the reconciliation of Prometheus and ThanosRuler objects. #5221spec.thanos.blockSize
field to the Prometheus
CRD. #5360spec.thanos.configTimeout
and spec.thanos.configInterval
to the Prometheus CRD. #5399spec.alertmanagerConfiguration.global.slackApiUrl
field to the Alertmanager
CRD. #5383spec.alertmanagerConfiguration.global.opsGenieApiUrl
and spec.alertmanagerConfiguration.global.opsGenieApiKey
fields to the Alertmanager
CRD. #5422init-config-reloader
init container to avoid a restart of the Alertmanager's config-reloader
container when the pod starts. #5358