File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed
Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ kubectl apply -f - -n kube-system
3333kubectl config use-context " ${KARMADA_APISERVER} "
3434kubectl delete ResourceInterpreterWebhookConfiguration examples
3535
36- # delete interpreter example workload CRD in karamada -apiserver and member clusters
36+ # delete interpreter example workload CRD in karmada -apiserver and member clusters
3737kubectl delete -f " ${REPO_ROOT} /examples/customresourceinterpreter/apis/workload.example.io_workloads.yaml"
3838export KUBECONFIG=" ${MEMBER_CLUSTER_KUBECONFIG} "
3939kubectl config use-context " ${MEMBER_CLUSTER_1_NAME} "
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ sed -i'' -e "s/{{karmada-interpreter-webhook-example-svc-address}}/${interpreter
7171util::deploy_webhook_configuration " ${ROOT_CA_FILE} " " ${REPO_ROOT} /examples/customresourceinterpreter/webhook-configuration-temp.yaml"
7272rm -rf " ${REPO_ROOT} /examples/customresourceinterpreter/webhook-configuration-temp.yaml"
7373
74- # install interpreter example workload CRD in karamada -apiserver and member clusters
74+ # install interpreter example workload CRD in karmada -apiserver and member clusters
7575kubectl apply -f " ${REPO_ROOT} /examples/customresourceinterpreter/apis/workload.example.io_workloads.yaml"
7676export KUBECONFIG=" ${MEMBER_CLUSTER_KUBECONFIG} "
7777kubectl config use-context " ${MEMBER_CLUSTER_1_NAME} "
Original file line number Diff line number Diff line change 2323 joinLong = `Join registers a cluster to control plane.`
2424
2525 joinExample = templates .Examples (`
26- # Join cluster into karamada control plane, if '--cluster-context' not specified, take the cluster name as the context
26+ # Join cluster into karmada control plane, if '--cluster-context' not specified, take the cluster name as the context
2727 %[1]s join CLUSTER_NAME --cluster-kubeconfig=<KUBECONFIG>` )
2828)
2929
Original file line number Diff line number Diff line change 4949 registerLong = `Register a cluster to Karmada control plane with PULL mode.`
5050
5151 registerExample = templates .Examples (`
52- # Register cluster into karamada control plane with PULL mode.
52+ # Register cluster into karmada control plane with PULL mode.
5353 # If '--cluster-name' isn't specified, the cluster of current-context will be used by default.
5454 %[1]s register [karmada-apiserver-endpoint] --cluster-name=<CLUSTER_NAME> --token=<TOKEN> --discovery-token-ca-cert-hash=<CA-CERT-HASH>
5555
Original file line number Diff line number Diff line change @@ -25,13 +25,13 @@ var (
2525 unjoinShort = `Remove the registration of a cluster from control plane`
2626 unjoinLong = `Unjoin removes the registration of a cluster from control plane.`
2727 unjoinExample = templates .Examples (`
28- # Unjoin cluster from karamada control plane, but not to remove resources created by karmada in the unjoining cluster
28+ # Unjoin cluster from karmada control plane, but not to remove resources created by karmada in the unjoining cluster
2929 %[1]s unjoin CLUSTER_NAME
3030
31- # Unjoin cluster from karamada control plane and attempt to remove resources created by karmada in the unjoining cluster
31+ # Unjoin cluster from karmada control plane and attempt to remove resources created by karmada in the unjoining cluster
3232 %[1]s unjoin CLUSTER_NAME --cluster-kubeconfig=<KUBECONFIG>
3333
34- # Unjoin cluster from karamada control plane with timeout
34+ # Unjoin cluster from karmada control plane with timeout
3535 %[1]s unjoin CLUSTER_NAME --cluster-kubeconfig=<KUBECONFIG> --wait 2m` )
3636)
3737
You can’t perform that action at this time.
0 commit comments