OpenShift Container Platform 4.14 镜像Container Platform 安装所需的镜像,以及容器镜像 registry 的后续产品更新,如 Red Hat Quay、JFrog Artifactory、Sonatype Nexus Repository 或 Harbor。如果您无法访问大型容器 registry,可以使用 mirror registry for Red Hat OpenShift ,它是包括在 OpenShift Container 的任何容器 registry,如 Red Hat Quay, mirror registry for Red Hat OpenShift, Artifactory, Sonatype Nexus Repository, 或 Harbor。无论您所选 registry 是什么,都会将互 联网上红帽托管站点的内容镜像到隔离的镜像 registry 相同。镜像内容后,您要将每个集群配置为从镜像 registry 在镜像主机上完成以下步骤: 1. 查看 OpenShift Container Platform 下载页面,以确定您要安装的 OpenShift Container Platform 版本,并决定 Repository Tags 页中的相应标签(tag)。 2. 设置所需的环境变量: a. 导出发行版本信息: 对于,请指定与 OpenShift Container 0 码力 | 118 页 | 1.13 MB | 1 年前3
OpenShift Container Platform 4.7 更新集群pull secret: 提供新的 registry。您可以在同一个 registry 中包含多个软件仓库,例如:--registry="repository>"。 提供新 registry 的凭据。 提供 pull secret 文件的路径。 另外,您可以对 pull secret 文件执行手动更新。 2. 输入以下命令为您的集群更新全局 images for a disconnected installation" 中直到(不包 括)Mirroring the OpenShift Container Platform image repository 的步骤。 您已将镜像 registry 配置为在受限网络中使用,并可访问您配置的证书和凭证。 您已从 Red Hat OpenShift Cluster Manager 下载了 pull 在镜像主机上完成以下步骤: 1. 查看 OpenShift Container Platform 下载页面,以确定您要更新的 OpenShift Container Platform 版本,并决定 Repository Tags 页中的相应标签(tag)。 2. 设置所需的环境变量: a. 导出发行版本信息: $ podman build -f ./Dockerfile -t registry.example 0 码力 | 62 页 | 716.72 KB | 1 年前3
OpenShift Container Platform 4.7 镜像Container Platform 安装所需的镜像,以及容器镜像 registry 的后续产品更新,如 Red Hat Quay、JFrog Artifactory、Sonatype Nexus Repository 或 Harbor。如果您无法访问大型容器 registry,可以使用 Red Hat OpenShift 的镜像 registry(OpenShift Container Platform Docker v2-2 的任何容器 registry,如 Red Hat Quay、Red Hat OpenShift 的镜像 registry、Artifactory、Sonatype Nexus Repository 或 Harbor。无论您所选 registry 是什么,都会将互联 网上红帽托管站点的内容镜像到隔离的镜像 registry 相同。镜像内容后,您要将每个集群配置为从镜像 registry 在镜像主机上完成以下步骤: 1. 查看 OpenShift Container Platform 下载页面,以确定您要安装的 OpenShift Container Platform 版本,并决定 Repository Tags 页中的相应标签(tag)。 2. 设置所需的环境变量: a. 导出发行版本信息: 对于,请指定与 OpenShift Container 0 码力 | 123 页 | 1.20 MB | 1 年前3
OpenShift Container Platform 4.2 镜像LOCAL_REGISTRY=': ' 2 $ export LOCAL_REPOSITORY='<repository_name>' 3 $ export PRODUCT_REPO='openshift-release-dev' 4 $ export LOCAL_SECRET_JSON=' ' ,请指定镜像存储库的 registry 域名;对于 ,请指定用于提供内容的端口。 对于 <repository_name>,请指定要在 registry 中创建的存储库名称,如 ocp4/openshift4。 要镜像的存储库。对于生产环境版本,必须指定 openshift-release-dev。 ASE_NAME}:${OCP_RELEASE} \ --to=${LOCAL_REGISTRY}/${LOCAL_REPOSITORY} \ --to-release-image=${LOCAL_REGISTRY}/${LOCAL_REPOSITORY}:${OCP_RELEASE} 该命令将发行信息提取为摘要,其输出包括安装集群时所需的 imageContentSources 0 码力 | 92 页 | 971.35 KB | 1 年前3
OpenShift Container Platform 4.10 CLI 工具如果您的插件没有被列出,请验证文件是否以 oc- 或 kubectl- 开头,是否可执行,且位于 PATH 中。 4. 调用插件引入的新命令或选项。 例如,如果您从 Sample plug-in repository 构建并安装了 kubectl-ns 插件,则可以使用以下命 令查看当前命名空间。 请注意,调用插件的命令取决于插件文件名。例如,文件名为 oc-foo-bar的插件会被 oc foo bar docker.io/myrepository/myimage:stable # Copy all tags starting with mysql to the destination repository oc image mirror myregistry.com/myimage:mysql* docker.io/myrepository/myimage # Copy image app oc new-app --list # Create an application based on the source code in the current git repository (with a public remote) and a container image oc new-app . --image=registry/repo/langimage0 码力 | 120 页 | 1.04 MB | 1 年前3
OpenShift Container Platform 4.4 安装版本,并决定 Repository Tags 页中的相应标签(tag)。 2. 设置所需的环境变量: $ export OCP_RELEASE=1 $ export LOCAL_REGISTRY=' : ' 2 $ export LOCAL_REPOSITORY='< LOCAL_REPOSITORY=' repository_name>' 3 " ": { "auth": " ", "email": "you@example.com" }, "cloud.openshift.com": { "auth": "b3BlbnNo...", "email": "you@example ,请指定镜像存储库的 registry 域名;对于 ,请指定用于提供内容的端口。 对于 repository_name>,请指定要在 registry 中创建的仓库名称,如 ocp4/openshift4。 要镜像的存储库。对于生产环境版本,必须指定 openshift-release-dev。 0 码力 | 40 页 | 468.04 KB | 1 年前3
OpenShift Container Platform 4.13 CLI 工具如果您的插件没有被列出,请验证文件是否以 oc- 或 kubectl- 开头,是否可执行,且位于 PATH 中。 4. 调用插件引入的新命令或选项。 例如,如果您从 Sample plug-in repository 构建并安装了 kubectl-ns 插件,则可以使用以下命 令查看当前命名空间。 请注意,调用插件的命令取决于插件文件名。例如,文件名为 oc-foo-bar的插件会被 oc foo bar docker.io/myrepository/myimage:stable # Copy all tags starting with mysql to the destination repository oc image mirror myregistry.com/myimage:mysql* docker.io/myrepository/myimage # Copy image app oc new-app --list # Create an application based on the source code in the current git repository (with a public remote) and a container image oc new-app . --image=registry/repo/langimage0 码力 | 128 页 | 1.11 MB | 1 年前3
OpenShift Container Platform 4.8 CLI 工具如果您的插件没有被列出,请验证文件是否以 oc- 或 kubectl- 开头,是否可执行,且位于 PATH 中。 4. 调用插件引入的新命令或选项。 例如,如果您从 Sample plug-in repository 构建并安装了 kubectl-ns 插件,则可以使用以下命 令查看当前命名空间。 请注意,调用插件的命令取决于插件文件名。例如,文件名为 oc-foo-bar的插件会被 oc foo bar docker.io/myrepository/myimage:stable # Copy all tags starting with mysql to the destination repository oc image mirror myregistry.com/myimage:mysql* docker.io/myrepository/myimage # Copy image app oc new-app --list # Create an application based on the source code in the current git repository (with a public remote) and a Docker image oc new-app . --docker-image=registry/repo/langimage0 码力 | 152 页 | 1.24 MB | 1 年前3
OpenShift Container Platform 4.14 更新集群flag that determines whether images build during preflight must also // be pushed to a defined repository // +optional PushBuiltImage bool `json:"pushBuiltImage"` 2 } type CRStatus struct { // Statusrepository_name>,请指定要在 registry 中创建的仓库名称,如 ocp4/openshift4。 $ export OCP_RELEASE= $ LOCAL_REGISTRY=' : ' $ LOCAL_REPOSITORY='< LOCAL_REPOSITORY=' repository_name>' 第 第 3 章 章 执 执行集群更新 行集群更新 107 1 1 d. 如果使用 OpenShift Update Service,请导出一个额外的本地存储库名称,使其包含发行镜 像: 对于 repository_name>,请指定要在 registry 中创建的仓库名 称,如 ocp4/op 0 码力 | 149 页 | 1.94 MB | 1 年前3
OpenShift Container Platform 4.10 构建应用程序中创建、 构建和部署应用程序。 以下流程逐步指导您在 Developer 视角中使用 Import from Git 选项来创建应用程序。 流程 流程 1. 在 +Add 视图中,点 Git Repository 标题中的 From Git 来查看 Import from git 表单。 2. 在 Git 部分中,输入您要用来创建应用程序的代码库的 Git 存储库 URL。例如,输入此示例 Node〜 〜<repository> 语法指定要与存储库搭配使用的构建器镜像,以避免语 言检测步骤。 调用 -i <repository> 需要 new-app 尝试克隆 repository,从而判断其工件类 型;如果 Git 不可用,此操作会失败。 调用 -i --code <repository> 需要 new-app 克隆 repository,从而能判断 might be used by console # name: connectionConfig: url: repository-url> $ cat < 0 码力 | 198 页 | 3.62 MB | 1 年前3
共 34 条
- 1
- 2
- 3
- 4













