VictoriaMetrics/docs/operator/CHANGELOG.md

84 KiB

sort weight title menu aliases
10 10 CHANGELOG
docs
parent weight identifier
operator 10 operator-changelog
/operator/CHANGELOG.html
/operator/changelog.html

CHANGELOG

Next release

v0.39.3 - 16 Nov 2023

  • update VictoriaMetrics image tags to v1.95.1.

v0.39.2 - 15 Nov 2023

Features

  • vmoperator: properly compare difference for statefulSet claimTemplate metadata. See this commit for details.
  • vmoperator: sort statefulSet pods by id for rolling update order. See this commit for details.
  • vmoperator: optimize statefulset update logic, that should reduce some unneeded operations. See this PR for details.

v0.39.1 - 1 Nov 2023

  • vmuser: adds new paths for vminsert/vmselect routing with enabled dynamic discovery feature for VMUser. See this PR for details.
  • vmcluster: from now on operator passes -replicationFactor (if it set in vmcluster) for vmselect. See this issue.
  • vmagent: updated dependency for properly parsing chained if expressions in validation webhook.

v0.39.0 - 4 Oct 2023

Features

  • vmoperator: upgrade vmagent/vmauth's default config-reloader image.
  • vmuser: adds retry_status_codes , max_concurrent_requests and response_headers settings. It's supported since v1.94.0 release of vmauth
  • vmoperator: adds useStrictSecurity for all components. It allows to migrate from insecure to strictly secured deployments per component without breaking changes. See this issue for details.
  • vmoperator: add ability to provide license key for VictoriaMetrics enterprise components. See this doc for the details.

Fixes

  • vmcluster: remove redundant annotation operator.victoriametrics/last-applied-spec from created workloads like vmstorage statefulset.
  • vmoperator: properly resize statefulset's multiple pvc when needed and allowable, before they could be updated with wrong size.
  • vmoperator: fix wrong api group of endpointsices, before vmagent won't able to access endpointsices resources with default rbac rule.
  • vmauth/vmagent: adds default resources for init container with configuration download. See this issue for details.
  • vmauth/vmagent: correctly set flag for custom config reloader image during config initialisation. See this issue for details.
  • vmauth: correctly set config reloader image for init container.

v0.38.0 - 11 Sep 2023

Default version of VictoriaMetrics components: v1.93.4

Fixes

  • vmuser: [Enterprise] fixes ip_filters indent for url_prefix. Previously it wasn't possible to use ip_filters with multiple target refs
  • vmoperator: turn off EnableStrictSecurity by default. Before, upgrade operator to v0.36.0+ could fail components with volume attached, see this issue for details.
  • vmoperator: bump default version of VictoriaMetrics components to 1.93.4.

Features

v0.37.1 - 02 Sep 2023

Default version of VictoriaMetrics components: v1.93.3

Updates

  • bump default version of Victoria Metrics components to v1.93.3

v0.37.0 - 30 Aug 2023

Fixes

  • vmagent: fix unmarshalling for streaming aggregation match field.

Features

v0.36.1 - 25 Aug 2023

Fixes

  • vmselect: fix cache directory when cacheDataPath not specified, before it will use /tmp which is protect by default strict securityContext.

Features

v0.36.0 - 23 Aug 2023

Breaking changes

  • vmalert: Field OAuth2 was renamed to oauth2 due to compatibility issue. If you defined OAuth2 with below fields in vmalert objects using operator before v0.36.0, these fields must be reapplied with new tag oauth2 after upgrading. See this issue and this PR for details.

    • Affected fields:
      • VMAlert.spec.datasource.OAuth2 -> VMAlert.spec.datasource.oauth2,
      • VMAlert.spec.notifier.OAuth2 -> VMAlert.spec.notifier.oauth2,
      • VMAlert.spec.notifiers[].OAuth2 -> VMAlert.spec.notifiers[].oauth2,
      • VMAlert.spec.remoteRead.OAuth2 -> VMAlert.spec.remoteRead.oauth2,
      • VMAlert.spec.remoteWrite.OAuth2 -> VMAlert.spec.remoteWrite.oauth2,
  • vmalert: Field bearerTokenFilePath was renamed to bearerTokenFile due to compatibility issue. If you defined bearerTokenFilePath with below fields in vmalert objects using operator before v0.36.0, these fields must be reapplied with new tag bearerTokenFile after upgrading. See this issue and this PR for details.

    • Affected fields:
      • VMAlert.spec.datasource.bearerTokenFilePath --> VMAlert.spec.datasource.bearerTokenFile,
      • VMAlert.spec.notifier.bearerTokenFilePath --> VMAlert.spec.notifier.bearerTokenFile,
      • VMAlert.spec.notifiers[].bearerTokenFile --> VMAlert.spec.notifiers[].bearerTokenFile,
      • VMAlert.spec.remoteRead.bearerTokenFilePath --> VMAlert.spec.remoteRead.bearerTokenFile,
      • VMAlert.spec.remoteWrite.bearerTokenFilePath --> VMAlert.spec.remoteWrite.bearerTokenFile.

Fixes

  • operator set resource requests for config-reloader container by default. See this PR for details.
  • fix attachMetadata value miscovert for scrape objects. See this issue and this PR for details.
  • fix volumeClaimTemplates change check for objects that generate statefulset, like vmstorage, vmselect. Before, the statefulset won't be recreated if additional claimTemplates object changed. See this issue and this PR for details.
  • vmalert: fix tlsCAFile argument value generation when using secret or configMap. See this issue and this PR for details.
  • vmalertmanager: fix default request memory and apply default resources if not set. See this issue and this PR for details.
  • vmagent: fix missing additional VolumeClaimTemplates when using ClaimTemplates under StatefulMode.

Features

[Changes][v0.36.0]

v0.35.1 - 12 Jul 2023

Fixes

  • vmagent: fixes regression with remoteWrite authorization (basicAuth/token). When UseCustomConfigReloader option was set, operator incorrectly rendered mounts for vmagent container. f2b8cf701a

Changes

v0.35.0 - 03 Jul 2023

Fixes

Features

Changes

v0.34.1 - 29 May 2023

Fixes

  • vmcluster: fail fast on misconfigured or missing kubernetes pods. It should prevent rare bug with cascade pod deletion. See this issue for details
  • vmauth/vmagent: correctly renders initConfig image with global container registry domain. See this issue for details.
  • vmagent: correctly set RBAC permissions for single namespace mode and custom config reloader image. See this issue for details.

Changes

v0.34.0 - 24 May 2023

Breaking changes

  • [Operator]: allows to properly run operator with single namespace. It changes default behavior with WATCH_NAMESPACE param is set. Operator will no longer make any calls for cluster wide resources and create only single namespace config for VMAgent. https://github.com/VictoriaMetrics/operator/issues/641

Fixes

Features

Changes

v0.33.0 - 19 Apr 2023

Fixes

Features

Changes

v0.32.1 - 16 Mar 2023

Fixes

Changes

v0.32.0 - 15 Mar 2023

Fixes

  • security: builds docker image with latest alpine base image and go v1.20.

Features

Changes

v0.31.0 - 02 Mar 2023

Fixes

Features

Changes

v0.30.4 - 27 Jan 2023

Fixes

Features

  • vmalertmanagerconfig: adds location, active_time_intervals 66ee8e544f

Changes

v0.30.3 - 16 Jan 2023

Fixes

Changes

v0.30.2 - 12 Jan 2023

Upgrade notes

  • It's recommend to upgrade for this release when vmagent.spec.statefulMode is used.

Fixes

  • controllers/vmagent: fixes degradation for vmagent statefulMode 6c26786db2

Changes

v0.30.1 - 09 Jan 2023

Fixes

Features

Changes

v0.30.0 - 29 Dec 2022

Fixes

Features

Changes

v0.29.2 - 17 Nov 2022

Fixes

Changes

v0.29.1 - 14 Nov 2022

Fixes

Features

Changes

v0.29.0 - 24 Oct 2022

Fixes

Features

  • podDistruptionBudget: adds configurable selectors 4f3f5eaf29

New Contributors

Changes

v0.28.5 - 13 Sep 2022

Fixes

Features

  • vmalertmanager: ignore broken receivers 68bbce1f78
  • service accounts: do not set labels and annotations for external service accounts 2ea1e640c3

Changes

v0.28.4 - 12 Sep 2022

Fixes

Features

  • vmalertmanager: ignore broken receivers 68bbce1f78
  • service accounts: do not set labels and annotations for external service accounts 2ea1e640c3

Changes

v0.28.3 - 02 Sep 2022

Fixes

  • vmalertmanagerConfig: regression at nested routes parsing 07ce4ca80d
  • vmagent: password_file option was ignored 5ef9710976

Changes

v0.28.2 - 01 Sep 2022

Fixes

  • vmalert: regression at basicAuth f92463949c
  • converter/alertmanager: changes parsing for nested routes - added more context and validation webhook 6af6071db7

Changes

v0.28.1 - 31 Aug 2022

Fixes

Changes

v0.28.0 - 30 Aug 2022

Fixes

Features

  • converter: adds support for prometheus AlertmanagerConfig. It converts into VMAlertmanagerConfig. 0b99bc09b2
  • vmalert: tokenFilePath support for any remote endpoint 5b010f4abc

Changes

v0.27.2 - 22 Aug 2022

Fixes

Changes

v0.27.1 - 17 Aug 2022

Fixes

Features

Changes

v0.27.0 - 16 Aug 2022

Fixes

Features

New Contributors

Changes

v0.26.3 - 26 Jul 2022

Fixes

  • removes breaking changes introduced at v0.26.0. Operator added docker.io as container registry prefix and it may break applications, if private repository was configured at spec.repository.image. Now container registry is not set by default.
  • alertmanager: removes breaking changes introduced at 0.26.0 release with extraArgs 918595389e

Changes

v0.26.0 - 25 Jul 2022

Breaking changes

This release contains breaking changes that was fixed at v0.26.2 release. It's recommended to use it instead of upgrading to v0.26.0

Fixes

Features

New Contributors

Changes

v0.25.1 - 20 May 2022

Fixes

Changes

v0.25.0 - 19 May 2022

Breaking changes

  • Changes VMRule API, now expr field can be only string, integer values are not supported anymore. f468ae0269

Fixes

  • PagerDuty config generation eef8e2eece thanks @okzheng
  • missing honorTimestamps for ServiceMonitor to VMServiceScrape conversion 6728391cc7 thanks @gotosre
  • PVC volume automatic expansion for VMCluster and VMAlertmanager 1eac5826b0

Features

New Contributors

Changes

v0.24.0 - 11 Apr 2022

Fixes

Features

New Contributors

Changes

v0.23.3 - 21 Feb 2022

Fixes

Features

  • allows to control max and min scrape interval for VMAgent's targets with minScrapeInterval and maxScrapeInterval 3d8183205b

Changes

v0.23.2 - 14 Feb 2022

Fixes

Changes

v0.23.1 - 10 Feb 2022

Fixes

Changes

v0.23.0 - 09 Feb 2022

Breaking changes

  • job name label was changed, new prefix added with CRD type - probe, podScrape,serviceScrape, nodeScrape and staticScrape

Fixes

Features

  • check kubernetes api server version for deprecated objects and use proper API for it. First of all it's related with PodSecurityPolicy and PodDisruptionBudget 5a64f6c01d

Changes

v0.22.1 - 21 Jan 2022

Fixes

  • fixes CSV configuration for operator-hub. It allows to launch operator in single-namespace mode 94c7466224
  • fixes annotations merge for deployments, it should fix endless reconcile loop 7d26398ac3

Features

  • bumps VictoriaMetrics appllications versions to the v1.72.0 de289af8af

Changes

v0.22.0 - 26 Dec 2021

Fixes

Features

  • moves operator API objects into separate go package. It allows to use operator API without import whole operator package. 9fec189861
  • allows to set rollingUpdateStrategy for statefullsets. With optional rollingUpdateStrategy: rollingUpdate operator uses kubernetes controller-manager updates for statefulsets, instead of own implementation. Allows kubectl rollout restart command for deployments and statefulsets https://github.com/VictoriaMetrics/operator/issues/389
  • allows to disable namespace label matcher for VMAlertmanager with global option disableNamespaceMatcher https://github.com/VictoriaMetrics/operator/issues/390

Changes

v0.21.0 - 30 Nov 2021

Breaking changes

  • Rollback changes for default behavior for CR selectors, such as serviceScrapeSelector at vmagent.spec. With new option spec.selectAllByDefault: true default behavior changes for select all on nil (as was at 0.20 version). https://github.com/VictoriaMetrics/operator/issues/383
  • moves ingress api to networking/v1 for VMAuth, minimal kubernetes supported version for VMAuth 1.19 2c6f81eb91

Fixes

  • removes HPA from cache watch, it must remove errors at cluster without such api 04bab9c486
  • labels and annotations update for auto-generated serviceScrape components.
  • typos at quick-start e411cfe75b thanks @marcbachmann

Features

Changes

v0.20.3 - 10 Nov 2021

Fixes

Changes

v0.20.2 - 07 Nov 2021

Fixes

Changes

v0.20.1 - 28 Oct 2021

Fixes

  • regression at alertmanager config generation 0f4368be57

Changes

v0.20.0 - 28 Oct 2021

Breaking changes

Features

Fixes

Changes

v0.19.1 - 28 Sep 2021

Fixes

Changes

v0.19.0 - 24 Sep 2021

Features

Fixes

Changes

v0.18.2 - 03 Sep 2021

Fixes

Changes

v0.18.1 - 30 Aug 2021

Fixes

Changes

v0.18.0 - 24 Aug 2021

Deprecations

  • Deprecates apiextensions.k8s.io/v1beta1 API for CRD. Its still available at legacy mode.

Features

Fixes

Changes

v0.17.2 - 31 Jul 2021

Features

  • Updated docs.

Fixes

Changes

v0.17.1 - 28 Jul 2021

Features

  • Updated default versions for vm apps to v1.63.0 version
  • Updated docs.

Changes

v0.17.0 - 27 Jul 2021

Features

Fixes

Changes

v0.16.0 - 11 Jul 2021

Breaking Changes

Features

Fixes

Changes

v0.15.2 - 17 Jun 2021

Features

  • reduced CRD size, it should fix operator-hub deployment
  • updated lib versions.
  • updated docs.

Changes

v0.15.1 - 16 Jun 2021

Fixes

Changes

v0.15.0 - 14 Jun 2021

Features

Fixes

Changes

v0.14.2 - 26 Apr 2021

Fixes

  • fixes insertPorts type for VMCluster

Changes

v0.14.1 - 22 Apr 2021

Fixes

  • fixes missing args for inline relabel configs.

Changes

v0.14.0 - 22 Apr 2021

Fixes

Features

Changes

v0.13.1 - 13 Apr 2021

Fixes

Changes

v0.13.0 - 09 Apr 2021

Fixes

Features

Changes

v0.12.2 - 31 Mar 2021

Fixes

Changes

v0.12.1 - 30 Mar 2021

Fixes

Changes

v0.12.0 - 29 Mar 2021

Breaking changes

  • operator automatically resizes PVC and recreates StatefulSet for VMCluster components if needed, be careful with upgrade, if you are manually edited PVC size. In common cases, it must be safe.

Features

Fixes

  • Fixes VMAlert rule arg - it was unproperly escaped 870f258b32
  • Fixes VMProbes, now it supports relabeling for static targets b4db7d5128
  • Fixes VMStaticScrape - adds honorLabels and honorTimestamps setting to CRD

Changes

v0.11.0 - 22 Mar 2021

Breaking changes

  • Adds acceptEULA setting to VMBackuper, without it backuper cannot be used. dc7f9e0f83

Features

Fixes

  • fixes bug with insert ports.
  • minor fixes to examples.

Changes

v0.10.0 - 14 Mar 2021

Features

Fixes

Changes

v0.9.1 - 22 Feb 2021

Features

Fixes

  • rbac role namespace.

Changes

v0.9.0 - 21 Feb 2021

Features

Fixes

Changes

v0.8.0 - 09 Feb 2021

Features

Fixes

  • fixes operator-hub docs broken links.
  • fixes panic at vmcluster.

Changes

v0.7.4 - 25 Jan 2021

Fixes

Changes

v0.7.3 - 20 Jan 2021

Fixes

Changes

v0.7.2 - 17 Jan 2021

Fixes

Changes

v0.7.1 - 01 Jan 2021

Fixes

Features

  • adds heuristic for selector match between VMRule, VMNodeScrape, VMProbe, VMServiceScrape and VMPodScrape and corresponding object - VMAlert or `VMAgent. It must speed up reconciliation in case of multi-tenancy.

Changes

v0.7.0 - 30 Dec 2020

Fixes

Features

Changes

v0.6.1 - 16 Dec 2020

Fixes

  • VMAlert TLSConfig build was fixed.
  • Fixes docs for operator-hub.

Changes

v0.6.0 - 15 Dec 2020

Breaking changes:

  • VMAgent RemoteWriteSpec was changed, now it doesnt support flushInterval,maxBlockSize,maxDiskUsagePerURL and queues. Because its global flags at vmagent. Added remoteWriteSettings instead with corresponding settings.

Features

Fixes

Changes

v0.5.0 - 04 Dec 2020

Breaking changes:

  • VMCluster's serviceAccountName moved from VMCluster.spec.vm....serviceAccountName to the root of spec, and now its located at VMCluster.spec.serviceAccountName.
  • Operator requires additional rbac permissions.

Features

Fixes

  • Fixes rbac for openshift deployment, adds emptyDir for VMAgents persistent queue with 1gb size limit. https://github.com/VictoriaMetrics/operator/issues/106
  • Fixes VMAlert deployment serviceAccountName.
  • Fixes logger levels for operator.
  • Fixes labels, now is forbidden to change Selector labels for for all VictoriaMetrics applications. This changes will be ignored.
  • Reduces size of CRDs.

Changes

v0.4.0 - 15 Nov 2020

Changes

v0.3.0 - 29 Oct 2020

Changes

v0.2.1 - 28 Aug 2020

  • #78 fixed bug with rbac - without access to vmsingles api resource, operator wasn't able to start reconciliation loop.
  • #76 added path prefix support if extraArgs was specified.
  • #71 arm support with cross compilation.

Changes

v0.2.0 - 23 Aug 2020

  • Added VMProbe #59
  • Fixed various bug with prometheus api objects conversion.
  • added annotations for control conversion flow #68

Changes

v0.1.2 - 21 Aug 2020

  • #66 added path replacement for CAfile, Certfile, KeyFile, BearerTokenFile at prometheus api converter.
  • #65 fixed tlsConfig logic, now configuration file renders correctly, if empty value for Cert, Ca or KeySecret defined at tlsConf
  • minor documentation update

Changes

v0.1.1 - 18 Aug 2020

  • fixed issues with crd patching for 1.18 kubernetes version
  • fixed issue with rbac roles
  • upgraded go version to 1.15
  • upgraded operator-sdk version to 1.0.0

Changes

v0.1.0 - 12 Aug 2020

Starting point of operator releases

  • Documentation update

Changes

v0.0.6 - 26 Jul 2020

  • breaking changes to api (changed group name to operator.victoriametrics.com)
  • changed build and release process
  • migrated to operator sdk 0.19

Changes

v0.0.2 - 12 Jun 2020

  • fixed panic at vmSingle update
  • added support for scraping tls targets with ServiceMonitor TLSConfig

Changes

v0.0.1 - 06 Jun 2020

it contains basic api objects support:

  1. vmAgent
  2. vmAlert
  3. vmSingle
  4. vmAlertmanager
  • prometheus-operator objects:
  1. prometheusRule
  2. serviceMonitor
  3. podMonitor

Changes