Closed danmikita closed 3 years ago
OCCM is using cluster name configured in kubernetes-controller-manager. Could you provide the detailed steps of you operation?
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
.
Send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten
.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close
.
Send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten
Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen
.
Mark the issue as fresh with /remove-lifecycle rotten
.
Send feedback to sig-contributor-experience at kubernetes/community. /close
@fejta-bot: Closing this issue.
I've just hit this too.
I have three clusters (k0s-built) in the same tenant. Each cluster has different --cluster-name=
values on their kube-controller-manager
s.
I'd expect load balancers to be created with unique names, but they're still created using the default kubernetes
. And now the three clusters continuously fight over who owns the LBs.
The cloud controller manager is a separate binary and has its own parameters, you have to specify different cloud names for different CCMs.
The kube-controller-manager is not responsible for creating Service of LoadBalancer type anymore.
Is this a BUG REPORT or FEATURE REQUEST?: /kind feature
What happened: The name of the created lbaas references the "cluster-name" from the startup flags of the daemon set.
What you expected to happen: I expected the cluster-name flag to reference the name of the cluster from the kubernetes-controller-manager
--cluster-name=
flag.How to reproduce it: Change the
--cluster-name=
flag on the kubernetes controller manager startup arguments and see that the daemonset still defaults to "kubernetes" as the cluster-name.Anything else we need to know?: My current solution is to set the --cluster-name in the daemon-set manifest.