mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-02-14 18:09:57 +00:00
docs: Made some typo fixes in the setup script (#883)
Some checks are pending
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
Some checks are pending
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
Signed-off-by: Anu-Ra-g <nayakanurag078@gmail.com>
This commit is contained in:
@@ -57,7 +57,7 @@ To solve this, try increasing your `max_user_instances` and `max_user_watches`:
|
||||
Once you've increased the limits, delete the clusters already created and try again:
|
||||
```
|
||||
$ kind delete clusters hub cluster1 cluster2
|
||||
$ ./setup-ocm.sh
|
||||
$ ./local-up.sh
|
||||
```
|
||||
|
||||
|
||||
|
||||
@@ -16,17 +16,17 @@ kind create cluster --name "${hub}"
|
||||
kind create cluster --name "${c1}"
|
||||
kind create cluster --name "${c2}"
|
||||
|
||||
echo "Initialize the ocm hub cluster\n"
|
||||
echo -e "Initialize the ocm hub cluster\n"
|
||||
clusteradm init --wait --context ${hubctx}
|
||||
joincmd=$(clusteradm get token --context ${hubctx} | grep clusteradm)
|
||||
|
||||
echo "Join cluster1 to hub\n"
|
||||
echo -e "Join cluster1 to hub\n"
|
||||
$(echo ${joincmd} --force-internal-endpoint-lookup --wait --context ${c1ctx} | sed "s/<cluster_name>/$c1/g")
|
||||
|
||||
echo "Join cluster2 to hub\n"
|
||||
echo -e "Join cluster2 to hub\n"
|
||||
$(echo ${joincmd} --force-internal-endpoint-lookup --wait --context ${c2ctx} | sed "s/<cluster_name>/$c2/g")
|
||||
|
||||
echo "Accept join of cluster1 and cluster2"
|
||||
echo -e "Accept join of cluster1 and cluster2\n"
|
||||
clusteradm accept --context ${hubctx} --clusters ${c1},${c2} --wait
|
||||
|
||||
kubectl get managedclusters --all-namespaces --context ${hubctx}
|
||||
|
||||
Reference in New Issue
Block a user