GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: add selector for victoriametrics running in cluster mode by muffl0n · Pull Request #530 · robusta-dev/krr

Conversation

@muffl0n

@muffl0n muffl0n commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Add selector "app.kubernetes.io/component=vmselect" to find service victoria-metrics-cluster-vmselect deployed by https://artifacthub.io/packages/helm/victoriametrics/victoria-metrics-cluster

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@muffl0n
feat: add selector for victoriametrics running in cluster mode
3c0e915
Add selector "app.kubernetes.io/component=vmselect" to find service victoria-metrics-cluster-vmselect deployed by https://artifacthub.io/packages/helm/victoriametrics/victoria-metrics-cluster
@CLAassistant

CLAassistant commented Jun 8, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@coderabbitai

coderabbitai Bot commented Jun 8, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: e74c97d2-2c51-413f-9639-436347cd0cf0

📥 Commits

Reviewing files that changed from the base of the PR and between d7b7c7d and 3c0e915.

📒 Files selected for processing (1)
  • robusta_krr/core/integrations/prometheus/metrics_service/victoria_metrics_service.py

Walkthrough

This PR extends Victoria Metrics service discovery to include an additional Kubernetes label selector (app.kubernetes.io/component=vmselect) in the fallback discovery mechanism. This allows the metrics service to locate Victoria Metrics instances by the vmselect component label when other discovery methods are exhausted.

Changes

Victoria Metrics Selector Expansion

Layer / File(s) Summary
Victoria Metrics vmselect selector expansion
robusta_krr/core/integrations/prometheus/metrics_service/victoria_metrics_service.py
Added app.kubernetes.io/component=vmselect to the fallback Kubernetes selectors used when discovering Victoria Metrics service endpoints, improving service location reliability in environments with vmselect deployments.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: adding a selector for VictoriaMetrics running in cluster mode, which matches the file modification to add the vmselect component selector.
Description check ✅ Passed The description is directly related to the changeset, specifying the exact selector being added and referencing the VictoriaMetrics Helm chart it targets.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
  • X
  • Mastodon
  • Reddit
  • LinkedIn

Comment @coderabbitai help to get the list of available commands and usage tips.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

aantn
aantn approved these changes Jun 8, 2026
View reviewed changes
@aantn
aantn merged commit 383275a into robusta-dev:main Jun 8, 2026
2 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@chenrui333 chenrui333 mentioned this pull request Jul 21, 2026
krr 1.29.0 chenrui333/homebrew-tap#9442
Closed
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@aantn aantn aantn approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@muffl0n @CLAassistant @aantn
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.