Conversation
…om first_available to least_loaded
Contributor
There was a problem hiding this comment.
1 issue found across 3 files
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="docs/CHANGELOG.md">
<violation number="1" location="docs/CHANGELOG.md:19">
P2: Custom agent: **Changelog Review Agent**
New changelog entry is missing required issue/PR reference links mandated by the changelog format.</violation>
</file>
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review, or fix all with cubic.
| * FEATURE: [vmauth](https://docs.victoriametrics.com/operator/resources/vmauth): previously VMAuth could read configuration only from predefined locations; now VMAuth supports arbitrary filesystem access configuration, allowing users to reference required files directly and reducing configuration workarounds. See [#899](https://github.com/VictoriaMetrics/operator/issues/899). | ||
|
|
||
| * BUGFIX: [converter](https://docs.victoriametrics.com/operator/integrations/prometheus/#objects-conversion): disable all prometheus controllers if CRD group was not found. See [#2838](https://github.com/VictoriaMetrics/helm-charts/issues/2838). | ||
| * BUGFIX: [vmdistributed](https://docs.victoriametrics.com/operator/resources/vmdistributed/): change default load balancing policy for write requests from `first_available` to `least_loaded`. This should allow to evenly distribute write load across all VMAgents. |
Contributor
There was a problem hiding this comment.
P2: Custom agent: Changelog Review Agent
New changelog entry is missing required issue/PR reference links mandated by the changelog format.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At docs/CHANGELOG.md, line 19:
<comment>New changelog entry is missing required issue/PR reference links mandated by the changelog format.</comment>
<file context>
@@ -16,6 +16,7 @@ aliases:
* FEATURE: [vmauth](https://docs.victoriametrics.com/operator/resources/vmauth): previously VMAuth could read configuration only from predefined locations; now VMAuth supports arbitrary filesystem access configuration, allowing users to reference required files directly and reducing configuration workarounds. See [#899](https://github.com/VictoriaMetrics/operator/issues/899).
* BUGFIX: [converter](https://docs.victoriametrics.com/operator/integrations/prometheus/#objects-conversion): disable all prometheus controllers if CRD group was not found. See [#2838](https://github.com/VictoriaMetrics/helm-charts/issues/2838).
+* BUGFIX: [vmdistributed](https://docs.victoriametrics.com/operator/resources/vmdistributed/): change default load balancing policy for write requests from `first_available` to `least_loaded`. This should allow to evenly distribute write load across all VMAgents.
## [v0.69.0](https://github.com/VictoriaMetrics/operator/releases/tag/v0.69.0)
</file context>
vrutkovs
reviewed
Apr 24, 2026
| Name: "write", | ||
| URLMapCommon: vmv1beta1.URLMapCommon{ | ||
| LoadBalancingPolicy: ptr.To("first_available"), | ||
| LoadBalancingPolicy: ptr.To("least_loaded"), |
Collaborator
There was a problem hiding this comment.
I think it needs to be complimented with removing exclude IDs from vmAgentTargetRef, so that we'd be writing in all zones (queues would grow when its being updated)
Contributor
Author
There was a problem hiding this comment.
vmagent is excluded as well in case if it can be restarted due to upgrade
vrutkovs
approved these changes
Apr 24, 2026
Collaborator
|
Thanks, could you backport it to 0.68.x too please? |
AndrewChubatiuk
added a commit
that referenced
this pull request
Apr 24, 2026
…om first_available to least_loaded (#2099)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary by cubic
Switches the default load balancing policy for write requests in
vmdistributedfromfirst_availabletoleast_loadedto spread write load evenly across VMAgents. Read requests remain onfirst_available.vmauth"write" target to useleast_loaded; retry codes unchanged.Written for commit 6a9d422. Summary will update on new commits.