Skip to content

Releases: VictoriaMetrics/operator

v0.51.3

08 Jan 06:35
028ab8b
Compare
Choose a tag to compare

v0.51.3

Release date: 8 Jan 2025

AppVersion: v1.108.1
AppVersion: v1.3.2

  • BUGFIX: vmagent: properly route headless service traffic to vmagent pods with statefulMode and shardCount defined.
  • BUGFIX: vmsingle: properly add volumeMount for external storageDataPath volume.
  • BUGFIX: vmcluster: properly mount serviceAccount for requestsLoadBalancer Deployment. See this issue for details.

v0.51.2

23 Dec 18:54
985552d
Compare
Choose a tag to compare

v0.51.2

Release date: 23 Dec 2024

AppVersion: v1.108.1
AppVersion: v1.3.2

  • SECURITY: upgrade Go builder from Go1.23 to Go1.23.4. See the list of issues addressed in Go1.23.2 and Go1.23.3.

  • BUGFIX: vmoperator: keep resourceVersion and other significant metadata fields during update objects requests. See this issue for details.

  • BUGFIX: vmoperator: properly update updateStatus: failed field. It fixes excessive errors logging and amount of created Kubernetes Events.

  • BUGFIX: vmoperator: Properly rollback incorrect object configuration. Previously diff for objects could be calculate incorrectly and update request could be skipped.

  • BUGFIX: vmcluster and vmsingle: restore deprecated fields status.clusterStatus and status.singleStatus removed at v0.51.0. Those deprecated fields will be removed at upcoming v0.52.0 version.

v0.51.1

19 Dec 13:38
a8b149e
Compare
Choose a tag to compare

v0.51.1

Release date: 19 Dec 2024

AppVersion: v1.108.1
AppVersion: v1.3.2

Update note 1: labels and annotations inheritance is deprecated and will be remove at upcoming v0.52.0 release. It's recommend to move all needed labels and annotations to the spec.managedMetadata fields.
Operator will preserve annotations, but any changes to it will be ignored. labels inherited from CRD.metata.labels will be removed after upgrade to v0.52.0.

Update note 2: VMAuth.spec.unauthorizedAccessConfig is deprecated in favour of VMAuth.spec.unauthorizedUserAccessSpec. Operator still serves deprecated fields until v1.0 release.

Update note 3: The following fields: [default_url,tlsConfig,discover_backend_ips,headers,response_headers,retry_status_codes,max_concurrent_requests,load_balancing_policy,drop_src_path_prefix_parts] are deprecated at VMAuth.spec. in favour of VMAuth.spec.unauthorizedUserAccessSpec. Operator still serves deprecated fields until v1.0 release.

  • vmcluster: add "app.kubernetes.io/part-of": "vmcluster" label to the objects generated for VMCluster components. It helps to use labels selectors to identify objects belong to the cluster.
  • vmauth: adds new spec setting unauthorizedUserAccessSpec that replaces unauthorizedAccessConfig and inlined fields from VMUserConfigOptions. See this issue for details.
  • vmuser: fix missing options src_headers, src_query_args and discover_backend_ips in the generate vmauth config when specified under vmuserSpec.targetRefs.
  • vmuser: adds dump_request_on_errors to vmuser.spec. See this PR for details.
  • vmoperator: add annotations to the PodDisruptionBudget and HorizontalPodAutoscaler objects generated.
  • vmoperator: fix the behaviors of vmagentSpec.ScrapeConfigSelector and vmagentSpec.scrapeConfigNamespaceSelector when vmagentSpec.selectAllByDefault=false. Previously, the VMScrapeConfig could be ignored.
  • vmoperator: fix the behaviors of xxxNamespaceSelector when vmagentSpec.selectAllByDefault=true. See this doc for detailed rules.
  • vmoperator: add support of license.forceOffile and license.reloadInterval options. See this doc for the details.
  • vmoperator: properly add securityContext to the containers with useStrictSecurity: false. See this issue for details.
  • vmoperator: Add new default security option to containers with enabled useStrictSecurity: true. It sets privileged: false.
  • vmoperator: Provided manifest without webhook
  • vmoperator: change structured logging. Move irrelevant fields into the msg body, change logger field to properly display controller.CRD name. See this issue for details.
  • vmoperator: Updated default versions for VM apps to v1.108.1 version
  • api: add new field managedMetadata to VMCluster.spec, VMAgent.spec,VMAlert.spec, VMAuth.spec,VMAlertmanager.Spec, VMSingle.spec andVLogs.spec. It controls labels and annotations added to the objects created operator (such as Deployment). See this issue for details.
  • api: upgrade Kubernetes(v0.31.3) and controller-runtime(v1.19.3) dependencies. Remove versions pin with replace directive from go.mod.
  • api: rework status sub-resource for VMUser, VMAlertmanager, VMRule and VMScrape.* objects. Add new conditions field, that represents resources conditions. See this issue for details.

v0.51.0

19 Dec 12:27
93a961f
Compare
Choose a tag to compare

v0.51.0

Release date: 19 Dec 2024

AppVersion: v1.108.1
AppVersion: v1.3.2

Update note 1: labels and annotations inheritance is deprecated and will be remove at upcoming v0.52.0 release. It's recommend to move all needed labels and annotations to the spec.managedMetadata fields.
Operator will preserve annotations, but any changes to it will be ignored. labels inherited from CRD.metata.labels will be removed after upgrade to v0.52.0.

Update note 2: VMAuth.spec.unauthorizedAccessConfig is deprecated in favour of VMAuth.spec.unauthorizedUserAccessSpec. Operator still serves deprecated fields until v1.0 release.

Update note 3: The following fields: [default_url,tlsConfig,discover_backend_ips,headers,response_headers,retry_status_codes,max_concurrent_requests,load_balancing_policy,drop_src_path_prefix_parts] are deprecated at VMAuth.spec. in favour of VMAuth.spec.unauthorizedUserAccessSpec. Operator still serves deprecated fields until v1.0 release.

  • vmcluster: add "app.kubernetes.io/part-of": "vmcluster" label to the objects generated for VMCluster components. It helps to use labels selectors to identify objects belong to the cluster.
  • vmauth: adds new spec setting unauthorizedUserAccessSpec that replaces unauthorizedAccessConfig and inlined fields from VMUserConfigOptions. See this issue for details.
  • vmuser: fix missing options src_headers, src_query_args and discover_backend_ips in the generate vmauth config when specified under vmuserSpec.targetRefs.
  • vmuser: adds dump_request_on_errors to vmuser.spec. See this PR for details.
  • vmoperator: add annotations to the PodDisruptionBudget and HorizontalPodAutoscaler objects generated.
  • vmoperator: fix the behaviors of vmagentSpec.ScrapeConfigSelector and vmagentSpec.scrapeConfigNamespaceSelector when vmagentSpec.selectAllByDefault=false. Previously, the VMScrapeConfig could be ignored.
  • vmoperator: fix the behaviors of xxxNamespaceSelector when vmagentSpec.selectAllByDefault=true. See this doc for detailed rules.
  • vmoperator: add support of license.forceOffile and license.reloadInterval options. See this doc for the details.
  • vmoperator: properly add securityContext to the containers with useStrictSecurity: false. See this issue for details.
  • vmoperator: Add new default security option to containers with enabled useStrictSecurity: true. It sets privileged: false.
  • vmoperator: Provided manifest without webhook
  • vmoperator: change structured logging. Move irrelevant fields into the msg body, change logger field to properly display controller.CRD name. See this issue for details.
  • vmoperator: Updated default versions for VM apps to v1.108.1 version
  • api: add new field managedMetadata to VMCluster.spec, VMAgent.spec,VMAlert.spec, VMAuth.spec,VMAlertmanager.Spec, VMSingle.spec andVLogs.spec. It controls labels and annotations added to the objects created operator (such as Deployment). See this issue for details.
  • api: upgrade Kubernetes(v0.31.3) and controller-runtime(v1.19.3) dependencies. Remove versions pin with replace directive from go.mod.
  • api: rework status sub-resource for VMUser, VMAlertmanager, VMRule and VMScrape.* objects. Add new conditions field, that represents resources conditions. See this issue for details.

v0.51.0-rc1

17 Dec 18:17
3de8f2e
Compare
Choose a tag to compare
v0.51.0-rc1 Pre-release
Pre-release

v0.51.0 - 17 Dec 2024

Update note 1: labels and annotations inheritance is deprecated and will be remove at upcoming v0.52.0 release. It's recommend to move all needed labels and annotations to the spec.managedMetadata fields.
Operator will preserve annotations, but any changes to it will be ignored. labels inherited from CRD.metata.labels will be removed after upgrade to v0.52.0.

Update note 2: VMAuth.spec.unauthorizedAccessConfig is deprecated in favour of VMAuth.spec.unauthorizedUserAccessSpec. Operator still serves deprecated fields until v1.0 release.

Update note 3: The following fields: [default_url,tlsConfig,discover_backend_ips,headers,response_headers,retry_status_codes,max_concurrent_requests,load_balancing_policy,drop_src_path_prefix_parts] are deprecated at VMAuth.spec. in favour of VMAuth.spec.unauthorizedUserAccessSpec. Operator still serves deprecated fields until v1.0 release.

  • vmcluster: add "app.kubernetes.io/part-of": "vmcluster" label to the objects generated for VMCluster components. It helps to use labels selectors to identify objects belong to the cluster.
  • vmauth: adds new spec setting unauthorizedUserAccessSpec that replaces unauthorizedAccessConfig and inlined fields from VMUserConfigOptions. See this issue for details.
  • vmoperator: add annotations to the PodDisruptionBudget and HorizontalPodAutoscaler objects generated.
  • vmoperator: bump default version of VictoriaMetrics components to 1.107.0.
  • vmoperator: fix the behaviors of vmagentSpec.ScrapeConfigSelector and vmagentSpec.scrapeConfigNamespaceSelector when vmagentSpec.selectAllByDefault=false. Previously, the VMScrapeConfig could be ignored.
  • vmoperator: fix the behaviors of xxxNamespaceSelector when vmagentSpec.selectAllByDefault=true. See this doc for detailed rules.
  • vmoperator: add support of license.forceOffile and license.reloadInterval options. See this doc for the details.
  • vmoperator: properly add securityContext to the containers with useStrictSecurity: false. See this issue for details.
  • vmoperator: Add new default security option to containers with enabled useStrictSecurity: true. It sets privileged: false.
  • vmoperator: Provided manifest without webhook
  • vmoperator: change structured logging. Move irrelevant fields into the msg body, change logger field to properly display controller.CRD name. See this issue for details.
  • api: add new field managedMetadata to VMCluster.spec, VMAgent.spec,VMAlert.spec, VMAuth.spec,VMAlertmanager.Spec, VMSingle.spec andVLogs.spec. It controls labels and annotations added to the objects created operator (such as Deployment). See this issue for details.
  • api: upgrade Kubernetes(v0.31.3) and controller-runtime(v1.19.3) dependencies. Remove versions pin with replace directive from go.mod.
  • api: rework status sub-resource for VMUser, VMAlertmanager, VMRule and VMScrape.* objects. Add new conditions field, that represents resources conditions. See this issue for details.

v0.50.0

22 Nov 12:36
4f8fafb
Compare
Choose a tag to compare

v0.50.0 - 22 Nov 2024

  • vmoperator: add missing container labels to the metrics discovered with VMServiceScrape for endpointslices discovery role.
  • vmoperator: bump default version of VictoriaMetrics components to 1.106.1.
  • vmoperator: add new variable VM_VMSERVICESCRAPEDEFAULT_ENFORCEENDPOINTSLICES to use endpointslices instead of endpoints as discovery role for VMServiceScrape when generate scrape config for VMAgent.
  • vmoperator: adds new flag loggerJSONFields to the operator logger configuration. It allows to change json encoder fields. See this issue for details.
  • api: adds new status field observedGeneration. See this issue for details.
  • api: unify updateStatus field for CRD objects. It replaces status, clusterStatus and singleStatus for VLogs, VMCluster and VMSingle with generic updateStatus.

v0.49.1

11 Nov 13:33
593d523
Compare
Choose a tag to compare

v0.49.1 - 11 Nov 2024

  • vmrule: properly validate rules for vlogs group type.
  • operator: properly apply changes to the converted VMScrapeConfig during operator start-up.
  • operator: properly set operational update status for CRDs. Previously, operational status could be set before rollout finishes at Kubernetes due to bug at Kubernetes controller-manager.

New Contributors

Full Changelog: v0.49.0...v0.49.1

v0.49.0

05 Nov 17:41
f8ca70f
Compare
Choose a tag to compare

v0.49.0 - 05 Nov 2024

  • operator: properly apply useStrictSecurity: true to the initContainers for VMAuth, VMAgent and VMAlertmanager. See this issue for details.
  • vmauth: Moved spec.configSecret to spec.externalConfig.secretRef.name and added spec.externalConfig.localPath to be able to provide custom configs via sidecar.
  • vmcluster: adds requestsLoadBalancer configuration to the VMCluster.spec. See this issue for details.
  • vmcluster: properly configure monitoring for VMCluster with enabled backup.
  • vmalertmanager: properly trigger reload when ConfigMap provided via .spec.configMap are changed.
  • operator: fixed operator reconcile on storage size change
  • operator: fixed converting AlertmanagerConfig to VMAlertmanagerConfig
  • vmoperator: bump default version of VictoriaMetrics components to 1.106.0.

v0.48.4

15 Oct 12:08
c79edba
Compare
Choose a tag to compare

v0.48.4 - 15 Oct 2024

  • api: adds new fields maxDiskUsagePerUrl andforceVMProto to the VMagent remoteWriteSpec
  • vmuser: fixes the protocol of generated CRD target access url for vminsert and vmstorage when TLS is enabled.
  • vmagent: properly make transition to statefulMode. See this issue for details.
  • vmagent: properly assign OwnerRefrence for Role and RoleBinding at single-namespace operator mode.
  • operator: fixes pod scheduling with useStrictSecurity enabled by removing default values for AppArmorProfile and SeccompProfile. See this issue for details.

New Contributors

Full Changelog: v0.48.3...v0.48.4

v0.48.3

29 Sep 20:26
0e44654
Compare
Choose a tag to compare

v0.48.3 - 29 Sep 2024

  • vmcluster: properly apply global container registry from configuration. It was ignored for VMCluster since v0.48.0 release. See this issue for details.
  • operator: updates default vlogs app version to v0.32.0
  • operator: adds new flag --disableControllerForCRD. It allows to disable reconcile controller for the given comma-separated list of CRD names. See this issue for details.