CentOS 7.2 yum 安装 Kubernetes

关闭防火墙

1
2
systemctl disable firewalld
systemctl stop firewalld

安装 etcd

1
yum install -y etcd

安装 Kubernetes (会自动安装 Docker)

1
yum install -y kubernetes

启动服务

1
2
3
4
5
6
7
8
9
10
11
12
13
# 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
Systemd Service 中 一个`-`的困惑 归并排序
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×