Red Hat Training

A Red Hat training course is available for OpenShift Container Platform

7.6. 安装 OpenShift Container Platform

准备软件、镜像和主机后,您可以使用标准安装方法安装 OpenShift Container Platform:

  1. 配置清单文件以引用内部 registry:

    • 对于内部 registry:

      oreg_url=registry.example.com/openshift3/ose-<component>:<version> 1
      openshift_examples_modify_imagestreams=true
      1
      指定 ose 组件名称和版本号。
    • 对于 Satellite 镜像 registry:

      oreg_url=satellite.example.com/oreg-prod-openshift3_ose-<component>:<version> 1
      osm_etcd_image=satellite.example.com/oreg-prod-rhel7_etcd:3.2.28 2
      openshift_examples_modify_imagestreams=true
      1
      指定 ose 组件名称和版本号。
      2
      如果 etcd 镜像的 URL 前缀在您的 Satellite 服务器上有所不同,您必须在 osm_etcd_image 参数中指定 etcd 镜像的位置和名称。
  2. 运行 Installation Playbook