- 环境: Centos7, Kubernetes 1.11.2, docker-ce 17.03
Foreward
Kubernetes安装文档.
这里是一些安装软件的
kubeadm: the command to bootstrap the cluster.
kubelet: the component that runs on all of the machines in your cluster and does things like starting pods and containers.
kubectl: the command line util to talk to your cluster.
Install
Prepare
添加yum仓库配置文件
官方推荐的使用的packages.cloud.google.com地址不通,这里使用阿里云的yum仓库.
1 |
|
关闭SELinux
1 |
|
网络设置
1 |
|
关闭系统swap
1 |
|
安装docker
此处忽略,查看docker官方安装教程即可.
Install Master
1 |
|