Skip to content

Commit

Permalink
title: virtualcluster join controller could delete useless node when …
Browse files Browse the repository at this point in the history
…update virtualclustre

Signed-off-by: dongweiguo <[email protected]>
  • Loading branch information
GreatLazyMan committed Mar 26, 2024
1 parent e9dcc5e commit 9e193b1
Show file tree
Hide file tree
Showing 3 changed files with 2,501 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/clustertree-operator/app/options/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func (o *Options) AddFlags(flags *pflag.FlagSet) {
}

flags.BoolVar(&o.LeaderElection.LeaderElect, "leader-elect", true, "Start a leader election client and gain leadership before executing the main loop. Enable this when running replicated components for high availability.")
flags.StringVar(&o.LeaderElection.ResourceName, "leader-elect-resource-name", "network-manager", "The name of resource object that is used for locking during leader election.")
flags.StringVar(&o.LeaderElection.ResourceName, "leader-elect-resource-name", "clustertree-operator", "The name of resource object that is used for locking during leader election.")
flags.StringVar(&o.LeaderElection.ResourceNamespace, "leader-elect-resource-namespace", utils.DefaultNamespace, "The namespace of resource object that is used for locking during leader election.")
flags.Float32Var(&o.KubernetesOptions.QPS, "kube-qps", 40.0, "QPS to use while talking with kube-apiserver.")
flags.IntVar(&o.KubernetesOptions.Burst, "kube-burst", 60, "Burst to use while talking with kube-apiserver.")
Expand Down
Loading

0 comments on commit 9e193b1

Please sign in to comment.