File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -68,11 +68,15 @@ var (
6868 # Register cluster into karmada control plane with Pull mode.
6969 # If '--cluster-name' isn't specified, the cluster of current-context will be used by default.
7070 %[1]s register [karmada-apiserver-endpoint] --cluster-name=<CLUSTER_NAME> --token=<TOKEN> --discovery-token-ca-cert-hash=<CA-CERT-HASH>
71-
71+
72+ # The 'karmada-apiserver-endpoint' argument is an address of the Karmada API server from which info will be fetched.
73+ # It should be provided in the format '<host>:<port>'.
74+ %[1]s register 172.18.0.2:5443 --cluster-name=<CLUSTER_NAME> --token=<TOKEN> --discovery-token-ca-cert-hash=<CA-CERT-HASH>
75+
7276 # UnsafeSkipCAVerification allows token-based discovery without CA verification via CACertHashes. This can weaken
7377 # the security of register command since other clusters can impersonate the control-plane.
74- %[1]s register [karmada-apiserver-endpoint] --token=<TOKEN> --discovery-token-unsafe-skip-ca-verification=true
75- ` )
78+ %[1]s register [karmada-apiserver-endpoint] --token=<TOKEN> --discovery-token-unsafe-skip-ca-verification=true
79+ ` )
7680)
7781
7882const (
You can’t perform that action at this time.
0 commit comments