第 4 章 部署 DCN control plane
要使用分布式计算节点(DCN)架构在 OpenShift (RHOSO)上部署 Red Hat OpenStack Services,您需要从安装 Red Hat OpenShift Container Platform (RHOCP)开始并安装 RHOSO control plane。有关准备 RHOSO control plane 的详细信息,请参阅在 OpenShift 上为 Red Hat OpenStack Services 准备 Red Hat OpenShift Container Platform。
在部署 control plane 之前,还必须配置 RHOCP 网络。RHOSO 的 DCN 部署需要管理大量子网。您使用的子网特定于您的环境。本文档在每个示例中都使用以下配置。
中央位置(AZ-0) | AZ-1 | AZ-2 | |
---|---|---|---|
Control plane(控制平面) | 192.168.122.0/24 | 192.168.133.0/24 | 192.168.144.0/24 |
外部 | 10.0.0.0/24 | 10.0.10.0/24 | 10.0.20.0/24 |
内部 | 172.17.0.0/24 | 172.17.10.0/24 | 172.17.20.0/24 |
Storage | 172.18.0.0/24 | 172.18.10.0/24 | 172.18.20.0/24 |
租户 | 172.19.0.0/24 | 172.19.10.0/24 | 172.19.20.0/24 |
存储管理 | 172.20.0.0/24 | 172.20.10.0/24 | 172.20.20.0/24 |
4.1. 为 DCN 创建 spine-leaf 网络拓扑 复制链接链接已复制到粘贴板!
分布式计算节点(DCN)架构中的地理分布式节点通过路由 spine-leaf 网络拓扑进行互连。
您必须配置以下 CR:
- NodeNetworkConfigurationPolicy
-
使用
NodeNetworkConfigurationPolicy
CR 在 RHOCP 集群中每个 worker 节点上为每个隔离网络配置接口。 - NetworkAttachmentDefinition
-
根据需要,使用
NetworkAttachmentDefinition
CR 将服务 pod 附加到隔离的网络中。 - L2Advertisement
-
使用
L2Advertisement
资源来定义如何宣布虚拟 IP (VIP)。 - IPAddressPool
-
使用
IPAddressPool
资源来配置哪些 IP 可用作 VIP。 - NetConfig
-
使用
NetConfig
CR 指定 data plane 网络的子网。 - OpenStackControlPlane
-
使用
OpenStackControlPlane
在 OpenShift 中定义和配置 OpenStack 服务。