Public Repository

Last pushed: a year ago
Short Description
Short description is empty for this repo.
Full Description
# etcd 
docker run -d -p 2379:2379 --restart=always --name etcd quay.io/coreos/etcd:v2.3.7 --advertise-client-urls http://0.0.0.0:2379 --listen-client-urls http://0.0.0.0:2379 --listen-peer-urls http://0.0.0.0:2380

#apiserver
docker run -d -p 8080:8080 --restart=always --name apiserver --link etcd:etcd starboychina/kube-apiserver --v=2 --etcd-servers=http://etcd:2379 --insecure-bind-address=0.0.0.0 --port=8080 --kubelet-port=10250 --allow-privileged=false --service-cluster-ip-range=10.254.0.0/16 --admission-control=NamespaceLifecycle,NamespaceExists,LimitRanger,SecurityContextDeny,ResourceQuota

#controllermanager
docker run -d --restart=always --name controllermanager --link apiserver:apiserver starboychina/kube-controller-manager --logtostderr=true --master=http://apiserver:8080 --v=2

#scheduler
docker run -d --restart=always --name scheduler --link apiserver:apiserver starboychina/kube-scheduler --logtostderr=true --master=http://apiserver:8080 --v=2

#network->flannel
docker exec etcd /etcdctl mk /atomic.io/network/config '{"Network":"172.17.0.0/16"}'
Docker Pull Command
Owner
starboychina

Comments (0)