项目 / rancher/fleet
rancher/fleet
行业推荐
语言 Go标签 gitopshacktoberfestk8s数据更新 2026-11-20 06:49:16 · 仓库 2026-11-19
一段话介绍
用于在规模化场景下做 GitOps 与 HelmOps 的工具,把 Git 中的工作负载部署到一个或多个 Kubernetes 集群。单集群也可以使用,但源文写明它更适合集群数量多、部署多或组织内团队多的情况。它可以从 Git 管理原始 YAML、Helm chart、Kustomize 或三者的组合;无论来源如何,资源都会动态转为 Helm chart,再用 Helm 部署到集群。安装与使用见[文档](https://fleet.rancher.io/)。源文给出的快速开始是用 Helm 安装 `fleet-crd` 与 `fleet` 两个 chart,再按文档添加要监视的 Git 仓库。仓库见 [GitHub](https://github.com/rancher/fleet)。本页按多集群部署与 Git 同步用途介绍。
本站整理,非 GitHub 官方 description。
官方 description(GitHub API 原样)Deploy workloads from Git to large fleets of Kubernetes clusters
1,741累计星
288Fork
—峰值日增
0上榜次数
官方快照(gh_history.db,2026-11-25):总榜 未进 Top50 · 日榜 未进 Top50 · 周榜未满 7 天基线(官方不生成) · 月榜暂无官方口径;下方四卡为站内趋势聚合(周卡按上榜次数,非官方 7 日增量窗)。
路径规划与运输调度
适配系统:运输管理系统、调度优化引擎 · 得分 1.4
内置路径/运力求解算法,可嵌入 TMS 做配载、排线与在途调度决策。
更多信息
以下三段按该项目自己的 GitHub README 章节摘录(可合理截断并标明);README 没有对应章节的留空,不编造。
我的用法
安装或使用说明见 https://fleet.rancher.io/。
特点或设计要点
Fleet 面向多集群大规模场景设计,可从 Git 部署原始 Kubernetes YAML、Helm chart 或 Kustomize,所有资源统一转成 Helm 由 Helm 引擎部署,以获得一致性与可审计性。
星标走势还差一天的数据,明天就能看到曲线
每天 10:30 记一次星标,连续两天后自动生成曲线
GitHub 项目主页介绍
来自 GitHub 仓库 README / 主页介绍正文,原样摘录,共 3,664 字节。
# Introduction
[](https://app.fossa.com/projects/git%2Bgithub.com%2Francher%2Ffleet?ref=badge_shield)
[](https://github.com/rancher/fleet/actions/workflows/ci.yml)
[](https://github.com/rancher/fleet/actions/workflows/e2e-ci.yml)
[](https://github.com/rancher/fleet/actions/workflows/e2e-multicluster-ci.yml)
[](https://github.com/rancher/fleet/actions/workflows/golangci-lint.yml)

Fleet is GitOps and HelmOps at scale. Fleet is designed to manage multiple clusters. It's also lightweight
enough that it works great for a single cluster too, but it really shines
when you get to a large scale. By large scale we mean either a lot of clusters, a lot of deployments, or a lot of
teams in a single organization.
Fleet can manage deployments from git of raw Kubernetes YAML, Helm charts, or Kustomize or any combination of the three.
Regardless of the source all resources are dynamically turned into Helm charts and Helm is used as the engine to
deploy everything in the cluster. This gives a high degree of control, consistency, and auditability. Fleet focuses not only on
the ability to scale, but to give one a high degree of control and visibility to exactly what is installed on the cluster.
# Quick Start
For more information, have a look at Fleet's [documentation](https://fleet.rancher.io/).
## Install
Get `helm` if you don't have it. Helm 3 is just a CLI and won't do bad insecure
things to your cluster.
For instance, using Homebrew:
```
brew install helm
```
Install the Fleet Helm charts (there's two because we separate out CRDs for ultimate flexibility.)
```shell
helm -n cattle-fleet-system install --create-namespace --wait \
fleet-crd https://github.com/rancher/fleet/releases/download/v0.16.3/fleet-crd-0.16.3.tgz
helm -n cattle-fleet-system install --create-namespace --wait \
fleet https://github.com/rancher/fleet/releases/download/v0.16.3/fleet-0.16.3.tgz
```
## Add a Git Repo to watch
Change `spec.repo` to your git repo of choice. Kubernetes manifest files that should
be deployed should be in `/manifests` in your repo.
```bash
cat > example.yaml << "EOF"
apiVersion: fleet.cattle.io/v1alpha1
kind: GitRepo
metadata:
name: sample
# This namespace is special and auto-wired to deploy to the local cluster
namespace: fleet-local
spec:
# Everything from this repo will be run in this cluster. You trust me right?
repo: "https://github.com/rancher/fleet-examples"
paths:
- simple
EOF
kubectl apply -f example.yaml
```
## Get Status
Get status of what Fleet is doing:
```shell
kubectl -n fleet-local get fleet
```
You should see something like this get created in your cluster.
```
kubectl get deploy frontend
```
```
NAME READY UP-TO-DATE AVAILABLE AGE
frontend 3/3 3 3 116m
```
Enjoy and read the [docs](https://fleet.rancher.io/).
## License
[](https://app.fossa.com/projects/git%2Bgithub.com%2Francher%2Ffleet?ref=badge_large)
For developer and maintainer documentation, see [DEVELOPING.md](./DEVELOPING.md).