Merge pull request #3039 from Wang-Kai/master
modify description for flag usage
This commit is contained in:
commit
28223cf39d
|
@ -42,7 +42,7 @@ func (o *Options) AddFlags(fs *pflag.FlagSet) {
|
|||
if o == nil {
|
||||
return
|
||||
}
|
||||
fs.StringVar(&o.KubeConfig, "kubeconfig", o.KubeConfig, "Path to karmada control plane kubeconfig file.")
|
||||
fs.StringVar(&o.KubeConfig, "kubeconfig", o.KubeConfig, "Path to member cluster's kubeconfig file.")
|
||||
fs.StringVar(&o.Master, "master", o.Master, "The address of the member Kubernetes API server. Overrides any value in KubeConfig. Only required if out-of-cluster.")
|
||||
fs.StringVar(&o.ClusterName, "cluster-name", o.ClusterName, "Name of member cluster that the estimator serves for.")
|
||||
fs.StringVar(&o.BindAddress, "bind-address", defaultBindAddress, "The IP address on which to listen for the --secure-port port.")
|
||||
|
|
Loading…
Reference in New Issue