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