第 1 章 OpenShift Container Platform registry 概述

OpenShift Container Platform可以使用您的源代码构建镜像,并进行部署及管理其生命周期。它提供了一个内部集成的容器镜像 registry,它可以部署到 OpenShift Container Platform 环境中,以便本地管理镜像。此概述包含 OpenShift Container Platform 常用的 registry 的参考信息和链接,着重介绍内部镜像 registry。

1.1. OpenShift Container Platform registry 常用术语表

该术语表定义了 registry 内容中使用的常用术语。

container
包括软件及其所有依赖项的轻量级和可执行镜像。由于容器虚拟化操作系统,因此您可以在数据中心、公有云或私有云或本地主机中运行容器。
Image Registry Operator
Image Registry Operator 在 openshift-image-registry 命名空间中运行,并管理该位置中的 registry 实例。
镜像仓库
镜像仓库是相关容器镜像和标识它们的标签(tag)的集合。
镜像 registry
mirror registry 是一个 registry,其中包含 OpenShift Container Platform 镜像的 mirror。
namespace
命名空间隔离单个集群中的一组资源。
OpenShift Container Platform registry
OpenShift Container Platform registry 是 OpenShift Container Platform 提供的 registry,用于管理镜像。
pod
pod 是 Kubernetes 中的最小逻辑单元。pod 由一个或多个容器组成,可在 worker 节点上运行。
私有 registry
registry 是实现容器镜像 registry API 的服务器。私有 registry 是需要身份验证的 registry,允许用户访问其内容。
公共 registry
registry 是实现容器镜像 registry API 的服务器。公共 registry 是以公开方式提供其内容的 registry。
Quay.io
由红帽提供和维护的公共 Red Hat Quay Container Registry 实例,为 OpenShift Container Platform 集群提供大多数容器镜像和 Operator。
registry 身份验证
要将镜像推送 (push) 到私有镜像仓库,registry 需要根据凭据验证其用户。
route
公开服务,以允许从 OpenShift Container Platform 实例外的用户和应用程序对 pod 进行网络访问。
缩减(scale down)
减少副本数。
扩展(scale up)
增加副本数量。
service
服务在一组 pod 上公开正在运行的应用程序。