This repository was archived by the owner on Jul 30, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ if [ ! -d "cluster" ]; then
3131 ../../_output/bin/${local_os} /bootkube render --asset-dir=cluster --api-servers=https://172.17.4.101:443 ${etcd_render_flags} ${cnp_render_flags}
3232 cp user-data.sample cluster/user-data-worker
3333 cp user-data.sample cluster/user-data-controller
34- sed -i.bak -e ' /node-role.kubernetes.io\/master/d' cluster/user-data-worker
34+ sed -i -e ' /node-role.kubernetes.io\/master/d' cluster/user-data-worker
3535fi
3636
3737# Start the VM
Original file line number Diff line number Diff line change @@ -39,7 +39,8 @@ coreos:
3939 --network-plugin=cni \
4040 --node-labels=node-role.kubernetes.io/master \
4141 --pod-manifest-path=/etc/kubernetes/manifests \
42- --register-with-taints=node-role.kubernetes.io/master=:NoSchedule
42+ --register-with-taints=node-role.kubernetes.io/master=:NoSchedule \
43+ # do not delete this comment: the line above is deleted for workers.
4344 ExecStop=-/usr/bin/rkt stop --uuid-file=/var/cache/kubelet-pod.uuid
4445 Restart=always
4546 RestartSec=5
You can’t perform that action at this time.
0 commit comments