Red Hat Training

A Red Hat training course is available for OpenShift Container Platform

2.2.3. 使用 Web 控制台创建应用程序

  1. 在所需项目中,点击 Add to Project

    添加到项目
  2. 从项目中的镜像列表或从服务目录中选择构建程序镜像。

    浏览目录
    注意

    只有其注解中列出 builder 标签的 image stream tags 才会出现在此列表中,如下所示:

    kind: "ImageStream"
    apiVersion: "v1"
    metadata:
      name: "ruby"
      creationTimestamp: null
    spec:
      dockerImageRepository: "registry.redhat.io/openshift3/ruby-20-rhel7"
      tags:
        -
          name: "2.0"
          annotations:
            description: "Build and run Ruby 2.0 applications"
            iconClass: "icon-ruby"
            tags: "builder,ruby" 1
            supports: "ruby:2.0,ruby"
            version: "2.0"
    1
    此处包含 builder 可确保该 ImageStreamTag 作为构建程序出现在 web 控制台中。
  3. 修改新应用程序屏幕中的设置,以配置对象来支持您的应用程序:

    配置向导