Jump To Close Expand all Collapse all Table of contents 在 GCP 上安装 1. 在 GCP 上安装 Expand section "1. 在 GCP 上安装" Collapse section "1. 在 GCP 上安装" 1.1. 配置 GCP 项目 Expand section "1.1. 配置 GCP 项目" Collapse section "1.1. 配置 GCP 项目" 1.1.1. 创建一个 GCP 项目 1.1.2. 在 GCP 中启用 API 服务 1.1.3. 为 GCP 配置 DNS 1.1.4. GCP 帐户限值 1.1.5. 在 GCP 中创建服务帐户 Expand section "1.1.5. 在 GCP 中创建服务帐户" Collapse section "1.1.5. 在 GCP 中创建服务帐户" 1.1.5.1. 所需的 GCP 权限 1.1.6. 支持的 GCP 区域 1.2. 在 GCP 上快速安装集群 Expand section "1.2. 在 GCP 上快速安装集群" Collapse section "1.2. 在 GCP 上快速安装集群" 1.2.1. OpenShift Container Platform 对互联网和 Telemetry 的访问 1.2.2. 生成 SSH 私钥并将其添加到代理中 1.2.3. 获取安装程序 1.2.4. 部署集群 1.2.5. 安装 CLI 1.2.6. 登录集群 1.3. 使用自定义在 GCP 上安装集群 Expand section "1.3. 使用自定义在 GCP 上安装集群" Collapse section "1.3. 使用自定义在 GCP 上安装集群" 1.3.1. OpenShift Container Platform 对互联网和 Telemetry 的访问 1.3.2. 生成 SSH 私钥并将其添加到代理中 1.3.3. 获取安装程序 1.3.4. 创建安装配置文件 Expand section "1.3.4. 创建安装配置文件" Collapse section "1.3.4. 创建安装配置文件" 1.3.4.1. 安装配置参数 1.3.4.2. GCP 自定义 install-config.yaml 文件示例 1.3.5. 部署集群 1.3.6. 安装 CLI 1.3.7. 登录集群 1.4. 使用自定义设置在 GCP 上安装集群 Expand section "1.4. 使用自定义设置在 GCP 上安装集群" Collapse section "1.4. 使用自定义设置在 GCP 上安装集群" 1.4.1. OpenShift Container Platform 对互联网和 Telemetry 的访问 1.4.2. 生成 SSH 私钥并将其添加到代理中 1.4.3. 获取安装程序 1.4.4. 创建安装配置文件 Expand section "1.4.4. 创建安装配置文件" Collapse section "1.4.4. 创建安装配置文件" 1.4.4.1. 安装配置参数 1.4.4.2. 网络配置参数 1.4.4.3. GCP 自定义 install-config.yaml 文件示例 1.4.5. 修改高级网络配置参数 1.4.6. Cluster Network Operator 自定义资源 (CR) Expand section "1.4.6. Cluster Network Operator 自定义资源 (CR)" Collapse section "1.4.6. Cluster Network Operator 自定义资源 (CR)" 1.4.6.1. OpenShift SDN 的配置参数 1.4.6.2. Cluster Network Operator 示例 CR 1.4.7. 部署集群 1.4.8. 安装 CLI 1.4.9. 登录集群 1.5. 使用 Deployment Manager 模板在 GCP 上安装集群 Expand section "1.5. 使用 Deployment Manager 模板在 GCP 上安装集群" Collapse section "1.5. 使用 Deployment Manager 模板在 GCP 上安装集群" 1.5.1. 证书签名请求管理 1.5.2. 配置 GCP 项目 Expand section "1.5.2. 配置 GCP 项目" Collapse section "1.5.2. 配置 GCP 项目" 1.5.2.1. 创建一个 GCP 项目 1.5.2.2. 在 GCP 中启用 API 服务 1.5.2.3. 为 GCP 配置 DNS 1.5.2.4. GCP 帐户限值 1.5.2.5. 在 GCP 中创建服务帐户 Expand section "1.5.2.5. 在 GCP 中创建服务帐户" Collapse section "1.5.2.5. 在 GCP 中创建服务帐户" 1.5.2.5.1. 所需的 GCP 权限 1.5.2.6. 支持的 GCP 区域 1.5.2.7. 为 GCP 安装和配置 CLI 工具 1.5.3. 为 GCP 创建安装文件 Expand section "1.5.3. 为 GCP 创建安装文件" Collapse section "1.5.3. 为 GCP 创建安装文件" 1.5.3.1. 创建安装配置文件 1.5.3.2. 在安装过程中配置集群范围代理 1.5.3.3. 创建 Kubernetes 清单和 Ignition 配置文件 1.5.4. 导出常用变量 Expand section "1.5.4. 导出常用变量" Collapse section "1.5.4. 导出常用变量" 1.5.4.1. 提取基础架构名称 1.5.4.2. 为 Deployment Manager 模板导出常用变量 1.5.5. 在 GCP 中创建 VPC Expand section "1.5.5. 在 GCP 中创建 VPC" Collapse section "1.5.5. 在 GCP 中创建 VPC" 1.5.5.1. VPC 的 Deployment Manager 模板 1.5.6. 在 GCP 中创建网络和负载均衡组件 Expand section "1.5.6. 在 GCP 中创建网络和负载均衡组件" Collapse section "1.5.6. 在 GCP 中创建网络和负载均衡组件" 1.5.6.1. 网络和负载均衡器的 Deployment Manager 模板 1.5.7. 在 GCP 中创建防火墙规则和 IAM 角色 Expand section "1.5.7. 在 GCP 中创建防火墙规则和 IAM 角色" Collapse section "1.5.7. 在 GCP 中创建防火墙规则和 IAM 角色" 1.5.7.1. 防火墙规则和 IAM 角色的 Deployment Manager 模板 1.5.8. 为 GCP 基础架构创建 RHCOS 集群镜像 1.5.9. 在 GCP 中创建 bootstrap 机器 Expand section "1.5.9. 在 GCP 中创建 bootstrap 机器" Collapse section "1.5.9. 在 GCP 中创建 bootstrap 机器" 1.5.9.1. bootstrap 机器的 Deployment Manager 模板 1.5.10. 在 GCP 中创建 control plane 机器 Expand section "1.5.10. 在 GCP 中创建 control plane 机器" Collapse section "1.5.10. 在 GCP 中创建 control plane 机器" 1.5.10.1. control plane 机器的 Deployment Manager 模板 1.5.11. 等待 bootstrap 完成并删除 GCP 中的 bootstrap 资源 1.5.12. 在 GCP 中创建额外的 worker 机器 Expand section "1.5.12. 在 GCP 中创建额外的 worker 机器" Collapse section "1.5.12. 在 GCP 中创建额外的 worker 机器" 1.5.12.1. worker 机器的 Deloyment Manager 模板 1.5.13. 安装 CLI 1.5.14. 登录集群 1.5.15. 批准机器的 CSR 1.5.16. 可选:添加入口 DNS 记录 1.5.17. 在用户置备的基础架构上完成 GCP 安装 1.6. 在 GCP 上卸载集群 Expand section "1.6. 在 GCP 上卸载集群" Collapse section "1.6. 在 GCP 上卸载集群" 1.6.1. 删除使用安装程序置备的基础架构的集群 法律通告 Settings Close Language: 简体中文 日本語 English Language: 简体中文 日本語 English Format: Multi-page Single-page Format: Multi-page Single-page Language and Page Formatting Options Language: 简体中文 日本語 English Language: 简体中文 日本語 English Format: Multi-page Single-page Format: Multi-page Single-page 在 GCP 上安装 OpenShift Container Platform 4.2安装 OpenShift Container Platform 4.2 GCP 集群Red Hat OpenShift Documentation Team法律通告摘要 本文档提供在 Google Cloud Platform 上安装和卸载 OpenShift Container Platform 4.2 集群的说明。 Next