OpenShift Container Platform 4.13 CI/CD您可以指定导致创建新构建的触发器的列表。 source 部分定义构建的来源。源类型决定主要的输入源,可以是 Git(指向代码库存储位 置)、Dockerfile(从内联 Dockerfile 构建)或 Binary(接受二进制有效负载)。可以同时拥有多 个源。详情请参阅每种源类型的文档。 strategy 部分描述用于执行构建的构建策略。您可以在此处指定 Source、Docker 或 Custom 策 gitconfig 文件和 CA 证书创建基本身份验证 secret: 2.3.5. 二进制(本地)来源 从本地文件系统流传输内容到构建器称为 Binary 类型构建。对于此类构 建,BuildConfig.spec.source.type 的对应值为 Binary。 这种源类型的独特之处在于,它仅基于您对 oc start-build 的使用而加以利用。 注意 注意 二进制类型构建需要从本地文件 的行为相同;只要这些选项的参数是目录,就会首先在主机上创建存档。 在上方列出的每种情形中: 如果 BuildConfig 已经定义了 Binary 源类型,它会有效地被忽略并且替换成客户端发送的内 容。 如果 BuildConfig 定义了 Git 源类型,则会动态禁用它,因为 Binary 和 Git 是互斥的,并且二进 制流中提供给构建器的数据将具有优先权。 您可以将 HTTP 或 HTTPS 方案的 URL0 码力 | 129 页 | 1.37 MB | 1 年前3
OpenShift Container Platform 4.10 可伸缩性和性能go:221 Log file created at: 2022/02/10 17:08:45 Running on machine: hwlatdetect-cd8b6 Binary: Built with gc go1.16.6 for linux/amd64 Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid cy/latency.go:219 Log file created at: 2021/08/11 15:02:51 Running on machine: cyclictest-knk7d Binary: Built with gc go1.16.6 for linux/amd64 Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] latency/latency.go:168 Log file created at: 2021/08/29 13:25:21 Running on machine: oslat-57c2g Binary: Built with gc go1.16.6 for linux/amd64 Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line]0 码力 | 315 页 | 3.19 MB | 1 年前3
OpenShift Container Platform 3.11 扩展和性能指南remote_user = root roles_path = roles/ gathering = smart fact_caching = jsonfile fact_caching_connection = $HOME/ansible/facts fact_caching_timeout = 600 log_path = $HOME/ansible.log nocows = 1 callback_whitelist0 码力 | 58 页 | 732.06 KB | 1 年前3
OpenShift Container Platform 4.4 构建(build)您可以指定导致创建新构建的触发器的列表。 source 部分定义构建的来源。源类型决定主要的输入源,可以是 Git(指向代码库存储位 置)、Dockerfile(从内联 Dockerfile 构建)或 Binary(接受二进制有效负载)。可以同时拥有多 个源。如需详细信息,请参阅每种源类型的文档。 strategy 部分描述用于执行构建的构建策略。您可以在此处指定 Source、Docker 或 Custom Platform 4.4 构 构建( 建(build) ) 18 3.5. 二进制(本地)来源 从本地文件系统流传输内容到构建器称为 Binary 类型构建。对于此类构 建,BuildConfig.spec.source.type 的对应值为 Binary。 这种源类型的独特之处在于,它仅基于您对 oc start-build 的使用而加以利用。 注意 注意 二进制类型构建需要从本地文件 的行为相同;只要这些选项的参数是目录,就会首先在主机上创建存档。 在上方列出的每种情形中: 如果 BuildConfig 已经定义了 Binary 源类型,它会有效地被忽略并且替换成客户端发送的内 容。 如果 BuildConfig 定义了 Git 源类型,则会动态禁用它,因为 Binary 和 Git 是互斥的,并且二进 制流中提供给构建器的数据将具有优先权。 您可以将 HTTP 或 HTTPS 方案的 URL0 码力 | 101 页 | 1.12 MB | 1 年前3
OpenShift Container Platform 4.13 CLI 工具jsonpath='{.users[?(@.name == "e2e")].user.password}' # !!!Important Note!!! # Requires that the 'tar' binary is present in your container # image. If 'tar' is not present, 'oc cp' will fail. # # For # Create an application myapp with Docker based build strategy expecting binary input oc new-app --strategy=docker --binary --name myapp # Create a Ruby application based on the provided [image]~[source 键的最后值都会添加到生成的 Dockerfile 中。 命令 命令语 语法 法 表 表 6.4. generate dockerfile 标记 标记 标记 标记 描述 描述 -i, --binary-image (字符串) 要构建目录的镜像。默认值为 quay.io/operator-framework/opm:latest。 -l, --extra-labels (字符 串) 生成的0 码力 | 128 页 | 1.11 MB | 1 年前3
OpenShift Container Platform 4.10 CLI 工具jsonpath='{.users[?(@.name == "e2e")].user.password}' # !!!Important Note!!! # Requires that the 'tar' binary is present in your container # image. If 'tar' is not present, 'oc cp' will fail. # # For # Create an application myapp with Docker based build strategy expecting binary input oc new-app --strategy=docker --binary --name myapp OpenShift Container Platform 4.10 CLI 工具 工具 50 2.5.1.87. oc Operator。 6.2.1.1. add 将 Operator 捆绑包添加到索引中。 命令 命令语 语法 法 表 表 6.3. index add 标记 标记 标记 标记 描述 描述 -i,--binary-image on-image opm 命令的容器镜像 -u,--build-tool (字符 串) 构建容器镜像的工具: podman (默认值)或 docker。覆盖 --container-tool0 码力 | 120 页 | 1.04 MB | 1 年前3
OpenShift Container Platform 3.11 CLI 参考本 本节 节复 复习 习如何 如何为 为 CLI 安装和 安装和编 编写 写扩 扩展。通常称 展。通常称为 为 插件( 插件(plug-in) ) 或 或 二 二进 进制 制扩 扩展( 展(binary extension) ), ,这 这个功能允 个功能允许 许您 您扩 扩展默 展默认 认可用的 可用的 oc 命令集合,以 命令集合,以执 执行新的任 行新的任务 务。 。 # command example(s), for help command: "./example" # REQUIRED: the command, binary, or script to invoke when running the plug-in flags: # flags supported0 码力 | 45 页 | 737.95 KB | 1 年前3
OpenShift Container Platform 4.8 CLI 工具jsonpath='{.users[?(@.name == "e2e")].user.password}' # !!!Important Note!!! # Requires that the 'tar' binary is present in your container # image. If 'tar' is not present, 'oc cp' will fail. # # For # Create an application myapp with Docker based build strategy expecting binary input oc new-app --strategy=docker --binary --name myapp # Create a Ruby application based on the provided [image]~[source0 码力 | 152 页 | 1.24 MB | 1 年前3
OpenShift Container Platform 4.14 Operatorundle_image_name>:\ 1 --tag / / : \ 2 [--binary-image ] 3 $ podman login $ podman push / / $ opm migrate $ opm generate dockerfile \ --binary-image \ registry.redhat.io/openshift4/ose-operator-registry:v4.14 OpenShift Container Platform cluster-admin 角色的用户访问集群。 支持运行带有升级 pod 安全准入标准 baseline 或 privileged 的 pod 的目标命名空间 $ opm index add --binary-image \ registry.redhat.io/openshift4/ose-operator-registry:v4.14 \ --from-index 0 码力 | 423 页 | 4.26 MB | 1 年前3
OpenShift Container Platform 4.2 镜像1a9559f243e0b1bdc366df25 Created: 2 minutes ago Image Size: 251.2 MB (first layer 2.898 MB, last binary layer 72.26 MB) Image Created: 2 weeks ago Author:Arch: amd64 Entrypoint: container-entrypoint COPY ROOT.war /wildfly/standalone/deployments/ROOT.war CMD $STI_SCRIPTS_PATH/run binary: asFile: ROOT.war output: to: kind: ImageStreamTag name: opens 0 码力 | 92 页 | 971.35 KB | 1 年前3
共 20 条
- 1
- 2













