Undo the changes within ubuntu.md
parent
ad83d18db4
commit
bca79cfdcb
|
@ -80,7 +80,7 @@ First configure the cluster information in cluster/ubuntu/config-default.sh, fol
|
||||||
```shell
|
```shell
|
||||||
export nodes="vcap@10.10.103.250 vcap@10.10.103.162 vcap@10.10.103.223"
|
export nodes="vcap@10.10.103.250 vcap@10.10.103.162 vcap@10.10.103.223"
|
||||||
|
|
||||||
export roles="ai i i"
|
export role="ai i i"
|
||||||
|
|
||||||
export NUM_NODES=${NUM_NODES:-3}
|
export NUM_NODES=${NUM_NODES:-3}
|
||||||
|
|
||||||
|
@ -92,7 +92,7 @@ export FLANNEL_NET=172.16.0.0/16
|
||||||
The first variable `nodes` defines all your cluster nodes, master node comes first and
|
The first variable `nodes` defines all your cluster nodes, master node comes first and
|
||||||
separated with blank space like `<user_1@ip_1> <user_2@ip_2> <user_3@ip_3> `
|
separated with blank space like `<user_1@ip_1> <user_2@ip_2> <user_3@ip_3> `
|
||||||
|
|
||||||
Then the `roles` variable defines the role of above machine in the same order, "ai" stands for machine
|
Then the `role` variable defines the role of above machine in the same order, "ai" stands for machine
|
||||||
acts as both master and node, "a" stands for master, "i" stands for node.
|
acts as both master and node, "a" stands for master, "i" stands for node.
|
||||||
|
|
||||||
The `NUM_NODES` variable defines the total number of nodes.
|
The `NUM_NODES` variable defines the total number of nodes.
|
||||||
|
|
Loading…
Reference in New Issue