Helm v4.0.0
Helm 4.0

原始链接: https://github.com/helm/helm/releases/tag/v4.0.0

## Helm 4.0.0:首个稳定版本 Helm 团队发布了 Helm 4.0.0,这是一次重要的版本更新,引入了显著的改进。主要功能包括:重新设计的插件系统,支持 Web Assembly;服务器端应用;增强的资源监控;本地缓存;以及通过 `slog` 改进的日志记录。SDK API 已更新,支持多个图表 API 版本,包括实验性的 v3 版本。 虽然在 CLI 标志和输出方面与 v3 不兼容,但团队旨在使过渡比 v2 到 v3 的转变更加平滑。现有的 v2 图表仍然受支持,并且大多数工作流程*应该*继续正常运行。**鼓励测试**以确保兼容性。 未来发布计划于 2025 年 12 月 10 日(补丁版本 3.19.3 & 4.0.1)和 2026 年 1 月 21 日(小版本 3.20.0 & 4.1.0)。 在此处下载 Helm 4.0.0 并查找安装指南:[https://helm.sh/docs/overview/](https://helm.sh/docs/overview/) 团队对充满活力的社区的贡献和支持表示感谢。

## Helm 4.0 与 Kubernetes 复杂性 - 摘要 Helm 4.0 的发布引发了 Hacker News 的讨论,主要集中在 Helm 和 Kubernetes 部署的复杂性上。许多用户对 Helm 复杂的模板语言以及由此产生的“复杂地狱”表示沮丧,通常认为它对于简单的需求来说功能过于丰富。人们对初学者学习的困难和缺乏清晰的文档表示担忧。 Terraform、Kustomize、CUE,甚至直接使用原始 Kubernetes 清单等替代方案被提出。Terraform 被视为可行的替代品,尤其是对于已经使用它的用户而言。Kustomize 提供了一种更简单的定制方法,而 CUE 旨在实现更结构化、类型安全的配置。一些人提倡使用 Python 或 Go 等语言编写自定义解决方案,以获得更大的控制权。 一个反复出现的主题是对超越 Helm 模板的更强大的抽象工具的需求,一些人指出 CDK(云开发工具包)是一种更易读且功能更强大的解决方案。最终,这场讨论凸显了对更简单、更易于维护的 Kubernetes 部署管理方式的探索,并质疑 Helm 的复杂性是否在许多用例中是合理的。
相关文章

原文

The Helm Team is proud to announce the first stable release of Helm 4.

New Features

Helm 4 has numerous new features, but a few deserve highlighting here:

  • Redesigned plugin system that supports Web Assembly based plugins
  • Post-renderers are now plugins
  • Server side apply is now supported
  • Improved resource watching, to support waiting, based on kstatus
  • Local Content-based caching (e.g. for charts)
  • Logging via slog enabling SDK logging to integrate with modern loggers
  • Reproducible builds of chart archives
  • Updated SDK API including support for multiple chart API versions (new experimental v3 chart API version coming soon)

For full release notes, please see: https://helm.sh/docs/overview/

Compatibility with Helm v3

Helm v4 is a major version with backward incompatible changes including to the flags and output of the Helm CLI and to the SDK.

Please evaluate the changes to your workflows. The changes are not as extensive as those from Helm v2 to v3, with the goal that the majority of workflows remain compatible between Helm v3 and v4.

Helm charts apiVersion v2 (majority of today's charts) will continue to be supported in Helm v4. Existing charts should continue to install, upgrade, and otherwise work. Please test the installation and upgrade of charts to ensure it works as expected. Changes (e.g., server side apply) may impact the experience.

Community

The community keeps growing, and we'd love to see you there!

  • Join the discussion in Kubernetes Slack:
    • for questions and just to hang out
    • for discussing PRs, code, and bugs
  • Hang out at the Public Developer Call: Thursday, 9:30 Pacific via Zoom
  • Test, debug, and contribute charts: ArtifactHub/packages

Installation and Upgrading

Download Helm v4.0.0. The common platform binaries are here:

The Quickstart Guide will get you going from there. For upgrade instructions or detailed installation notes, check the install guide. You can also use a script to install on any system with bash.

What's Next

  • 3.19.3 and 4.0.1 are the next patch releases and will be on December 10, 2025
  • 3.20.0 and 4.1.0 is the next minor releases and will be on January 21, 2026

Thank You!

The Helm project has enjoyed code contributions from many community members. Many more community members have assisted by filing issues and working with us to identify and eliminate bugs while adding new features. The #helm-users slack channel has long been a friendly and open forum for getting help and learning more about Helm. We cannot thank you enough for making this a helpful, friendly, and welcoming community for all.

❤️ The Helm Team

联系我们 contact @ memedata.com