Skip to content

Commit

Permalink
Deployed 555a11d to v1.12.x with MkDocs 1.5.3 and mike 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ci-bot committed Mar 22, 2024
1 parent 6096231 commit 3373ae9
Show file tree
Hide file tree
Showing 21 changed files with 174 additions and 174 deletions.
2 changes: 1 addition & 1 deletion v1.12.x/advance/ovn-remote-port-mirroring/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<span class=nt>spec</span><span class=p>:</span>
<span class=w> </span><span class=nt>containers</span><span class=p>:</span>
<span class=w> </span><span class="p p-Indicator">-</span><span class=w> </span><span class=nt>name</span><span class=p>:</span><span class=w> </span><span class="l l-Scalar l-Scalar-Plain">bash</span>
<span class=w> </span><span class=nt>image</span><span class=p>:</span><span class=w> </span><span class="l l-Scalar l-Scalar-Plain">docker.io/kubeovn/kube-ovn:v1.12.8</span>
<span class=w> </span><span class=nt>image</span><span class=p>:</span><span class=w> </span><span class="l l-Scalar l-Scalar-Plain">docker.io/kubeovn/kube-ovn:v1.12.9</span>
<span class=w> </span><span class=nt>args</span><span class=p>:</span>
<span class=w> </span><span class="p p-Indicator">-</span><span class=w> </span><span class="l l-Scalar l-Scalar-Plain">bash</span>
<span class=w> </span><span class="p p-Indicator">-</span><span class=w> </span><span class="l l-Scalar l-Scalar-Plain">-c</span>
Expand Down
2 changes: 1 addition & 1 deletion v1.12.x/advance/with-openstack/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script> <h1 id=openstack>OpenStack 集成<a class=headerlink href=#openstack title="Permanent link">&para;</a></h1> <p>在一些情况下,用户需要使用 OpenStack 运行虚拟机,使用 Kubernetes 运行容器,并需要容器和虚机之间网络互通并处于统一控制平面下。如果 OpenStack Neutron 侧同样使用 OVN 作为底层网络控制,那么 Kube-OVN 可以使用集群互联和共享底层 OVN 两种方式打通 OpenStack 和 Kubernetes 的网络。</p> <h2 id=_1>集群互联<a class=headerlink href=#_1 title="Permanent link">&para;</a></h2> <p>该模式和<a href=../with-ovn-ic/ >使用 OVN-IC 进行多集群互联</a>打通两个 Kubernetes 集群网络方式类似,只不过将集群两端换成 OpenStack 和 Kubernetes。</p> <h3 id=_2>前提条件<a class=headerlink href=#_2 title="Permanent link">&para;</a></h3> <ol> <li>自动互联模式下 OpenStack 和 Kubernetes 内的子网 CIDR 不能相互重叠。</li> <li>需要存在一组机器可以被每个集群通过网络访问,用来部署跨集群互联的控制器。</li> <li>每个集群需要有一组可以通过 IP 进行跨集群互访的机器作为之后的网关节点。</li> <li>该方案只打通 Kubernetes 默认子网和 OpenStack 的选定 VPC。</li> </ol> <h3 id=ovn-ic>部署 OVN-IC 数据库<a class=headerlink href=#ovn-ic title="Permanent link">&para;</a></h3> <p>使用下面的命令启动 <code>OVN-IC</code> 数据库:</p> <div class=highlight><pre><span></span><code>docker<span class=w> </span>run<span class=w> </span>--name<span class=o>=</span>ovn-ic-db<span class=w> </span>-d<span class=w> </span>--network<span class=o>=</span>host<span class=w> </span>-v<span class=w> </span>/etc/ovn/:/etc/ovn<span class=w> </span>-v<span class=w> </span>/var/run/ovn:/var/run/ovn<span class=w> </span>-v<span class=w> </span>/var/log/ovn:/var/log/ovn<span class=w> </span>kubeovn/kube-ovn:v1.12.8<span class=w> </span>bash<span class=w> </span>start-ic-db.sh
</script> <h1 id=openstack>OpenStack 集成<a class=headerlink href=#openstack title="Permanent link">&para;</a></h1> <p>在一些情况下,用户需要使用 OpenStack 运行虚拟机,使用 Kubernetes 运行容器,并需要容器和虚机之间网络互通并处于统一控制平面下。如果 OpenStack Neutron 侧同样使用 OVN 作为底层网络控制,那么 Kube-OVN 可以使用集群互联和共享底层 OVN 两种方式打通 OpenStack 和 Kubernetes 的网络。</p> <h2 id=_1>集群互联<a class=headerlink href=#_1 title="Permanent link">&para;</a></h2> <p>该模式和<a href=../with-ovn-ic/ >使用 OVN-IC 进行多集群互联</a>打通两个 Kubernetes 集群网络方式类似,只不过将集群两端换成 OpenStack 和 Kubernetes。</p> <h3 id=_2>前提条件<a class=headerlink href=#_2 title="Permanent link">&para;</a></h3> <ol> <li>自动互联模式下 OpenStack 和 Kubernetes 内的子网 CIDR 不能相互重叠。</li> <li>需要存在一组机器可以被每个集群通过网络访问,用来部署跨集群互联的控制器。</li> <li>每个集群需要有一组可以通过 IP 进行跨集群互访的机器作为之后的网关节点。</li> <li>该方案只打通 Kubernetes 默认子网和 OpenStack 的选定 VPC。</li> </ol> <h3 id=ovn-ic>部署 OVN-IC 数据库<a class=headerlink href=#ovn-ic title="Permanent link">&para;</a></h3> <p>使用下面的命令启动 <code>OVN-IC</code> 数据库:</p> <div class=highlight><pre><span></span><code>docker<span class=w> </span>run<span class=w> </span>--name<span class=o>=</span>ovn-ic-db<span class=w> </span>-d<span class=w> </span>--network<span class=o>=</span>host<span class=w> </span>-v<span class=w> </span>/etc/ovn/:/etc/ovn<span class=w> </span>-v<span class=w> </span>/var/run/ovn:/var/run/ovn<span class=w> </span>-v<span class=w> </span>/var/log/ovn:/var/log/ovn<span class=w> </span>kubeovn/kube-ovn:v1.12.9<span class=w> </span>bash<span class=w> </span>start-ic-db.sh
</code></pre></div> <h3 id=kubernetes>Kubernetes 侧操作<a class=headerlink href=#kubernetes title="Permanent link">&para;</a></h3> <p><code>kube-system</code> Namespace 下创建 <code>ovn-ic-config</code> ConfigMap:</p> <div class=highlight><pre><span></span><code><span class=nt>apiVersion</span><span class=p>:</span><span class=w> </span><span class="l l-Scalar l-Scalar-Plain">v1</span>
<span class=nt>kind</span><span class=p>:</span><span class=w> </span><span class="l l-Scalar l-Scalar-Plain">ConfigMap</span>
<span class=nt>metadata</span><span class=p>:</span>
Expand Down
Loading

0 comments on commit 3373ae9

Please sign in to comment.