-
Notifications
You must be signed in to change notification settings - Fork 123
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
Many CCM in one cluster. #63
Comments
Having multiple copies of the same controller operating simultaneously is asking for race conditions. Currently we prevent this using controller manager level leader election. I am assuming that you have already given one of the two CCMs an alternate leader election name to circumvent the leader election protection. If you want to go that route I would suggest using the controllers flag (https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/controller-manager/options/generic.go#L65) to control the controllers in each CCM to ensure that each controller is only running in one of the two CCMs. |
Sorry, I'll add more details: I have two cloud providers with a different ProviderName (nameA/NameB). I have deployments for each cloud-provider. All CCMs can initialize the nodes and set providerID ( And based on providerName( And problem her - when the node joins the cluster, it does not have a providerID yet. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close not-planned |
@k8s-triage-robot: Closing this issue, marking it as "Not Planned". In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
I have this same question: how has anyone implemented a multi-cloud kubernetes cluster without this? Related: #35 |
Hello. I'd like to launch two CCM in one k8s cluster (one control plane)
Currently, CCM is trying to manage all nodes in the cluster, even if they have different ProviderName.
And one CCM can delete a node which uninitialized because it does not find the node in the cloud provider and does not have ProviderID yet.
Can we skip managing the foreign nodes? And add delete delay for uninitialized nodes?
a few changes here sergelogvinov@8468b74
So, what do you think, is it possible to solve the problem like this?
The text was updated successfully, but these errors were encountered: