Skip to content

[Feature Request]: ability to disable the service controller #103

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
zifeo opened this issue Apr 18, 2025 · 4 comments
Open

[Feature Request]: ability to disable the service controller #103

zifeo opened this issue Apr 18, 2025 · 4 comments

Comments

@zifeo
Copy link

zifeo commented Apr 18, 2025

What feature would you like to have in the provider?

We are running our proper load balancing logic and only need the node controller to work. Is it possible to disable the service controller, or alternatively is the best approach to limit the exoscale iam used by it?

@kobajagi
Copy link
Contributor

Hello @zifeo ,
We support externally managed NLBs, you can check the documentation here. Would this match your setup?

@zifeo
Copy link
Author

zifeo commented Apr 22, 2025

@kobajagi Thanks for getting back. Not really because it would require to add the annotation to each service, which we cannot (some services are controlled by specific operators where there is no overriding possible) and we are using another cloud controller to control the services (we are not using any NLB from Exoscale, rather kube-vip internally). Currently the exoscale ccm keeps trying to update the services and fails forever, spamming the events and logs.

@simonhammes
Copy link

simonhammes commented Apr 28, 2025

I haven't tried this out, but shouldn't this be possible by setting this field to true?

type loadBalancerConfig struct {
Disabled bool // if true, disables this controller
}

Afaict this can be achieved by using the configuration file, I found this test case:

loadBalancer:
disabled: true

I'm not sure why this isn't documented in https://github.com/exoscale/exoscale-cloud-controller-manager/blob/master/docs/getting-started.md, maybe it's just an oversight :)

@zifeo
Copy link
Author

zifeo commented Apr 29, 2025

@simonhammes Thanks, I can confirm that this works with the flag --cloud-config. I am leaving this issue open for the doc adjustment.

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

3 participants