Skip to content

v0.76.0

Latest

Choose a tag to compare

@Haleygo Haleygo released this 27 Nov 16:06
459199b

Update note 1: vtagent: the default VTAgent version is now v0.13.0, which sends trace spans in OTLP/HTTP protobuf format. Change every spec.remoteWrite[].url from the /insert/native endpoint to an OTLP/HTTP traces endpoint, such as http://vtsingle-example:10428/insert/opentelemetry/v1/traces. Otherwise, vtagent fails to write data. The spec.remoteWrite[].format field is deprecated and ignored for vtagent v0.13.0 and newer, since vtagent removed the -remoteWrite.format flag without a replacement. If spec.remoteWriteSettings.maxBlockSize is set below 32MiB, also set spec.extraArgs: {opentelemetry.traces.maxRequestSize: <same value>}, since vtagent v0.13.0 fails to start if the request size exceeds the block size. See VictoriaTraces update note and these docs.
Update note 2: vmestimator: the VMEstimator CRD must be installed and the operator's ClusterRole must be updated to grant get, list, watch, create, update, patch and delete on operator.victoriametrics.com/vmestimators, along with vmestimators/status and vmestimators/finalizers. See config/rbac/role.yaml for an example of these rules. The VMEstimator controller is enabled by default and watches VMEstimator objects at the cluster scope, even when no VMEstimator objects exist. Set -controller.disableReconcileFor=VMEstimator to keep running without these permissions. See these docs and #2547.
Update note 3: vmsingle, vmcluster: the deprecated vmBackup.acceptEULA field is removed. Resources that still set vmBackup.acceptEULA are rejected. Set spec.license.acceptEULA: true instead. The VMSingle and VMCluster CRDs must be updated to use spec.license.acceptEULA. See License and ESA.
Update note 4: VMAnomaly: update the default image to the Docker Hardened Images (DHI) variant, victoriametrics/vmanomaly:v1.33.1-dhi, for v1.33.1. Review the reader alignment migration; models trained on unaligned timestamps may need refitting.

  • SECURITY: upgrade Go builder from Go1.27.3 to Go1.27.4. See the list of issues addressed in Go1.27.4.

  • Dependency: vmoperator: Updated default versions for VM apps to v1.157.0.

  • Dependency: vmoperator: Updated default versions for VL apps to v1.55.0.

  • Dependency: vmoperator: Updated default versions for VT apps to v0.13.0.

  • Dependency: vmoperator: Updated default version for VMAnomaly to v1.33.1.

  • FEATURE: vmoperator: add spec.license.acceptEULA field to accept the ESA and enable enterprise features without a license key. The operator passes it as the -eula flag, which requires VictoriaMetrics v1.156.0 (LTS v1.148.9 and v1.136.23), VictoriaLogs v1.54.0 or vmanomaly v1.33.0 and newer. The CRDs must be updated to use it. See License and ESA and #2840.

  • FEATURE: vmoperator: exit at startup with a clear error if the CRD of an enabled controller is not installed, e.g. when only the operator image is updated to a new release, but the CRDs newly added in that release are not installed. Previously, the operator started and exited after -controller.cacheSyncTimeout (3m by default). See these docs and #2832.

  • FEATURE: vmoperator: exit at startup with a clear error if the CRD of an enabled controller is not installed, or the operator has no list or watch permission on it, e.g. when only the operator image is updated to a new release, but the CRDs or RBAC rules added in that release are not applied. Previously, the operator started and exited after -controller.cacheSyncTimeout (3m by default). See these docs, #2832 and #2846.

  • FEATURE: helm-converter: add support for the victoria-traces-agent chart, which is converted into VTAgent. See #2796.

  • FEATURE: helm-converter: the victoria-logs-single chart is now converted into VLSingle instead of the deprecated VLogs, including its license settings. See #2797.

  • FEATURE: vmanomaly: preserve Temporal Envelope model_version and support v2 seasonality and multivariate output settings. Requires vmanomaly v1.32.0 or newer; omitted versions retain v1. See #2801.

  • FEATURE: vmanomaly: preserve the Prophet top-level holidays calendar from vmanomaly v1.33.0. Previously, the field was dropped from the generated configuration. See #2836.

  • FEATURE: vmanomaly: add spec.server.tlsConfig to serve the anomaly UI and API over HTTPS, with optional client certificate verification (mTLS) when ca or caFile is set. Probes and scraping keep using the plain HTTP spec.monitoring.pull.port. Requires vmanomaly v1.32.0 or newer. The VMAnomaly CRD must be updated to use this field. See these docs and #2794.

  • FEATURE: vmestimator: add VMEstimator CRD for vmestimator, which estimates metrics cardinality in real time. See these docs and #2547. Thanks to @megative.

  • FEATURE: vmalertmanager: add spec.eventRecorder to configure Alertmanager's native event_recorder, which records notification pipeline events to fileOutputs, webhookOutputs, kafkaOutputs and/or stdoutOutput. Requires Alertmanager >= v0.33.0, while stdoutOutput and webhookOutputs[].batch require >= v0.34.0. The VMAlertmanager CRD must be updated to use this field. See #2707.

  • FEATURE: vmuser, vmauth: add access_log.headers to print the listed request headers in vmauth access log entries. Requires vmauth v1.153.0 or newer; for older versions, the field is omitted from the generated configuration. The VMUser, VMAuth, VMDistributed and VLDistributed CRDs must be updated to use this field. See these docs and #2753. Thanks to @l1ghtman2k.

  • FEATURE: vmoperator: send mutating requests with server-side dry-run in -dry-run mode, so the API server checks them against RBAC, quotas and admission webhooks without persisting any change. Dry-run mode now also performs the same startup checks as normal mode, reconciles only enabled controllers in the namespaces from WATCH_NAMESPACE, and exits with code 1 if any reconcile fails. Previously, mutating requests were only logged and never reached the API server, so dry-run reported success for changes the API server would reject. The operator now needs the same write permissions in dry-run mode as in normal mode. See these docs and #2494.

  • BUGFIX: vmalertmanager: fix a nil pointer panic when spec.arbitraryFSAccessThroughSMs.deny is set and a selected VMAlertmanagerConfig has a receiver config without http_config. Previously, every reconcile of the VMAlertmanager config panicked and crashed the operator. See #2823.

  • BUGFIX: helm-converter: convert the charts' http listener list into spec.port, extraArgs and Service ports. Previously, the list was silently dropped. See #2428.

  • BUGFIX: helm-converter: do not add the image variant to an empty image.tag. Previously, the generated custom resources got the invalid image tag -cluster, which made pods fail with InvalidImageName. With an empty tag, the operator default version is used now. See #2799.

  • BUGFIX: helm-converter: do not copy the chart's default service.type: ClusterIP into serviceSpec, and skip serviceSpec when nothing else is set, so the operator keeps its default Service. Previously, every converted VMCluster with this chart default got spec.vmselect.serviceSpec.spec.type: ClusterIP, which turned the headless vmselect Service into a regular one and made the operator recreate the Service when applied to an existing VMCluster. See #2800.

  • BUGFIX: vmoperator: respect http.listenAddr set in spec.configReloaderExtraArgs in all config-reloader related configs, such as the container port and health probes. Previously, it was hardcoded to 8435, which caused config-reloader probes to fail when the listen address was overridden, and multiple hostNetwork instances on the same node to conflict. See #2584. Thanks to @cesium147.

  • BUGFIX: vlagent: pass -kubernetesCollector.includePodLabels=false when spec.k8sCollector.includePodLabels is set to false. Previously, the flag was omitted, so vlagent kept its default and still attached pod labels to log entries. See #2772.

  • BUGFIX: vmsingle and vmcluster: keep the order of spec.downsampling.rules in the generated -downsampling.period flags. Previously, the operator sorted these flags alphabetically, so a different rule could match first and series could be downsampled with the wrong interval. VMSingle, and VMCluster vmselect and vmstorage pods, which have rules not in alphabetical order, are restarted once after the upgrade. See #2815.

  • BUGFIX: vmcluster, vlcluster and vtcluster: mount spec.requestsLoadBalancer.spec.secrets and spec.requestsLoadBalancer.spec.configMaps into the load balancer pods. Previously, the operator silently ignored these fields. See #2816.

  • BUGFIX: vmcluster, vlcluster, vtcluster: properly reconcile a cluster when a component with podDisruptionBudget or hpa is added to it. Previously, reconciliation failed with a nil pointer panic on every retry, so the new component was never created and the cluster stayed stuck until podDisruptionBudget or hpa was removed. See #2825.

  • BUGFIX: vldistributed: send logs from zone VLAgent to the /insert/multitenant/native endpoint of VLCluster and VLSingle backends. Previously, the /insert/native endpoint was used, so logs ingested into a non-default tenant were silently stored into the (AccountID=0, ProjectID=0) tenant. See these docs and #2843.

  • BUGFIX: vmdistributed: keep VMSingle backends when a VMDistributed with spec.retain: true is deleted. Previously, the operator released only VMCluster, VMAgent and VMAuth, so Kubernetes garbage collected every VMSingle, and also its data volume if removePvcAfterDelete: true was set. See #2842.

  • BUGFIX: vmnodescrape: validate spec.selector, as VMPodScrape and VMServiceScrape already do. Previously, with enableKubernetesAPISelectors set, an invalid selector made every vmagent and vmsingle reconcile that selected it panic, so no scrape config changes were applied. Now the webhook rejects such objects, and the operator skips them and reports the error in their status. See #2828.

  • BUGFIX: vmoperator: do not delete or evict an already recreated pod during a StatefulSet rolling update with the OnDelete strategy. Previously, if a pod was recreated, for example after node drain or manual deletion, while the operator was updating earlier pods, the operator deleted the new pod again, causing an extra restart of a pod that was already up to date. Also do not fail the rolling update when the pod is already deleted at eviction time. See #2830.

  • BUGFIX: vmoperator: replace a stale owner reference UID on managed resources when a custom resource is deleted and created again with the same name, for example by an Argo CD sync with Replace=true or a restore from backup. Previously, the operator kept the old UID, so the Kubernetes garbage collector could delete these resources. See #2833.

  • BUGFIX: vmoperator: do not overwrite the status, finalizers or owner references of an object from an outdated cached copy. Previously, if the object changed during a long reconcile or the cache was outdated, the operator could drop status.lastAppliedSpec, so leftovers of the previous spec were not cleaned up, or drop finalizers and owner references added by other controllers. Now such updates fail with a conflict and are retried. See #2829.