fluxcd/flux2
GitHub: fluxcd/flux2
Flux 是一个基于 Kubernetes 的开源 GitOps 持续交付工具,通过将 Git 仓库作为单一事实来源,自动化同步集群状态并管理应用部署。
Stars: 8044 | Forks: 730
# Flux version 2
[](https://github.com/fluxcd/flux2/releases)
[](https://bestpractices.coreinfrastructure.org/projects/4782)
[](https://scorecard.dev/viewer/?uri=github.com/fluxcd/flux2)
[](https://app.fossa.com/projects/custom%2B162%2Fgithub.com%2Ffluxcd%2Fflux2?ref=badge_shield)
[](https://artifacthub.io/packages/helm/fluxcd-community/flux2)
[](https://fluxcd.io/flux/security/slsa-assessment)
Flux 是一个用于让 Kubernetes 集群与配置源(例如 Git 仓库和 OCI 制品)保持同步,并在有新代码需要部署时自动更新配置的工具。
Flux version 2("v2")从零开始构建,旨在使用 Kubernetes 的 API 扩展系统,并与 Prometheus 以及 Kubernetes 生态系统的其他核心组件集成。在 v2 版本中,Flux 支持多租户,并支持同步任意数量的 Git 仓库,以及其他备受期待的功能。
Flux v2 使用 [GitOps Toolkit](#gitops-toolkit) 构建,这是一组可组合的 API 和专用工具,用于在 Kubernetes 之上构建持续交付。
Flux 是一个云原生计算基金会([CNCF](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/)
- [管理 Helm Release](https://fluxcd.io/flux/guides/helmreleases/)
- [自动将镜像更新同步到 Git](https://fluxcd.io/flux/guides/image-update/)
- [使用 Flux 和 SOPS 管理 Kubernetes secrets](https://fluxcd.io/flux/guides/mozilla-sops/)
如果您需要帮助,请参阅我们的 **[支持页面](https://fluxcd.io/support/)**。
## GitOps Toolkit
GitOps Toolkit 是一组构成 Flux v2 运行时的 API 和控制器。这些 API 包含 Kubernetes 自定义资源,可以由集群用户或其他自动化工具创建和更新。

您可以使用此工具包来扩展 Flux,或构建您自己的持续交付系统 -- 请参阅 [开发者指南](https://fluxcd.io/flux/gitops-toolkit/source-watcher/)。
### 组件
- [Source Controllers](https://fluxcd.io/flux/components/source/)
- [GitRepository CRD](https://fluxcd.io/flux/components/source/gitrepositories/)
- [OCIRepository CRD](https://fluxcd.io/flux/components/source/ocirepositories/)
- [HelmRepository CRD](https://fluxcd.io/flux/components/source/helmrepositories/)
- [HelmChart CRD](https://fluxcd.io/flux/components/source/helmcharts/)
- [Bucket CRD](https://fluxcd.io/flux/components/source/buckets/)
- [ExternalArtifact CRD](https://fluxcd.io/flux/components/source/externalartifacts/)
- [ArtifactGenerator CRD](https://fluxcd.io/flux/components/source/artifactgenerators/)
- [Kustomize Controller](https://fluxcd.io/flux/components/kustomize/)
- [Kustomization CRD](https://fluxcd.io/flux/components/kustomize/kustomizations/)
- [Helm Controller](https://fluxcd.io/flux/components/helm/)
- [HelmRelease CRD](https://fluxcd.io/flux/components/helm/helmreleases/)
- [Notification Controller](https://fluxcd.io/flux/components/notification/)
- [Provider CRD](https://fluxcd.io/flux/components/notification/providers/)
- [Alert CRD](https://fluxcd.io/flux/components/notification/alerts/)
- [Receiver CRD](https://fluxcd.io/flux/components/notification/receivers/)
- [Image Automation Controllers](https://fluxcd.io/flux/components/image/)
- [ImageRepository CRD](https://fluxcd.io/flux/components/image/imagerepositories/)
- [ImagePolicy CRD](https://fluxcd.io/flux/components/image/imagepolicies/)
- [ImageUpdateAutomation CRD](https://fluxcd.io/flux/components/image/imageupdateautomations/)
### 活动
查看我们的 **[活动日历](https://fluxcd.io/#calendar)**,其中包含您可以参加的即将到来的讲座、活动和会议。
或者查看 **[资源部分](https://fluxcd.io/resources)**,观看过往活动的视频。
我们期待您的参与!
标签:3D图, CD, CNCF, EC2, EVTX分析, Flux, GitOps, Git仓库同步, Helm, IaC, K8s工具, web渗透, 子域名突变, 容器编排, 开源, 持续交付, 日志审计, 特权提升, 网络安全研究, 自动化运维, 自动化部署, 自定义请求头, 配置同步