Skip to content

Commit

Permalink
Deployed 3b805ae to v1.12.x with MkDocs 1.6.1 and mike 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ci-bot committed Sep 29, 2024
1 parent 2b86e2c commit 4e6cc6b
Show file tree
Hide file tree
Showing 21 changed files with 181 additions and 181 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.25</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.26</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> <a href=https://github.com/kubeovn/docs/edit/master/docs/advance/with-openstack.md title=编辑此页 class="md-content__button md-icon"> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M10 20H6V4h7v5h5v3.1l2-2V8l-6-6H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h4v-2m10.2-7c.1 0 .3.1.4.2l1.3 1.3c.2.2.2.6 0 .8l-1 1-2.1-2.1 1-1c.1-.1.2-.2.4-.2m0 3.9L14.1 23H12v-2.1l6.1-6.1 2.1 2.1Z"/></svg> </a> <a href=https://github.com/kubeovn/docs/raw/master/docs/advance/with-openstack.md title=查看本页的源代码 class="md-content__button md-icon"> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M17 18c.56 0 1 .44 1 1s-.44 1-1 1-1-.44-1-1 .44-1 1-1m0-3c-2.73 0-5.06 1.66-6 4 .94 2.34 3.27 4 6 4s5.06-1.66 6-4c-.94-2.34-3.27-4-6-4m0 6.5a2.5 2.5 0 0 1-2.5-2.5 2.5 2.5 0 0 1 2.5-2.5 2.5 2.5 0 0 1 2.5 2.5 2.5 2.5 0 0 1-2.5 2.5M9.27 20H6V4h7v5h5v4.07c.7.08 1.36.25 2 .49V8l-6-6H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h4.5a8.15 8.15 0 0 1-1.23-2Z"/></svg> </a> <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.25<span class=w> </span>bash<span class=w> </span>start-ic-db.sh
</script> <a href=https://github.com/kubeovn/docs/edit/master/docs/advance/with-openstack.md title=编辑此页 class="md-content__button md-icon"> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M10 20H6V4h7v5h5v3.1l2-2V8l-6-6H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h4v-2m10.2-7c.1 0 .3.1.4.2l1.3 1.3c.2.2.2.6 0 .8l-1 1-2.1-2.1 1-1c.1-.1.2-.2.4-.2m0 3.9L14.1 23H12v-2.1l6.1-6.1 2.1 2.1Z"/></svg> </a> <a href=https://github.com/kubeovn/docs/raw/master/docs/advance/with-openstack.md title=查看本页的源代码 class="md-content__button md-icon"> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M17 18c.56 0 1 .44 1 1s-.44 1-1 1-1-.44-1-1 .44-1 1-1m0-3c-2.73 0-5.06 1.66-6 4 .94 2.34 3.27 4 6 4s5.06-1.66 6-4c-.94-2.34-3.27-4-6-4m0 6.5a2.5 2.5 0 0 1-2.5-2.5 2.5 2.5 0 0 1 2.5-2.5 2.5 2.5 0 0 1 2.5 2.5 2.5 2.5 0 0 1-2.5 2.5M9.27 20H6V4h7v5h5v4.07c.7.08 1.36.25 2 .49V8l-6-6H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h4.5a8.15 8.15 0 0 1-1.23-2Z"/></svg> </a> <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.26<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 4e6cc6b

Please sign in to comment.