Skip to content

一键安装

Oilbeater edited this page Apr 27, 2020 · 31 revisions

Kube-OVN 提供了一键安装脚本,可以帮助你快速安装一个高可用,生产就绪的 Kube-OVN 容器网络。

  1. 下载安装脚本

wget https://raw.githubusercontent.com/alauda/kube-ovn/release/1.1/dist/images/install.sh

  1. 使用编辑器打开脚本,并修改下列变量为预期值
 REGISTRY="index.alauda.cn/alaudak8s"
 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.0"
  1. 执行安装脚本

bash install.sh

Clone this wiki locally