kubeadm
# on master
export USE_MIRROR=true #国内用户必须使用MIRROR
git clone https://github.com/feiskyer/ops
cd ops
kubernetes/install-kubernetes.sh
# 记住控制台输出的 TOEKN 和 MASTER 地址,在其他 Node 安装时会用到
# on all nodes
git clone https://github.com/feiskyer/ops
cd ops
# Setup token and CIDR first.
# replace this with yours.
export TOKEN="xxxx"
export MASTER_IP="x.x.x.x"
export CONTAINER_CIDR="10.244.2.0/24"
# Setup and join the new node.
./kubernetes/add-node.sh初始化系统
ubuntu
CentOS
安装 master
配置 Network plugin
CNI bridge
flannel
weave
calico
添加 Node
Cloud Provider
删除安装
动态升级
手动升级
升级 Master
升级 Node
安全选项
参考文档
最后更新于