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.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 OperatorManager (OLM) 所支持的 Operator 打包格式。 2.2.1. 捆绑包格式 Operator 的 Bundle Format 是 Operator Framework 引入的新打包格式。为提高可伸缩性并为自行托管 目录的上游用户提供更好地支持,Bundle Format 规格简化了 Operator 元数据的发布。 Operator 捆绑包代表 Operator 的单一版本 operators.operatorframework.io.bundle.mediatype.v1: "registry+v1" 1 operators.operatorframework.io.bundle.manifests.v1: "manifests/" 2 operators.operatorframework.io.bundle.metadata.v1: "metadata/" 3 operators.operatorframework.io.bundle.package.v1: "test-operator" 4 operators.operatorframework.io.bundle.channels.v1: "beta,stable" 5 operators.operatorframework.io.bundle.channel.default.v1: "stable"0 码力 | 423 页 | 4.26 MB | 1 年前3
OpenShift Container Platform 4.4 构建(build)kind: "ImageStreamTag" name: "origin-ruby-sample:latest" postCommit: 7 script: "bundle exec rake test" OpenShift Container Platform 4.4 构 构建( 建(build) ) 6 3 4 5 6 7 您可以指定导致创建新构建的触发器的列表。 构建策略,必须在 assemble 脚本中放入适当的 shell 命令: .s2i/bin/assemble 文件 文件 #!/bin/sh APP_VERSION=1.0 wget http://repository.example.com/app/app-$APP_VERSION.jar -O app.jar .s2i/bin/run 文件 文件 #!/bin/sh exec java -jar app 建(build) ) 22 1 2 3 Dockerfile 摘 摘录 FROM jboss/base-jdk:8 ENV APP_VERSION 1.0 RUN wget http://repository.example.com/app/app-$APP_VERSION.jar -O app.jar EXPOSE 8080 CMD [ "java", "-jar", "app.jar" ]0 码力 | 101 页 | 1.12 MB | 1 年前3
OpenShift Container Platform 4.13 CI/CDkind: "ImageStreamTag" name: "origin-ruby-sample:latest" postCommit: 7 script: "bundle exec rake test" OpenShift Container Platform 4.13 CI/CD 6 1 2 3 4 二进制(本地)输入 输入 secret 外部工件 APP_VERSION=1.0 wget http://repository.example.com/app/app-$APP_VERSION.jar -O app.jar #!/bin/sh exec java -jar app.jar FROM jboss/base-jdk:8 ENV APP_VERSION 1.0 RUN wget http://repository.example.com/app/app-$APP_VERSION strategy: sourceStrategy: from: kind: "DockerImage" name: "docker.io/user/private_repository" pullSecret: name: "dockerhub" $ oc set build-secret --pull bc/sample-build dockerhub0 码力 | 129 页 | 1.37 MB | 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 码力 | 2276 页 | 23.68 MB | 1 年前3
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 码力 | 3881 页 | 39.03 MB | 1 年前3
OpenShift Container Platform 4.8 安装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 码力 | 2586 页 | 27.37 MB | 1 年前3
OpenShift Container Platform 4.10 安装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 安装 36 1 1. 查看 OpenShift Container Platform 下载页面,以确定您要安装的 OpenShift Container Platform 版本,并决定 Repository Tags 页中的相应标签(tag)。 2. 设置所需的环境变量: a. 导出发行版本信息: 对于,请指定与 OpenShift Container 0 码力 | 3142 页 | 33.42 MB | 1 年前3
共 44 条
- 1
- 2
- 3
- 4
- 5













