28 行
1.5 KiB
Markdown
28 行
1.5 KiB
Markdown
# Flux GitOps
|
|
|
|
## 目录结构
|
|
|
|
```
|
|
flux/
|
|
├── clusters/
|
|
│ └── dev-cm/ # 集群级别编排
|
|
│ ├── kustomization.yaml # 资源列表
|
|
│ ├── sources.yaml # HelmRepository 源
|
|
│ ├── kube-system.yaml # CoreDNS / NodeLocalDNS
|
|
│ ├── infra-devops.yaml # cert-manager / reflector / velero
|
|
│ ├── infra-data.yaml # CNPG / Valkey
|
|
│ ├── infra-monitor.yaml # Loki / Prometheus
|
|
│ ├── infra-net.yaml # Nginx / CrowdSec / Tailscale
|
|
│ ├── infra-gitops.yaml # Gitea
|
|
│ └── apps.yaml # Halo / RustDesk / Fillcode / SinceAI
|
|
├── infrastructure/
|
|
│ ├── sources/ # 所有 HelmRepository 定义
|
|
│ ├── kube-system/ # CoreDNS 自定义 + NodeLocalDNS
|
|
│ ├── infra-devops/ # cert-manager, webhook-dnspod, reflector, velero
|
|
│ ├── infra-data/ # CNPG operator, Barman, PG集群, Valkey
|
|
│ ├── infra-net/ # ingress-nginx, CrowdSec, Tailscale DERP, 证书
|
|
│ ├── infra-monitor/ # Loki, Promtail, Prometheus+Grafana
|
|
│ └── infra-gitops/ # Gitea, Gitea Actions
|
|
└── apps/ # Halo, RustDesk, Whoami, 证书, Ingress
|
|
```
|