4.5. 在私有云设备上运行集群
要在 Oracle® Private Cloud Appliance 上运行集群,您必须首先将生成的 Agent ISO 镜像转换为 OCI 镜像,将其上传到 OCI Home Region Bucket 中,然后将上传的镜像导入到 Private Cloud Appliance 系统。
注意
私有云设备支持以下 OpenShift Container Platform 集群拓扑:
- 在单一节点上安装 OpenShift Container Platform 集群。
- 高可用性集群至少有三个 control plane 实例和两个计算实例。
- 紧凑的三节点集群,至少有三个 control plane 实例。
先决条件
- 您生成了 Agent ISO 镜像。请参阅"为在私有云设备上安装集群创建配置文件"部分。
流程
- 将代理 ISO 镜像转换为 OCI 镜像,将它上传到 OCI Home Region Bucket,然后将上传的镜像导入到 Private Cloud Appliance 系统。进入 OpenShift Cluster Setup with Agent Based Installer on Private Cloud Appliance (Oracle 文档) 中的 "Prepare the OpenShift Master Images" 部分。
- 在私有云设备上创建 control plane 实例。具体步骤,请参阅 OpenShift Cluster Setup with Agent Based Installer on Private Cloud Appliance (Oracle documentation) 中的 "Create control plane instances on PCA and Master Node LB Backend Sets"。
从集群拓扑提供的基础镜像创建计算实例。具体步骤,请参阅 OpenShift Cluster Setup with Agent Based Installer on Private Cloud Appliance (Oracle documentation) 中的 "Add worker nodes"。
重要在创建计算实例前,请检查您有足够的内存和磁盘资源。另外,请确保至少有一个计算实例与
agent-config.yaml
文件中rendezvousIP
下声明的地址相同的 IP 地址。