CentOS 7.2 yum 安装 Kubernetes

关闭防火墙

systemctl disable firewalld
systemctl stop firewalld

安装 etcd

yum install -y etcd

安装 Kubernetes (会自动安装 Docker)

yum install -y kubernetes

启动服务

# etcd
systemctl start etcd

# kubernetes master
systemctl start docker
systemctl start kube-apiserver
systemctl start kube-controller-manager
systemctl start kube-scheduler

# kubernetes node
systemctl start docker
systemctl start kubelet
systemctl start kube-proxy
2016-04-18 12:58147