Skip to content
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

operator: how to disable not used component? #528

Closed
Howie59 opened this issue Sep 19, 2022 · 3 comments
Closed

operator: how to disable not used component? #528

Howie59 opened this issue Sep 19, 2022 · 3 comments
Labels
question Further information is requested

Comments

@Howie59
Copy link

Howie59 commented Sep 19, 2022

operator contains many components, but part i may not use.
how to disable these components?

@Howie59 Howie59 changed the title operator: how to disable not used component operator? operator: how to disable not used component? Sep 19, 2022
@f41gh7 f41gh7 added the question Further information is requested label Sep 20, 2022
@f41gh7
Copy link
Collaborator

f41gh7 commented Sep 20, 2022

Can you provide more context, which components is not in use and should be disabled?

I think, it's possible to implement turning off some controllers by it's name with flag setting.

@Amper
Copy link
Contributor

Amper commented Jul 27, 2023

Closed due to lack of activity from the initiator

@Amper Amper closed this as completed Jul 27, 2023
f41gh7 added a commit that referenced this issue Sep 29, 2024
With new flag `-controller.disableReconcileFor=vmauth,vmagent` it's possible to disable reconcile controllers for particular CRDs.

It's useful, if only specific subset of components should be managed by operator.

 Related issue:
#528

Signed-off-by: f41gh7 <nik@victoriametrics.com>
@f41gh7
Copy link
Collaborator

f41gh7 commented Sep 29, 2024

FYI since [v0.48.3] it's possible to disable particular controllers with flag -disableControllerForCRD.

For instance, -disableControllerForCRD=VMAgent,VMServiceScrape,VMPodScrape,VMNodeScrape,VMScrapeConfig,VMStaticScrape,VMPRobe - disables all scrape related controllers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants