v0.36.0
VictoriaMetrics Operator v0.36.0
Breaking changes
-
vmalert: Field
OAuth2
was renamed tooauth2
due to compatibility issue. If you definedOAuth2
with below fields in vmalert objects using operator before v0.36.0, these fields must be reapplied with new tagoauth2
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
,
- Affected fields:
-
vmalert: Field
bearerTokenFilePath
was renamed tobearerTokenFile
due to compatibility issue. If you definedbearerTokenFilePath
with below fields in vmalert objects using operator before v0.36.0, these fields must be reapplied with new tagbearerTokenFile
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
.
- Affected fields:
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
- vmagent: add example config for vmagent statefulmode.
- vmagent/vmsingle: adapt new features in streaming aggregation:
- support
streamAggr.dropInput
, see this issue for details; - support list for
match
parameter, see this issue for details; - support
staleness_interval
, see this issue for details.
- support
- vmcluster: add example config for cluster with custom storage claims.
- vmrule: support
update_entries_limit
field in rules, refer to alerting rules. See this PR for details. - vmrule: support
keep_firing_for
field in rules, refer to alerting rules. See this PR for details. - vmoperator parameters: Add option
VM_ENABLESTRICTSECURITY
and enable strict security context by default. See this issue, this and this PR for details. - vmoperator parameters: change option
VM_PSPAUTOCREATEENABLED
default value fromtrue
tofalse
cause PodSecurityPolicy already got deprecated since kubernetes v1.25. See this pr for details.