Kube-OVN 提供了一键安装脚本,可以帮助你快速安装一个高可用,生产就绪的 Kube-OVN 容器网络。
- 下载安装脚本
- wget https://raw.githubusercontent.com/alauda/kube-ovn/release-1.2/dist/images/install.sh
- 使用编辑器打开脚本,并修改下列变量为预期值
- REGISTRY="kubeovn"
- NAMESPACE="kube-system" # The ns to deploy kube-ovn
- POD_CIDR="10.16.0.0/16" # Do NOT overlap with NODE/SVC/JOIN CIDR
- SVC_CIDR="10.96.0.0/12" # Do NOT overlap with NODE/POD/JOIN CIDR
- JOIN_CIDR="100.64.0.0/16" # Do NOT overlap with NODE/POD/SVC CIDR
- LABEL="node-role.kubernetes.io/master" # The node label to deploy OVN DB
- IFACE="" # The nic to support container network, if empty will use the nic that the default route use
- VERSION="v1.1.1"
- 执行安装脚本
bash install.sh