Skip to content

Scan pod alone #415

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mysiki opened this issue Mar 20, 2025 · 0 comments
Open

Scan pod alone #415

mysiki opened this issue Mar 20, 2025 · 0 comments

Comments

@mysiki
Copy link

mysiki commented Mar 20, 2025

Is your feature request related to a problem? Please describe.
My problem is link to the usage of Vcluster. With Vcluster, I have virtual cluster (with proper etcd) inside my K8S cluster. The workload (pod) are run / sync on host cluster but not the other component like Deployement, STS, etc ...
So KRR is not able to scan those pod because KRR only focus on Deployement, sts etc.

Prom exporter is on host cluster, so only know objects present on host cluster (not inside the vcluster).

Bonus, to avoid conflict, Vcluster rename the pod during the sync. So Prom have metric for pod like "myPod-HashId" when inside vcluster the pod name is "myPod". That mean, event running KRR inside vcluster is not possible because the POD name (inside vcluster) is not the same as the metric name that come from Host cluster.

Describe the solution you'd like
Ability to scan POD object directly.

Describe alternatives you've considered
Run inside vcluster, but as name are different, this not work.

Are you interested in contributing a PR for this?
Yes. (but my python knowledge are really low :D) If yes, we will provide guidance what parts of the code to modify and help you.

Additional context
Not sure if this PR cover my needed : #266

Example from Host view (where prom metric are) : dp-app-demo-5fbc4d8f54-2cm9c-x-demo-develop-client1--073b2da98c
Same inside vcluster : dp-app-demo-5fbc4d8f54-2cm9c

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

No branches or pull requests

1 participant