在決定要導入哪一套 GitOps Tool 之前,先看看這兩套最潮的工具的行為、CLI、Template 是否有什麼不一樣的地方。
| Topic | ||
|---|---|---|
| Star | ||
| Watch Docker Registry | ✅ | ❌ |
| Watch Git Repository | ✅ default: 5 mins | ✅ default: 3 mins |
| UI | ❌ | ✅ See GitOps - Argo CD Note. |
| Pull Strategy | ✅ | ✅ |
| Centralized Config Repo | ✅ | ✅ link |
| CLI | ||
| CLI | ✅ link | ✅ link |
| Manually Operation Write Back Git Repo | ✅ 使用 fluxctl 會自動同步回 Git Repo link | ❌ |
| Template | ||
| Subdirectories Support | ✅ | ✅ |
| Kustomize Support | ✅ | ✅ |
| Helm Support | ✅ | ✅ |
Bootsrapping
Argo CD
比較奇怪的部分就是一定要透過 CLI 或是手動點擊網頁建立 Application,而不是像 Flux 直接指定一個 Git Repo,管理所有的 application。
Ref: https://argoproj.github.io/argo-cd/operator-manual/cluster-bootstrapping/
Flux CD
在安裝 Flux 時,直接指定 Git Repo 即可。