Skip to content

Releases: prometheus-operator/prometheus-operator

0.57.0 / 2022-06-02

03 Jun 12:54
v0.57.0
5db6996
Compare
Choose a tag to compare

The main change introduced by this release is a new v1beta1 API version for the AlertmanagerConfig CRD.

Changes compared to the v1alpha1 API:

  • Renamed spec.muteTimeIntervals field to to spec.timeIntervals.
  • Removed regex field from the Matcher type.
  • Replaced all v1.SecretKeySelector types by the SecretKeySelector type
    • Removed optional field.
    • name and key fields are required.

As a pre-requisite, you need to deploy the admission webhook and configure the conversion webhook in the AlertmanagerConfig CRD object so that users can use both v1alpha1 and v1beta1 versions at the same time. There are more details in Documentation/user-guides/webhook.md about the webhook configuration.

Because of the conversion webhook requirement, the new version is an opt-in feature: the bundle.yaml file and the manifests from
example/prometheus-operator-crd don't deploy the new API version (the manifests to enable the v1beta1 version are under the example/prometheus-operator-crd-full directory). We will wait until v0.59.0 (at least) before enabling the new API version by default.

  • [CHANGE] Added validations at the API level for the time-based fields of the ThanosRuler CRD. #4815
  • [CHANGE] Added validations at the API level for the OpsGenie's responders field of the AlertmanagerConfig CRD. #4725
  • [FEATURE] Added v1beta1 version for AlertmanagerConfig CRD. #4709
  • [FEATURE] Added support for Telegram receiver in the AlertmanagerConfig CRD. #4726
  • [FEATURE] Added updateAlerts field to the OpsGenie configuration of the AlertmanagerConfig CRD. #4726
  • [FEATURE] Added hostAliases field to the the Alertmanager, Prometheus and ThanosRuler CRDs. #4787
  • [ENHANCEMENT] Added configuration option in the jsonnet mixins to specify the aggregation labels. #4814
  • [ENHANCEMENT] Added attachMetadata field to the PodMonitor CRD. #4792
  • [BUGFIX] Fixed the curl command for exec probes when listenLocal is set to true in the Prometheus object. It avoids temporary service outage due to long WAL replays. #4804

0.56.3 / 2022-05-23

24 May 09:40
v0.56.3
b3c1402
Compare
Choose a tag to compare
  • [BUGFIX] Fixed errors for Alertmanager configurations using the new entity, actions and opsgenie_api_key_file fields. #4797
  • [BUGFIX] Fixed high CPU usage by reducing the number of number of reconciliations on Prometheus objects. #4798 #4806

0.56.2 / 2022-05-09

09 May 11:58
v0.56.2
3de8a64
Compare
Choose a tag to compare
  • [BUGFIX] Fix StatefulSet spec's generation to be determistic when spec.containers is not empty. #4772

0.56.1 / 2022-05-03

04 May 08:54
v0.56.1
947dfbb
Compare
Choose a tag to compare
  • [BUGFIX] Avoid unnecessary updates of the Prometheus StatefulSet object. #4762

0.56.0 / 2022-04-20

22 Apr 13:44
v0.56.0
8eda80d
Compare
Choose a tag to compare
  • [CHANGE] Added validation at the API level for size-based fields of the Prometheus CRD. #4661
  • [CHANGE] Added validation at the API level for log level and format fields of the Alertmanager, Prometheus and ThanosRuler CRDs. #4638
  • [CHANGE] Added validation at the API level for duration and time-based fields of the Prometheus CRD. #4684
  • [CHANGE] Added shortnames for custom resources (amcfg for AlertmanagerConfig, am for Alertmanager, pmon for PodMonitor, prb for Probe, prom for Prometheus, smon for ServiceMonitor, ruler for Thanos Ruler). #4680
  • [FEATURE] Added status subresource to the Prometheus CRD. #4580
  • [ENHANCEMENT] Added excludedFromEnforce field to the Prometheus CRD. It allows to define PodMonitor, ServiceMonitor, Probe or PrometheusRule objects for which the namespace label enforcement (if enabled) should not be applied. This deprecates prometheusRulesExcludedFromEnforce which is still supported but users are encouraged to migrate to the new field. #4397
  • [ENHANCEMENT] Added enableRemoteWriteReceiver field to the Prometheus CRD. #4633
  • [ENHANCEMENT] Added entity and actions fields for the OpsGenie receiver to the AlertmanagerConfig CRD. #4697
  • [ENHANCEMENT] Added prometheus_operator_reconcile_duration_seconds histogram metric. #4706
  • [BUGFIX] Added support for opsgenie_api_key_file and api_key_file in the generated Alertmanager configuration. #4666 #4738

0.55.1 / 2022-03-26

26 Mar 21:48
v0.55.1
Compare
Choose a tag to compare
  • [BUGFIX] Fixed Prometheus configuration when spec.queryLogFile has no path ("query.log" for instance). #4683

0.55.0 / 2022-03-10

10 Mar 14:17
v0.55.0
fd0fe0a
Compare
Choose a tag to compare
  • [CHANGE] Enabled read-only root filesystem for containers generated from the Prometheus, Alertmanager and ThanosRuler objects. #4552
  • [CHANGE] Disabled privilege escalation for the containers generated from Prometheus, Alertmanager and ThanosRuler objects. #4552
  • [CHANGE] Dropped all capabilities for the containers generated from Prometheus, Alertmanager and ThanosRuler objects. #4552
  • [CHANGE] Added emptyDir volume to the Prometheus statefulset when spec.queryLogFile is only a base filename (e.g. query.log as opposed to /tmp/query.log). When the path contains a full path, a volume + volume mount should be explicitly given in the Prometheus spec since the root file system is now read-only. #4566
  • [CHANGE/BUGFIX] Added skip TLS verify for the config-reloader HTTP client when informing Prometheus/Alertmanager on a config reload (partial fix for #4273). #4592
  • [CHANGE] Switched using the endpointslice role for Prometheus by default if it is supported by the Kubernetes API. #4535
  • [FEATURE] Added standalone admission webhook. #4494
  • [FEATURE] Support the definition of Alertmanager configuration via AlertManagerConfig instead of Kubernetes secret (EXPERIMENTAL). #4220
  • [FEATURE] Support sharding for Probe objects. #4587
  • [ENHANCEMENT] Restore Prometheus StatefulSet liveness probe so that deadlocks are detected and recovered from. #4387, #4534
  • [ENHANCEMENT] Added -alertmanager-config-namespaces CLI flag to the operator. #4455, #4619
  • [ENHANCEMENT] remoteWrite and remoteRead fields of the Prometheus CRD not considered experimental anymore. #4555
  • [ENHANCEMENT] Added support for follow_redirects in endpoint scrape configuration. #4563
  • [ENHANCEMENT] Added support for Oauth2 in AlertmanagerConfig CRD. #4501
  • [ENHANCEMENT] Improved logging when the given Prometheus version doesn't support some CR fields. #4571
  • [ENHANCEMENT] Added __tmp_ingress_address label to preserve the initial host address of the ingress object. #4603
  • [ENHANCEMENT] Fixed potential name collisions in Alertmanager configuration when merging AlertmanagerConfig objects. #4626
  • [BUGFIX] Fixed panic when validating Probe. #4541
  • [BUGFIX] Added validation for sourceLabels in relabel configuration. #4568
  • [BUGFIX] Allow retention to be set only by size. #4590

0.54.1 / 2022-02-24

25 Feb 08:29
6c198bc
Compare
Choose a tag to compare
  • [BUGFIX] Updated relabelConfig validation to accept Prometheus default config on labeldrop relabelConfig. #4579
  • [BUGFIX] Fixed relabelConfigs for labelmap action. #4574

0.54.0 / 2022-01-26

27 Jan 15:20
ff887e9
Compare
Choose a tag to compare
  • [FEATURE] Support SNS Receiver in AlertmanagerConfig CR. #4468
  • [ENHANCEMENT] Specify SA token automounting on pod-level for operator and prometheus operand. #4514
  • [ENHANCEMENT] Support following redirects and Oauth2 in HTTP Client config in raw alertmanager config secret. #4499
  • [ENHANCEMENT] Add Replicas column for Thanos Ruler. #4496
  • [ENHANCEMENT] Set User-Agent for the kubernetes client. #4506
  • [BUGFIX] Avoid race during recreation of StatefulSet(s). #4504
  • [BUGFIX] Add validation for proberSpec url field in ProbeSpec. #4483
  • [BUGFIX] Add validation for relabel configs. #4429
  • [BUGFIX] Add validation for scrapeTimeout validation. #4491

0.53.1 / 2021-12-20

20 Dec 14:01
v0.53.1
d8ba1c7
Compare
Choose a tag to compare
  • [BUGFIX] Fixed the validation pattern for the february month in the AlertManagerConfig CRD. #4458