Skip to content

VMDistributed: support RequestsLoadBalancer#1820

Open
vrutkovs wants to merge 1 commit intomasterfrom
vmd-vmauth-requests-loadbalancer
Open

VMDistributed: support RequestsLoadBalancer#1820
vrutkovs wants to merge 1 commit intomasterfrom
vmd-vmauth-requests-loadbalancer

Conversation

@vrutkovs
Copy link
Collaborator

@vrutkovs vrutkovs commented Feb 18, 2026

Update the VMAuth to use static path to requests LB when VMCluster has RequestsLoadBalancer enabled.

Fixes #1814


Summary by cubic

VMAuth now routes /select and tenant admin requests to the VMCluster Requests LoadBalancer via a static service URL when enabled. Fixes #1814.

  • Bug Fixes
    • Use StaticRef to http://vmclusterlb-..svc: for /select and /admin/tenants when RequestsLoadBalancer is enabled (default port 8427; custom port supported).
    • Fall back to VMCluster/vmselect CRD target when the LB is disabled or select balancing is turned off.
    • Sort TargetRefs consistently for both Static and CRD backends; added tests for LB on/off, custom port, exclusions, and sorting.

Written for commit a9ebb0e. Summary will update on new commits.

Update the VMAuth to use static path to requests LB when VMCluster has RequestsLoadBalancer enabled
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

@vrutkovs vrutkovs changed the title VMDistributed: append /api/v1/write to allowed vmauth endpoints VMDistributed: support RequestsLoadBalancer Feb 18, 2026
@vrutkovs
Copy link
Collaborator Author

Lets hold this one for now, as ideally VMCluster/select would detect this automatically

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

VMDistributed: point to vmauth when requestsLoadBalancer is enabled

1 participant

Comments