Skip to content

Commit

Permalink
Docs:how to add more nodes for --cloud-nodes (openyurtio#459)
Browse files Browse the repository at this point in the history
Co-authored-by: zhoulei5 <[email protected]>
  • Loading branch information
adamzhoul and zhoulei5 authored Sep 10, 2021
1 parent eef381f commit d4c6e1c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/tutorial/yurtctl.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ us-west-1.192.168.0.87 Ready <none> 19h v1.14.8-aliyun.1
us-west-1.192.168.0.88 Ready <none> 19h v1.14.8-aliyun.1
```

2. You can convert only one node to edge node(i.e., minikube-m02) by using this command:
2. You can convert only one node to non-edge node(i.e., us-west-1.192.168.0.87) by using this command:
```bash
$ _output/bin/yurtctl convert --provider ack --cloud-nodes us-west-1.192.168.0.87
I0529 11:21:05.835781 9231 convert.go:145] mark us-west-1.192.168.0.87 as the cloud-node
Expand All @@ -138,6 +138,8 @@ I0529 11:21:05.974443 9231 convert.go:195] deploying the yurt-hub and resetti
I0529 11:21:26.075075 9231 util.go:147] servant job(yurtctl-servant-convert-us-west-1.192.168.0.88) has succeeded
```

Note: use "," to add more nodes (i.e., --cloud-nodes us-west-1.192.168.0.87,us-west-1.192.168.0.88).

3. Node `us-west-1.192.168.0.87` will be marked as a non-edge node. You can verify this by inspecting its labels:
```bash
$ kubectl describe node us-west-1.192.168.0.87 | grep Labels
Expand Down

0 comments on commit d4c6e1c

Please sign in to comment.