Releases: VictoriaMetrics/operator
v0.59.1
v0.59.0
v0.59.0
Release date: 30 May 2025
Update Note 1: This release by deprecates VLogs
resource. It will transit into read-only state after v0.61.0
release.
To perform migration to the VLSingle
please follow this docs
-
Dependency: vmoperator: Updated default versions for VM apps to v1.118.0 version
-
FEATURE: config-reloader: exclude hidden directories from watch. It should prevent possible errors with hidden symlinks, which may occur during dir walk. See this commit for details.
-
FEATURE: operator: introduce new resource
VLSingle
. It replaces deprecatedVLogs
. See this issue for details. -
FEATURE: operator: introduce new resource
VLCluster
. See this issue and this doc for details. -
FEATURE: operator: manifests distributed via GitHub release artifacts now include the label
app.kubernetes.io/instance: default
, and the value ofapp.kubernetes.io/name
has been changed tovictoria-metrics-operator
. See #1364 for details. -
FEATURE: operator: add new field
proxyURL
to theVMagent
remoteWriteSpec
. See this PR for details. Thanks to the @DanielLeone -
FEATURE: operator: introduce new flags for leader election configuration -
leader-elect-lease-duration
,leader-elect-renew-deadline
. See this issue for details. -
FEATURE: operator: add
spec.configMaps
asvolumeMounts
for watch withconfig-reloader
container forVMAgent
andVMAlert
components. See this issue for details. -
BUGFIX: converter: properly apply filter prefixes for objects with
VM_FILTERPROMETHEUSCONVERTERLABELPREFIXES
andVM_FILTERPROMETHEUSCONVERTERANNOTATIONPREFIXES
env variables. See this PR 1391 for details. Thanks to the @padlyuck -
BUGFIX: operator: remove alerting rule
BadObjects
as metricoperator_controller_bad_objects_count
isn't exposed anymore. -
BUGFIX: operator: properly validate
HPA
object.metrics
andbehaviour
are optional fields. -
BUGFIX: vmcluster: fixes typo at
addDefaults
function forVMCLuster
, it prevents possible panic ifVMInsert
is not configured. See this issue for details.
v0.58.1
v0.58.0
v0.58.0
Release date: 14 May 2025
Update Note 1: This release by default deploys vmagent
which contains a bug, see more details in VictoriaMetrics#8941.
We recommend skipping this release and waiting for newer release.
If you still want to upgrade, you can override the vmagent image version by setting the environment variable: VM_VMAGENTDEFAULT_VERSION=v1.117.1
-
Dependency: vmoperator: Updated default versions for VM apps to v1.117.0 version
-
FEATURE: operator: introduce new flags for leader election configuration -
leader-elect-namespace
,leader-elect-id
. -
FEATURE: operator: upgraded prometheus-config-reloader image 0.68.0 -> 0.82.1. See helm-charts#2174.
-
BUGFIX: converter: properly retry watch request errors. Previously watcher could stale and ignore any Prometheus CRD object events. See this issue for details.
v0.57.0
Release date: 09 May 2025
-
Dependency: vmoperator: Updated default versions for VM apps to v1.116.0 version
-
Dependency: vmoperator: Updated default VLogs v1.21.0 version
-
Dependency: vmoperator: Updated default alertmanager to 0.28.1 version
-
FEATURE: operator: introduce FIPS builds for
operator
andconfig-reloader
containers with-fips
tag prefix. See this issue for details. -
FEATURE: operator: introduce new field
spec.configReloadAuthKeySecret
forVMAgent
,VMAlert
andVMAuth
components. It instructs application to use provided value for-configReload
auth key. See this issue for details. -
FEATURE: converter: add
msteamsv2_configs
conversion from Prometheus resource AlertmanagerConfig. See this commit for details. -
FEATURE: upgrade Go builder from Go1.24.0 to Go1.24.4 See Go1.24 release notes.
-
FEATURE: vmalertmanagerconfig: add
timeout
field to thewebhook_configs
definition. It's supported by alertmanager v0.28.0+. See this commit for details. -
FEATURE: vmsingle: add
8428
port alias to theVMSingle
Service
. See this issue for details. -
FEATURE: operator: made
retentionPeriod
in VMSingle and VMCluster optional; it now defaults to 1 (month) if not specified. Add a validation regexp^[0-9]+(h|d|y)?$
forretentionPeriod
. See #1326 for details. -
BUGFIX: operator: fix typo in
-remoteWrite.streamAggr.enableWindows
flag whenenableWindows
is set to true in VMAgent resources. See this commit for details. -
BUGFIX: vmagent: properly build
oauth2
clientSecret
configuration forremoteWrite
targets. See this issue for details. Thanks to the @Unichron for catching this bug. -
BUGFIX: vmauth: properly create and delete
VMServiceScrape
withinternalListenPort
option configured. See this issue for details.
v0.56.0
v0.56.0
Release date: 15 Apr 2025
**Update note 1: config-reloader container now longer uses proxy-protocol
for internal web-server if reload-use-proxy-protocol
is set.
-
Dependency: vmoperator: Updated default versions for VM apps to v1.115.0 version
-
Dependency: vmoperator: Updated default VLogs v1.18.0 version
-
FEATURE: operator: support
VM_METRICS_VERSION
andVM_LOGS_VERSION
env variables as a source for all VM and VL related CR image versions -
FEATURE: vmauth: add new field
internalListenPort
for serving internal routes. See this issue and this docs. -
FEATURE: vmauth: add new field
useProxyProtocol
for enabling proxy protocol for vmauth. See this issue. -
FEATURE: vmalertmanager: add runtime configuration validation. See this issue for details.
-
FEATURE: operator: add
StatefulSet
volumeMounts name validation. See this issue for details. -
BUGFIX: vmalertmanagerconfig: properly validate unknown fields at
route.routes
,http_config
andtls_config
. See this issue for details. -
BUGFIX: config-reloader: properly use
reload-use-proxy-protocol
flag. See this issue for details. -
BUGFIX: operator: fix shard count backward range bounds, as now it produced shard with negative index.
v0.55.0
v0.55.0
Release date: 02 Apr 2025
-
Dependency: vmoperator: Updated default versions for VM apps to v1.114.0 version
-
Dependency: vmoperator: make project layout compatible with
[kubebuilder v4](https://book.kubebuilder.io/migration/v3vsv4)
-
Dependency: vmoperator: Updated default VLogs v1.17.0 version
-
FEATURE: [operator](https://docs.victoriametrics.com/operator: add
tls_config
andproxy_url
fields to theoauth2
scrape target configurations. See this issue for details -
FEATURE: [operator](https://docs.victoriametrics.com/operator: add
extraEnvsFrom
field to all applications, which defines source for env variables as Secret or ConfigMap. See this issue for details. -
FEATURE: [operator](https://docs.victoriametrics.com/operator: set
publishNotReadyAddresses: true
to thevmstorage
,vmselect
,vmalertmanager
services. See this issue for details. -
FEATURE: [operator](https://docs.victoriametrics.com/operator: log fields changes diff for
Deployment
,StatefulSet
,Service
,PDB
,HPA
andVMServiceScrape
during reconcile process. See this issue for details. -
FEATURE: [operator](https://docs.victoriametrics.com/operator: add global env variables
VM_CONFIG_RELOADER_LIMIT_CPU
andVM_CONFIG_RELOADER_LIMIT_MEMORY
withunlimited
as default value. It controls global limits for config-reloader containers. See this issue for details. -
FEATURE: [operator](https://docs.victoriametrics.com/operator: add global env variables
VM_CONFIG_RELOADER_REQUEST_CPU
andVM_CONFIG_RELOADER_REQUEST_MEMORY
with empty as default value. It controls global requests for config-reloader containers. See this issue for details. All per resource config-reloader requests env variables are now deprecated. -
FEATURE: vmagent: introduce
daemonSetMode
as a beta feature. See this issue and this docs for details. -
FEATURE: vmagent: reduce Kubernetes API server load on large scale by removing
selectors
fromVMPodscrape
kubernetes_sd_configs
. Add new fieldVMAgent.spec.enableKubernetesAPISelectors
, which restores original behaviour. See this issue for details. -
FEATURE: vmagent: allow to define
remoteWrite.MaxDiskUsage
as integer and adds validation to it. See this issue for details. -
FEATURE: vmagent: allow to define
remoteWriteSettings.maxDiskUsagePerURL
as string with bytes suffix and adds validation to it. See this issue for details. -
FEATURE: vmalertmanagerconfig: add
content
,username
andavatar_url
todiscord_configs
definition. It's supported by alertmanager v0.28.0+. See this commit for details. -
FEATURE: vmalertmanagerconfig: add new receiver
jira_configs
, which was added at alertmanager v0.28.0. See this issue for details. -
FEATURE: vmalertmanagerconfig: add new receiver
rocketchat_configs
, which was added at alertmanager v0.28.0. See this issue for details. -
FEATURE: vmalertmanagerconfig: add new receiver
msteamsv2_configs
, which was added at alertmanager v0.28.0. See this issue for details. -
BUGFIX: operator: properly throttle concurrent reconcile events on high load. By raising default value for the
controller.maxConcurrentReconciles
command-line flag from5
to15
. See this issue for details. -
BUGFIX: vmoperator: properly track immutable fields changes for
StatefulSet
. See this issue for details. -
BUGFIX: vmcluster: properly propagate
podMetadata
torequestsLoadBalancer
Deployment
. See this PR for details. Thanks to the @solidDoWant -
BUGFIX: vmauth: properly sort
VMUsers
at generated configuration. See this issue for details. -
BUGFIX: vmprobe: properly add
vmProberSpec.scheme
to the generated configuration. See this issue for details. -
BUGFIX: vmagent: properly apply
remoteWriteSettings.maxDiskUsagePerURL
global setting. Previously, ifremoteWrite.MaxDiskUsage
was set to 1 remoteWrite and others don't have this setting, default value was used instead of remoteWriteSettings. See this issue for details.
v0.54.1
v0.54.1
Release date: 12 Mar 2025
- BUGFIX: vmoperator: reduce operator memory usage. Memory usage increased at v0.48.0. This change updates default value for
-controller.disableCacheFor=""
flag from empty toconfigmap,secret
and disables go-client cache forSecret
andConfigMap
. See this issue for details. - BUGFIX: vmoperator: properly reload
webhook
andmetricsserver
TLS certificates. Reload logic was broken at v0.54.0. See related commit.
v0.54.0
v0.54.0
Release date: 11 Mar 2025
**Update note 1: remove deprecated fields Replicas
, UpdateReplicas
, AvailableReplicas
and UnAvailableReplicas
from vlogs
, vmsingle
,vmagent
, vmalert
objects .status
.
-
Dependency: vmoperator: Updated default versions for VM apps to v1.113.0 version
-
Dependency: vmoperator: Updated default VLogs v1.15.0 version
-
Dependency: vmoperator: Updated
Kubernetes
libraries tov1.32.2
version andcontroller-runtime
tov0.20.2
version. -
Dependency: vmoperator: Updated
client-gen
tov0.32.4
version and generate api client. See this commit for details. -
FEATURE: upgrade Go builder from Go1.23.4 to Go1.24. See Go1.24 release notes.
-
FEATURE: operator: add new field to CRD objects spec:
disableAutomountServiceAccountToken
. See this issue and this docs for details. -
FEATURE: vmagent: deprecate
aPIServerConfig
in favor ofapiServerConfig
.aPIServerConfig
will be removed atv0.56.0
release. See this issue for details -
FEATURE: vmpodscrape: add
portNumber
topodMetricEndpoints
. See this issue for details. -
FEATURE: vmagent: support stream aggregation
enableWindows
. -
FEATURE: vmagent: add RBAC access to /metrics/slis. See this issue for details.
-
FEATURE: vmoperator: Introduce possible labels breaking changes to kustomize configs. See this commit.
-
FEATURE: vmoperator: reduce
config-reloader
container resources.cpu.requests from100m
to10m
. And remove containerresources.limits
. See this issue for details. Thanks @xiaozongyang -
BUGFIX: vmoperator: Properly generate kustomize config for validation webhook. See this commit.
-
BUGFIX: vmagent: reduce request latency for
validation
webhook. See this issue for details. -
BUGFIX: vmuser: properly validate
targetRef.crd.kind
. Previously it incorrectly forbidVLogs
reference. See this issue for details. -
BUGFIX: vmoperator: reduce CPU and memory usage at large scale. Now operator could skip expensive runtime validation for
VMRule
andVMAlertmanagerConfig
objects if-webhook.enable
is set. See this issue for details.
v0.53.0
v0.53.0
Release date: 05 Feb 2025
-
SECURITY: upgrade Go builder from Go1.23.4 to Go1.23.5. See the list of issues addressed in Go1.23.5.
-
Dependency: vmoperator: Updated default versions for VM apps to v1.110.0 version
-
FEATURE: vmalertmanagerconfig: add
thread_message_id
totelegram_configs
definition. It's supported by alertmanager v0.28.0+. See this issue for details. -
FEATURE: vlogs: support VLogs in VMUser targetRefs.crd
-
BUGFIX: vmoperator: properly check
Pod
state duringStatefulSet
rolling upgrade procedure. See this issue for details. -
BUGFIX: vmagent: properly upscale on
shardCount
change. See this issue for details. -
BUGFIX: vmauth: properly apply
vmuser
changes. See this PR for details.