第 5 章 使用辅助安装程序在 Oracle Compute Cloud@Customer 上安装集群
借助 Oracle® Compute Cloud@Customer (C3),您可以通过在数据中心中高性能云基础架构上使用 Oracle® Cloud Infrastructure (OCI)服务运行应用程序和中间件。
5.1. 概述 复制链接链接已复制到粘贴板!
您可以使用 Assisted Installer 在 Oracle Compute Cloud@Customer 上安装 OpenShift Container Platform。
有关替代安装方法,请参阅"使用基于代理的安装程序在 Oracle® Compute Cloud@Customer 上安装集群"。
预安装注意事项
- 确保您的安装满足为 Oracle 指定的先决条件。详情请查看 Oracle 文档中的 "访问权限和注意事项"部分。
- 确保您的基础架构经过认证并使用兼容的云实例类型。详情请查看 Oracle Cloud Infrastructure。
- 确保您在虚拟机上执行安装。
安装过程
安装过程在 OpenShift Container Platform 集群的指定划分中构建堡垒主机。堡垒主机用于运行两个 Terraform 脚本:
- 第一个脚本在 Compute Cloud@Customer 系统的 OCI Home 区域(两个动态组和一个策略)中构建 IAM 资源。
- 第二个脚本在 Compute Cloud@Customer 系统上构建基础架构资源,以支持 OpenShift Container Platform 集群,包括 OpenShift Container Platform VCN、公共和私有子网、负载均衡器、互联网 GW、NAT GW 和 DNS 服务器。该脚本包括激活 control plane 节点和组成集群的计算节点所需的所有资源。
堡垒主机安装在指定的 OpenShift Container Platform 中,并配置为通过 Compute Cloud@Customer 父租期中的指定 Compute Cloud@Customer DRG 子网或互联网 GW 子网进行通信。
随后安装过程会置备三个 control plane (master)节点和三个计算(worker)节点,以及组成集群的外部和内部负载平衡器。这是 Oracle Cloud Infrastructure (OCI)的标准实施。
主要步骤
该流程的主要步骤如下:
- 准备 Compute Cloud@Customer bastion 服务器。
- 通过 Home 区域运行 Terraform 脚本。
- 为 Oracle Cloud Infrastructure (OCI) 准备 OpenShift Container Platform 镜像。
- 通过 Compute Cloud@Customer 区域运行 Terraform 脚本。
- 使用 Assisted Installer Web 控制台安装集群。