OpenShift Container Platform 4.4 构建(build)输出镜像标签 第 第 5 章 章 使用 使用构 构建策略 建策略 5.1. DOCKER 构建 5.2. SOURCE-TO-IMAGE (S2I) 构建 5.3. CUSTOM 构建 5.4. PIPELINE 构建 5.5. 使用 WEB 控制台添加 SECRET 5.6. 启用拉取 (PULL) 和推送 (PUSH) 第 第 6 章 章 使用 使用 BUILDAH 自定 自定义镜 义镜像 像构 构建生成的对象取决于用于创建它的构建器(builder)。对于 Docker 和 S2I 构建,生成的对象为可运行 的镜像。对于 Custom 构建,生成的对象是构建器镜像作者指定的任何事物。 此外,也可利用 Pipeline 构建策略来实现复杂的工作流: 持续集成 持续部署 1.1.1. Docker 构建 Docker 构建策略调用 docker build 命令,它需要一个含有 Dockerfile 的存储库并且其中包含所有必要的 建 RPM 或基础镜像。 Custom 构建以级别很高的特权运行,默认情况下不可供用户使用。只有可赋予集群管理权限的用户才应 被授予运行自定义构建的权限。 1.1.4. Pipeline 构建 重要 重要 Pipeline 构建策略在 OpenShift Container Platform 4 中弃用。基于 Tekton 的 OpenShift Pipelines 中带有等效且改进的功能。0 码力 | 101 页 | 1.12 MB | 1 年前3
OpenShift Container Platform 4.13 CI/CDRPM 或基本镜像的逻辑。 自定义构建以级别很高的特权运行,默认情况下不可供用户使用。只有可赋予集群管理权限的用户才应被 授予运行自定义构建的权限。 2.1.1.4. Pipeline 构 构建 建 重要 重要 Pipeline 构建策略在 OpenShift Container Platform 4 中弃用。基于 Tekton 的 OpenShift Container Platform Pipelines jenkinsfile,或者将其存储在 Source Control Management 系统中。 采用 Pipeline 构建策略时,开发人员可以定义 Jenkins 管道,供 Jenkins 管道插件使用。构建可以由 OpenShift Container Platform 启动、监控和管理,其方式与任何其他构建类型相同。 Pipeline 工作流在 jenkinsfile 中定义,或直接嵌入在构建配置中,或者在 Git 代理。两个字段都是可选的。也可以在 NoProxy 字段中指定不应执行代 理的域。 注意 注意 源 URI 必须使用 HTTP 或 HTTPS 协议才可以正常工作。 注意 注意 对于 Pipeline 策略构建,因为 Jenkins Git 插件当前限制的缘故,通过 Git 插件执行的任何 Git 操作都不会利用 BuildConfig 中定义的 HTTP 或 HTTPS 代理。Git 插件将仅使用0 码力 | 129 页 | 1.37 MB | 1 年前3
OpenShift Container Platform 4.10 CLI 工具5.3.4. Pipelines 管理命令 5.3.4.1. pipeline 管理管道。 示例: 示例: 显 显示帮助信息 示帮助信息 5.3.4.2. pipeline delete 删除管道。 示例:从命名空 示例:从命名空间 间中 中删 删除 除 mypipeline 管道 管道 5.3.4.3. pipeline describe 描述管道。 示例:描述 示例:描述 mypipeline version $ tkn pipeline --help $ tkn pipeline delete mypipeline -n myspace OpenShift Container Platform 4.10 CLI 工具 工具 90 5.3.4.4. pipeline list 显示管道列表。 示例: 示例:显 显示管道列表 示管道列表 5.3.4.5. pipeline logs 显示特定管道的日志。 显示特定管道的日志。 示例:将 示例:将 mypipeline 管道的 管道的 live 日志流 日志流 5.3.4.6. pipeline start 启动管道。 示例: 示例:启动 启动 mypipeline 管道 管道 5.3.5. pipeline run 命令 5.3.5.1. pipelinerun 管理管道运行。 示例: 示例: 显 显示帮助信息 示帮助信息 5.3.50 码力 | 120 页 | 1.04 MB | 1 年前3
Kubernetes Native DevOps PracticeCapabilities/Advantages to Build DevOps Solution • Architecture and Features • CRD and operator design • Pipeline / Stage/ Task / Task Template / Version Control • Logging, monitoring, autoscaling, high availability Advantages to Build DevOps Solution • Architecture and Features • CRD and operator design • Pipeline/Stage/Task/Task Template/Version Control/UI generation/Volume... • Logging, monitoring, autoscaling DevOps Operator DevOps Service DevOps Manager CronJob k8s API MySQL k8s API MySQL MySQL • Pipeline configuration and history in MySQL • Logging in central logging service - ElasticSearch • Metric0 码力 | 21 页 | 6.39 MB | 1 年前3
OpenShift Container Platform 4.13 CLI 工具5.3.4. Pipelines 管理命令 5.3.4.1. pipeline 管理管道。 示例: 示例: 显 显示帮助信息 示帮助信息 5.3.4.2. pipeline delete 删除管道。 示例:从命名空 示例:从命名空间 间中 中删 删除 除 mypipeline 管道 管道 5.3.4.3. pipeline describe 描述管道。 示例:描述 示例:描述 mypipeline 管道 5.3.4.4. pipeline list 显示管道列表。 示例: 示例:显 显示管道列表 示管道列表 5.3.4.5. pipeline logs 显示特定管道的日志。 示例:将 示例:将 mypipeline 管道的 管道的 live 日志流 日志流 $ tkn completion bash $ tkn version $ tkn pipeline --help $ tkn tkn pipeline delete mypipeline -n myspace $ tkn pipeline describe mypipeline $ tkn pipeline list 第 第 5 章 章 PIPELINES CLI (TKN) 95 1 5.3.4.6. pipeline start 启动管道。 示例: 示例:启动 启动 mypipeline 管道 管道0 码力 | 128 页 | 1.11 MB | 1 年前3
OpenShift Container Platform 4.8 CLI 工具5.3.4. Pipelines 管理命令 5.3.4.1. pipeline 管理管道。 示例: 示例: 显 显示帮助信息 示帮助信息 5.3.4.2. pipeline delete 删除管道。 示例:从命名空 示例:从命名空间 间中 中删 删除 除 mypipeline 管道 管道 5.3.4.3. pipeline describe 描述管道。 示例:描述 示例:描述 mypipeline version $ tkn pipeline --help $ tkn pipeline delete mypipeline -n myspace 第 第 5 章 章 PIPELINES CLI (TKN) 127 5.3.4.4. pipeline list 显示管道列表。 示例: 示例:显 显示管道列表 示管道列表 5.3.4.5. pipeline logs 显示特定管道的日志。 显示特定管道的日志。 示例:将 示例:将 mypipeline 管道的 管道的 live 日志流 日志流 5.3.4.6. pipeline start 启动管道。 示例: 示例:启动 启动 mypipeline 管道 管道 5.3.5. pipeline run 命令 5.3.5.1. pipelinerun 管理管道运行。 示例: 示例: 显 显示帮助信息 示帮助信息 5.3.5.2. pipelinerun0 码力 | 152 页 | 1.24 MB | 1 年前3
Ozone:Hadoop 原生分布式对象存储Datanode 发来的心跳信息,作为Datanode manager的角色, 保证和维护集群所需的数据冗余级别。SCM 和 Ozone Client 之间没有通信。 Block,Container 和 Pipeline Block 是数据块对象,真实存储用户的数据。Container是一个逻辑概念,是由一些相互之间没有关系的 https://www.iteblog.com Block 组成的集合。在 Ozone 中, 数据是以 Container 的粒度进行副本复制的。Pipeline 来保证 Container 实现想要的副本数。SCM 中目前支持2种 Pipeline 方式实现多副本,单副本的 Standalone 模式和三副本的 Ratis 方式。Container 有2种状态,OPEN 和 CLOSED。当一个Container Container 的信息,Pipeline 的信息。当一个 Container Size 超过预定的大小 90% 时 或者写操作失败时,Datanode 会发送 Container Close 命令给 SCM,把 Container 的状态从 Open 转变成 Closed。或者当Pipeline 出错时,发送 Pipeline Close 命令给SCM,把Pipeline 从 Open 状态转为 Closed0 码力 | 10 页 | 1.24 MB | 1 年前3
Hadoop 迁移到阿里云MaxCompute 技术方案............................................................................ 28 6.3.3 数据、作业和 Pipeline 迁移评估 ....................................................................................... 28 ..................................................................................... 44 6.7 Pipeline 迁移 ............................................................................................ 一般性的改造建议供用户参考。 4.2.4 数据集成及工作流作业迁移 迁移工具支持对主流数据集成工具 Sqoop 进行作业的迁移转换,并自动创建 Dataworks 数据集成作业;迁移工具支持主流 Pipeline 工具,如 Oozie、Azkaban、Airflow 等工具的工 作流及调度任务进行自动迁移转化,并自动创建为 Dataworks 工作流及调度作业。 5 迁移整体方案及流程 根据0 码力 | 59 页 | 4.33 MB | 1 年前3
Streaming optimizations - CS 591 K1: Data Stream Processing and Analytics Spring 2020Vasiliki Kalavri | Boston University 2020 Types of Parallelism 7 B A C A B D A A B split Pipeline: A || B Task: B || C Data: A || A ??? Vasiliki Kalavri | Boston University 2020 8 Distributed computational steps • beneficial if it enables other optimizations, e.g. re-ordering • if the pipeline parallelism pays off Safety Profitability ??? Vasiliki Kalavri | Boston University 2020 24 • serialization and transport B A B ??? Vasiliki Kalavri | Boston University 2020 29 • removes pipeline parallelism but saves communication and serialization cost • if operators are separate, throughput0 码力 | 54 页 | 2.83 MB | 1 年前3
PyFlink 1.15 Documentation0x7fcd1ad0c0f0> Table Creation Table is a core component of the Python Table API. A Table object describes a pipeline of data transformations. It does not contain the data itself in any way. Instead, it describes how how to eventually write data to a table sink. The declared pipeline can be printed, optimized, and eventually executed in a cluster. The pipeline can work with bounded or unbounded streams which enables Creation DataStream is a core component of the Python DataStream API. A DataStream object describes a pipeline of data transformations. It does not contain the data itself in any way. Instead, it describes how0 码力 | 36 页 | 266.77 KB | 1 年前3
共 148 条
- 1
- 2
- 3
- 4
- 5
- 6
- 15













