发行注记
OpenShift 构建发行版本的主要新功能及变化信息
摘要
第 1 章 发行注记 复制链接链接已复制到粘贴板!
发行注记包含有关新的和已弃用的功能、破坏更改以及已知问题的信息。以下发行注记适用于 OpenShift Container Platform 的最新构建版本。
构建是基于 Shipwright 项目的可扩展构建框架,可用于在 OpenShift Container Platform 集群上构建容器镜像。您可以使用镜像构建工具从源代码和 Dockerfile 构建容器镜像,如 Source-to-Image (S2I) 和 Buildah。您可以创建并应用构建资源,查看构建运行日志,并管理 OpenShift Container Platform 命名空间中的构建。
构建包括以下功能:
- 标准 Kubernetes 原生 API,用于从源代码和 Dockerfile 构建容器镜像
- 支持 Source-to-Image (S2I) 和 Buildah 构建策略
- 使用您自己的自定义构建策略的可扩展性
- 从本地目录中的源代码执行构建
- 用于创建和查看日志的 Shipwright CLI,并管理集群上的构建
- 使用 OpenShift Container Platform Web 控制台的 Developer 视角集成用户体验
有关构建的更多信息,请参阅 构建概述。
1.1. 兼容性和支持列表 复制链接链接已复制到粘贴板!
在表格中,组件被标记为以下状态:
| TP | 技术预览 |
| GA | 公开发行 |
技术预览功能 是实验性功能,不适用于生产环境。
| 构建版本 | 组件版本 | 兼容 Openshift Pipelines 版本 | OpenShift 版本 | 支持 | |
|---|---|---|---|---|---|
| Operator | 构建(Shipwright) | CLI | |||
| 1.3 | 0.14.0 (GA) | 0.14.0 (GA) | 1.14, 1.15, 1.16, 1.17 | 4.14, 4.15, 4.16, 4.17 | GA |
| 1.2 | 0.13.0 (GA) | 0.13.0 (GA) | 1.14, 1.15, 1.16 | 4.12, 4.13, 4.14, 4.15, 4.16, 4.17 | GA |
1.2. 构建正式发行 1.3 发行注记 复制链接链接已复制到粘贴板!
在这个版本中,构建 1.3 已在 OpenShift Container Platform 4.14、4.15、4.16 和 4.17 上正式发布。
1.2.1. 新功能 复制链接链接已复制到粘贴板!
以下部分重点介绍了构建 1.3 中的新内容。
- 在这个版本中,Red Hat OpenShift Operator 的构建会部署 Shipwright v0.14 API、控制器和 webhook。
-
在这个版本中,当使用 OpenShift Builds Client 创建
Build或BuildRun资源时,您可以使用--param-value标志设置参数。
1.2.2. 修复的问题 复制链接链接已复制到粘贴板!
下面的部分重点介绍了构建 1.3 中的固定问题。
-
在此次更新之前,当在没有安装 OpenShift Pipelines 的情况下安装构建时,构建会尝试部署 OpenShift Pipelines 并启用 Pipelines 控制器。构建会错误地配置 OpenShift Pipelines,部署控制器失败。在这个版本中,Builds 会创建有效的
TektonConfig自定义资源,并正确部署 Pipelines 控制器。 - 在此次更新之前,使用在 ARM64、IBM Power® 或 IBM zSystems® worker 节点 CPU 架构上安装的 Red Hat OpenShift 构建会失败,因为镜像仅适用于 AMD64。在这个版本中,buildah 和 source-to-image 构建策略使用多架构镜像,使构建可以在所有支持的构架中成功运行。
-
在此次更新之前,当您在
openshift-builds命名空间中启用了集群监控时,targetDown警报会因为服务器名称不正确而在 Shared Resources Container Storage Interface (CSI) DriverServiceMonitor资源上接收。在这个版本中,服务器名称被更新为 Shared Resources CSI DriverServiceMonitor资源中的正确地址,TargetDown警报不再会被触发。 -
在此次更新之前,Operator 徽标不会在 OperatorHub 中显示。要在 OperatorHub 中显示 Operator 徽标,您必须更新 File Based Catalog (FBC)目录格式的徽标,即使在 CSV 文件中指定也是如此。在这个版本中,Operator 徽标数据在目录
config.yaml文件中指定,徽标会显示在 OperatorHub 中。
1.2.3. 弃用的功能 复制链接链接已复制到粘贴板!
以下部分重点介绍了构建 1.3 中的已弃用的功能。
在这个版本中,以下频道已弃用,计划在以后的发行版本中删除:
-
stable-v1 -
openshift-builds-1.0
反之,使用
builds-1.3频道。-
Legal Notice
复制链接链接已复制到粘贴板!
Copyright © Red Hat
OpenShift documentation is licensed under the Apache License 2.0 (https://www.apache.org/licenses/LICENSE-2.0).
Modified versions must remove all Red Hat trademarks.
Portions adapted from https://github.com/kubernetes-incubator/service-catalog/ with modifications by Red Hat.
Red Hat, Red Hat Enterprise Linux, the Red Hat logo, the Shadowman logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.
Linux® is the registered trademark of Linus Torvalds in the United States and other countries.
Java® is a registered trademark of Oracle and/or its affiliates.
XFS® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.
MySQL® is a registered trademark of MySQL AB in the United States, the European Union and other countries.
Node.js® is an official trademark of the OpenJS Foundation.
The OpenStack® Word Mark and OpenStack logo are either registered trademarks/service marks or trademarks/service marks of the OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation’s permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community.
All other trademarks are the property of their respective owners.