Skip to content

Releases: VictoriaMetrics/operator

v0.44.0

09 May 16:51
0829591
Compare
Choose a tag to compare

v0.44.0 - 9 May 2024

  • vmagent: adds new fields into streamAggrConfig: dedup_interval, ignore_old_samples, keep_metric_names, no_align_flush_to_interval. It's only possible to use it with v1.100+ version of vmagent. See this issue for details.
  • operator: use Patch for finalizers set/unset operations. It must fix possible issues with CRD objects mutations. See this issue for details.
  • operator: adds spec.pause field to VMAgent, VMAlert, VMAuth, VMCluster, VMAlertmanager and VMSingle. It allows to suspend object reconcile by operator. See this issue for details. Thanks @just1900
  • vmagent: set status.selector field. It allows correctly use VPA with vmagent. See this issue for details.
  • prometheus-converter: fixes bug with prometheus-operator ScrapeConfig converter. Only copy spec field for it. See this issue for details.
  • vmscrapeconfig: authorization section in sd configs works properly with empty type field (default value for this field is Bearer).
  • prometheus-converter: fixes owner reference type on VMScrapeConfig objects
  • vmauth&vmuser: sync config fields from upstream, e.g., src_query_args, discover_backend_ips.

v0.43.5

26 Apr 11:35
4c6aa88
Compare
Choose a tag to compare

What's Changed

  • Update VictoriaMetrics image tags to v1.101.0.

Full Changelog: v0.43.4...v0.43.5

v0.43.4

25 Apr 17:49
bbf847c
Compare
Choose a tag to compare

v0.43.4 - 25 Apr 2024

  • operator: properly set status to expanding for VMCluster during initial creation. Previously, it was always operational.
  • operator: adds more context to Deployment and Statefulset watch ready functions. Now, it reports state of unhealthy pod. It allows to find issue with it faster.

v0.43.3

23 Apr 12:51
386e2c0
Compare
Choose a tag to compare

v0.43.3 - 23 Apr 2024

  • operator: fix conversion from ServiceMonitor to VMServiceScrape, bearerTokenSecret is dropped mistakenly since v0.43.0. See this issue.
  • operator: fix selector match for config resources like VMUser, VMRule... , before it could be ignored when update resource labels.

v0.43.2

22 Apr 10:11
7e2ba6f
Compare
Choose a tag to compare

v0.43.2 - 22 Apr 2024

  • vmagent: fixes bug with ServiceAccount not found with ingestOnlyMode.
  • vmagent: fixes unknown long flag '--rules-dir' for prometheus-config-reloader.

v0.43.1

18 Apr 19:11
3d7bcba
Compare
Choose a tag to compare

Full Changelog: v0.43.0...v0.43.1

v0.43.0

18 Apr 09:08
4dfa9a6
Compare
Choose a tag to compare

v0.43. - 18 Apr 2024

Update note: vmcluster: remove fields VMClusterSpec.VMInsert.Name, VMClusterSpec.VMStorage.Name, VMClusterSpec.VMSelect.Name, they're marked as deprecated since v0.21.0. See this pull request.
Update note: PodSecurityPolicy supports was deleted. Operator no long creates PSP related objects since it's no longer supported by Kubernetes actual versions. See this doc for details.
Update note: PodDisruptionBudget at betav1 API is no longer supported. Operator uses v1 stable version. See this doc for details.
Update note: Alertmanager versions below v0.22.0 are no longer supported. Version must upgraded - manually for resources or use default version bundled with operator config.

  • operator: properly reconcile ServiceAccount specified for CRDs. Previously operator didn't perform a check for actual owner of ServiceAccount. Now it creates and updates ServiceAccount only if this field is omitted at CRD definition. It fixes possible ownership race conditions.
  • Update VictoriaMetrics image tags to v1.100.1.
  • operator: reduce number of watched resources owned by CRDs. Operator no longer watches for Service, Secret, Configmap changes owned by CRD object. It must reduce logging output, CPU and memory usage for operator.
  • operator: exposes config-reloader-http port with 8435 number for the customer config-reloader containers. Operator may use own config-reloader implementation for VMAuth, VMAlertmanager and VMAgent.
  • operator: adds new field configReloaderExtraArgs for VMAgent, VMAlert, VMAuth and VMAlertmanager CRDs. It allows to configure config-reloader container.
  • config-reloader: adds error metrics to the config-reloader container - configreloader_last_reload_successful, configreloader_last_reload_errors_total, configreloader_config_last_reload_total, configreloader_k8s_watch_errors_total, configreloader_secret_content_update_errors_total, configreloader_last_reload_success_timestamp_seconds. See this issue for details.
  • operator: Changes error handling for reconcile. Operator sends Events into kubernetes API, if any error happened during object reconcile. See this issue for details.
  • operator: updates base Docker image and prometheus_client to versions with with CVE fixes
  • operator: adds reconcile retries on conflicts. See this issue for details.
  • operator: allows adjust Service generated by operator with useAsDefault option set to true for serviceSpec field. See this issue for details.
  • vmagent: allows to modify serviceName field for vmagent at statefulMode with custom service. See this issue for details. Thanks @yilmazo
  • vmagent: change service for statefulMode to the headless instead of clusterIP. See this issue for details.
  • vmservicescrape&vmpodscrape: add attach_metadata option under VMServiceScrapeSpec&VMPodScrapeSpec, the same way like prometheus serviceMonitor&podMonitor do. See this issue for details.
  • vmagent: allows multi-line regex at relabelConfig. See this docs and this issue for details.
  • vmalertmanagerconfig: fix struct field tags under Sigv4Config.
  • vmalertmanagerconfig: adds own config-reloader container. It must improve speed of config updates. See this issue for details.
  • vmalertmanager: bump default alertmanager version to v0.27.0, which supports new receivers like msteams_configs.
  • vmalertmanager: supports alertmanager version v0.22.0 or higher. Previous versions are no longer supported and must be upgraded before using new operator release.
  • vmscrapeconfig: add crd VMScrapeConfig, which can define a scrape config using any of the service discovery options supported in victoriametrics.
  • vmuser: adds targetRefBasicAuth field targetRef, which allow to configure basic authorization for target_url. See this issue for details. Thanks @mohammadkhavari
  • vmprobe: add field proxy_url, see this issue for details.
  • scrape CRDs: add field series_limit, which can be used to limit the number of unique time series a single scrape target can expose.
  • scrape CRDs: fix scrape_config filed disable_keep_alive, before it's misconfigured as disable_keepalive and won't work.
  • scrape CRDs: deprecated option relabel_debug and metric_relabel_debug, they were deprecated since v1.85.0.

v0.42.4

02 Apr 18:32
59ff66f
Compare
Choose a tag to compare

Full Changelog: v0.42.3...v0.42.4

v0.42.3

12 Mar 11:53
de88675
Compare
Choose a tag to compare

v0.43. - 12 Mar 2024

  • vmalert: do not add notifiers.* flags in case notifier.blackhole is provided via spec.extraArgs. See this issue for details.
  • operator: properly build liveness probe scheme with enabled tls. Previously it has hard-coded HTTP scheme. See this issue for details.
  • operator: do not perform a PVC size check on StatefulSet with 0 replicas. It allows to creates CRDs with 0 replicas for later conditional resizing.
  • vmalertmanager: properly print columns at CRD replicaCount and version status fields.

v0.42.2

06 Mar 00:48
403a78a
Compare
Choose a tag to compare

v0.42. - 6 Mar 2024

  • operator: fixes alertmanager args typo.
  • prometheus-converter: adds new flag controller.prometheusCRD.resyncPeriod which allows to configure resync period of prometheus CRD objects. See this issue for details.