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
安全選項
參考文檔
Last updated