发行注记
OpenShift 构建发行版本的主要新功能及变化信息
摘要
第 1 章 发行注记 复制链接链接已复制到粘贴板!
发行注记包含有关新的和已弃用的功能、破坏更改以及已知问题的信息。以下发行注记适用于 OpenShift Container Platform 的最新构建版本。
构建是基于 Shipwright 项目的可扩展构建框架,可用于在 OpenShift Container Platform 集群上构建容器镜像。您可以使用镜像构建工具(如 Source-to-Image (S2I)和 Buildah
)从源代码和 Dockerfile 构建容器镜像。您可以创建并应用构建资源,查看构建运行日志,并管理 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.4 | 0.15.0 (GA) | 0.15.0 (GA) | 1.16, 1.17, 1.18 和 1.19 | 4.15、4.16、4.17 和 4.18 | GA |
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. 构建 1.4 发行注记 复制链接链接已复制到粘贴板!
构建 1.4 现在包括在 OpenShift Container Platform 4.15、4.16、4.17 和 4.18 中。
1.2.1. 新功能 复制链接链接已复制到粘贴板!
以下小节重点介绍了构建 1.4 中的新内容。
- 在这个版本中,OpenShift 的构建会部署 Shipwright v0.15 组件。
-
在这个版本中,您可以使用可选的
spec.tolerations
值来指定 Builds pod 的容限。 -
在这个版本中,您可以使用可选的
spec.nodeSelector
值来指定构建应该运行哪些节点。 -
在这个版本中,您可以使用可选的
spec.schedulerName
值来指定 Builds pod 的调度程序。 -
在这个版本中,
buildah
策略中的target
标志可用于多阶段构建。使用 标志指定构建应在哪个阶段停止。 在这个版本中,您可以在为 Red Hat OpenShift Operator 安装过程中构建过程中启用集群监控:
- 对于 GUI 安装,可在命名空间选择中启用集群监控的选项。
对于 CLI 安装,在 "openshift-builds" 命名空间中设置 cluster-monitoring 标签,如下所示:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
1.2.2. 修复的问题 复制链接链接已复制到粘贴板!
以下列表重点介绍了构建 1.4 中的固定问题。
-
在此次更新之前,验证 Shared Resource CSI Driver 的 Webhook 不会在 Red Hat OpenShift Service on AWS (ROSA)集群上部署。这会使组件的部署处于永久
待处理状态
。在这个版本中,webhook 在 ROSA 上成功部署。 -
在以前的版本中,当您在 OpenShift 上启用用户工作负载监控时,Red Hat OpenShift Operator 的构建会触发
PrometheusOperatorRejectedResources
警报。在这个版本中,Red Hat OpenShift Operator 的构建会被正确配置,服务监控器不会由用户工作负载监控堆栈获取。 - 在此次更新之前,您无法从本地源代码运行构建。在这个版本中,这个问题已被解决。
1.2.3. 弃用的功能 复制链接链接已复制到粘贴板!
以下部分重点介绍构建 1.4 中的已弃用的功能。
在这个版本中,以下频道已弃用:
- builds-1.0
- builds-1.1
- builds-1.2
反之,使用 builds-1.4 频道。
Legal Notice
复制链接链接已复制到粘贴板!
Copyright © 2025 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 Joyent. Red Hat Software Collections is not formally related to or endorsed by the official Joyent Node.js open source or commercial project.
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.