We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3cef3a commit 2fd1674Copy full SHA for 2fd1674
hack/k8s-init.sh
@@ -2,11 +2,13 @@
2
# start the following service in node1
3
if [ `hostname` == "node1" ];then
4
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"}}'
7
fi
8
# Start the following services in all nodes
9
services=(flanneld docker kubelet)
10
for svc in ${services[@]}
11
do
12
echo "Start $svc"
- #sudo systemctl start $svc
13
+ sudo systemctl start $svc
14
done
0 commit comments