Skip to content

Commit 2fd1674

Browse files
committed
uncomment the commands
1 parent e3cef3a commit 2fd1674

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

hack/k8s-init.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@
22
# start the following service in node1
33
if [ `hostname` == "node1" ];then
44
echo "Create network config in etcd..."
5+
etcdctl mkdir /kube-centos/network
6+
etcdctl mk /kube-centos/network/config '{"Network":"172.33.0.0/16","SubnetLen":24,"Backend":{"Type":"host-gw"}}'
57
fi
68
# Start the following services in all nodes
79
services=(flanneld docker kubelet)
810
for svc in ${services[@]}
911
do
1012
echo "Start $svc"
11-
#sudo systemctl start $svc
13+
sudo systemctl start $svc
1214
done

0 commit comments

Comments
 (0)