Flux 版本 2
Flux 是一款用于使 Kubernetes 集群与配置源(如 Git 仓库和 OCI 制品)保持同步,并在有新代码需要部署时自动更新配置的工具。
Flux 版本 2("v2")从头开始构建,旨在使用 Kubernetes 的 API 扩展系统,并与 Prometheus 及 Kubernetes 生态系统的其他核心组件集成。在版本 2 中,Flux 支持多租户,可同步任意数量的 Git 仓库,以及其他长期需求的功能。
Flux v2 基于 GitOps 工具包构建,该工具包是一组可组合的 API 和专用工具,用于在 Kubernetes 之上构建持续交付系统。
Flux 是云原生计算基金会(https://www.cncf.io/)的毕业项目,已被众多https://fluxcd.io/adopters和https://fluxcd.io/ecosystem用于生产环境。
快速入门和文档
要开始使用,请查看此https://fluxcd.io/flux/get-started/,了解如何在 Kubernetes 上引导 Flux 并以 GitOps 方式部署示例应用程序。
有关更全面的文档,请参阅以下指南:
- https://fluxcd.io/flux/guides/repository-structure/
- https://fluxcd.io/flux/guides/helmreleases/
- https://fluxcd.io/flux/guides/image-update/
- https://fluxcd.io/flux/guides/mozilla-sops/
如果需要帮助,请参考我们的**https://fluxcd.io/support/**。
GitOps 工具包
GitOps 工具包是构成 Flux v2 运行时的一组 API 和控制器。这些 API 包含 Kubernetes 自定义资源,可由集群用户或其他自动化工具创建和更新。
您可以使用该工具包扩展 Flux,或构建自己的持续交付系统——请参阅https://fluxcd.io/flux/gitops-toolkit/source-watcher/。
组件
- https://fluxcd.io/flux/components/source/
- https://fluxcd.io/flux/components/source/gitrepositories/
- https://fluxcd.io/flux/components/source/ocirepositories/
- https://fluxcd.io/flux/components/source/helmrepositories/
- https://fluxcd.io/flux/components/source/helmcharts/
- https://fluxcd.io/flux/components/source/buckets/
- https://fluxcd.io/flux/components/source/externalartifacts/
- https://fluxcd.io/flux/components/source/artifactgenerators/
- https://fluxcd.io/flux/components/kustomize/
- https://fluxcd.io/flux/components/kustomize/kustomizations/
- https://fluxcd.io/flux/components/helm/
- https://fluxcd.io/flux/components/helm/helmreleases/
- https://fluxcd.io/flux/components/notification/
- https://fluxcd.io/flux/components/notification/providers/
- https://fluxcd.io/flux/components/notification/alerts/
- https://fluxcd.io/flux/components/notification/receivers/
- https://fluxcd.io/flux/components/image/
- https://fluxcd.io/flux/components/image/imagerepositories/
- https://fluxcd.io/flux/components/image/imagepolicies/
- https://fluxcd.io/flux/components/image/imageupdateautomations/
社区
需要帮助或想要贡献?请查看以下链接。Flux 项目一直在寻找新的贡献者,有多种参与方式。
- 刚入门?
- 查看我们的https://fluxcd.io/flux/get-started/并提供反馈
- 需要帮助?
- 首先:在我们的https://github.com/fluxcd/flux2/discussions上提问。
- 其次:在 https://slack.cncf.io/ 的 #flux 频道中与我们交流。
- 请遵循我们的https://fluxcd.io/support/(简而言之:友善待人,尊重志愿者的时间,理解维护者和贡献者无法回复所有私信,并尽可能在公共 #flux 频道中进行讨论)。
- 有功能建议或想要贡献?
- 在我们的https://github.com/fluxcd/flux2/discussions上提出功能建议。
- 加入我们即将举行的开发会议(https://docs.google.com/document/d/1l_M0om0qUEN_NNiGgpqJ2tvsF2iioHkaARDeh6b70B0/view)。
- https://lists.cncf.io/g/cncf-flux-dev。
- 查看如何为项目做出贡献。
- 查看https://fluxcd.io/roadmap/。
活动
查看我们的**https://fluxcd.io/#calendar**,其中包含您可以参加的即将举行的演讲、活动和会议。或者查看**https://fluxcd.io/resources**,其中有您可以观看的过往活动视频。
我们期待您的加入!