商店現已上線

我們打造用於網站、AI 智慧體和 LLM 訓練的 Workstation AI 機器——線上配置併購買。

獲取同行價格
AI 產品
AI 實驗室OpenAI 智慧體Claude 代理Grok BotWorkstation AI 原生 CRM營銷所有產品
AI 解決方案
應用型 AIAI 智慧體生成式 AIAI 自動化AI 技能提升中小企業 AI 套餐企業 AI 實驗室AI 工作站NVIDIA 硬體與軟體NVIDIA 加速計算私有 AIGPU 私有云GPU 叢集邊緣 AI行業 AI
AI 服務
平臺現代化數字工程資料基礎與 AI自主運營AI 諮詢DevOps 自動化網路安全軟體開發智慧體構建MLOps 搭建GPU 租賃GPU 私有云
關於我們
公司我們的故事合作伙伴客戶案例
AI 資料中心
AI 資料中心GPU 私有云GPU 叢集GPU 租賃
AI 洞察Jev 系列基準測試實驗室模型選擇
技術說明
文件
Linux 作業系統UbuntuRed Hat Enterprise LinuxSUSE LinuxAlpine LinuxDebian、Rocky 與 AlmaLinux
AI 雲平臺AWS 與 Amazon BedrockGoogle Cloud 與 Vertex AIMicrosoft Azure 與 AI FoundryGPU 雲與算力市場
私有 AI 資料中心面向律師事務所面向會計師事務所本地部署平臺全面安全的雲
工具Ring PromoterJobshout
新聞
部落格
聯絡我們登入

面向現代企業的 AI 工作站、AI 多智慧體軟體、GPU 基礎設施和智慧代理解決方案。

聯絡我們

AI 解決方案

應用型 AIAI 智慧體生成式 AIAI 自動化AI 技能提升中小企業 AI 套餐企業 AI 實驗室行業 AI

產品

所有產品Workstation AI native CRM 與 ERP營銷OpenAI 智慧體Ring PromoterJobshout

公司

關於我們公司AI 資料中心為什麼選擇Workstation合作伙伴客戶案例定價聯絡TenthMatrix

資源

AI 洞察技術說明文件Linux 作業系統AI 雲平臺私有 AI 資料中心部落格搜尋網站地圖
英國總部
77-79 Marlowes, Hemel Hempstead HP1 1LF路線指引 — 從 M25 外環倫敦 20 號出口駛出公司編號: 11641870週一至週五:上午 9:00 - 下午 6:00 GMT
+44 7515 356 146
比利時辦公室
Workstation SRL, Rue Vanderkindere 34, 1180 Uccle, BrusselsBE 0751.518.683週一至週五:上午 9:00 - 下午 6:00 CET
+32 492 45 67 46
印度辦公室
#159 Sector 9, Pocket 1, DDA Flats, 110077 Dwarka, New Delhi
+91 98881 98841
台灣辦公室
3F, No. 2-4, Aisi Rd., Ren'ai Dist., Keelung City 200, Taiwan基隆市仁愛區愛四路2之4號3樓週一至週五:上午 9:00 - 下午 6:00 臺灣時間(GMT+8)
+886 926 892 701+32 492 45 67 46

© 2026 Workstation AI。保留所有權利。

隱私資料刪除Cookie服務條款網站地圖

NVIDIA、NVIDIA 標誌、RTX、RTX PRO、Blackwell、CUDA、NVLink、MGX、Omniverse、Spectrum-X、Quantum、BlueField、DGX 與 HGX 為 NVIDIA Corporation 在美國及其他國家的商標及/或註冊商標。AMD、AMD Arrow 標誌、EPYC、Instinct、Ryzen 與 Threadripper 為 Advanced Micro Devices, Inc. 的商標。Dell 與 PowerEdge 為 Dell Inc. 或其子公司的商標。Intel 與 Xeon 為 Intel Corporation 或其子公司的商標。AMAX、AceleMax 與 LiquidMax 為 AMAX Engineering Corporation 的商標。所有其他產品名稱、標誌與品牌均為其各自所有者之財產。我們使用它們僅為識別我們所描述、供應或支援的產品;使用這些名稱並不表示其所有者為我們背書。

首頁 / 技術說明 / Technology
MLOpsKubernetesDevOps

Kubeflow + Argo CD:Kubernetes 上的 GitOps MLOps

Kubeflow Pipelines、Trainer、KServe 與 Kueue 搭配 Argo CD GitOps 的架構地圖:Git 佈局、sync waves、晉升門控、金絲雀 serving、GPU FinOps 與上線清單

2026年7月20日Technology4 min read

本文為長篇參考。五分鐘速覽請見配套部落格。

Kubernetes 上的 Kubeflow 與 Argo CD GitOps MLOps

1. 引言:MLOps 需要兩個控制平面

Kubernetes 上的機器學習常以兩種可預測方式失敗。團隊要麼把訓練當成一堆沒有 lineage 的臨時 Jobs,要麼把 serving 當成一次性 kubectl apply、毫無審計軌跡。Kubeflow 與 Argo CD 分別解決該問題的兩端。

Kubeflow 是 ML 控制平面:pipelines、分散式訓練、實驗跟蹤、model registry 與 KServe。Argo CD 是交付控制平面:基於拉取的 GitOps,使叢集狀態與 Git 一致——包括 Kubeflow 平臺本身以及每個生產 InferenceService。

本文面向平臺與 MLOps 工程師,是一份實用架構指南。假定您熟悉 Kubernetes,並已瞭解基礎 GitOps(參見我們此前的Argo CD & Flux 持續交付文章)。這裡聚焦兩套系統如何在 2026 年共同支撐 ML 工作負載。

2. 2026 Kubernetes MLOps 地圖

生命週期階段 工具 職責
Pipeline 編排Kubeflow Pipelines 2.x容器化步驟 DAG;可追蹤 runs
分散式訓練Kubeflow Trainer (TrainJob)PyTorch / JAX / XGBoost / DeepSpeed jobs
GPU 排隊Kueue (+ optional Volcano)公平共享、gang scheduling、配額
模型 servingKServe自動擴縮 InferenceService;金絲雀分流
自動擴縮KEDA + HPA事件驅動擴縮,含 scale-to-zero
交付與回滾Argo CDGit 作為 manifests 的事實來源
可觀測性Prometheus / Grafana / drift tools基礎設施 + 模型質量訊號

部分 pipeline 後端底層仍會出現 Argo Workflows,但編寫應基於 Kubeflow Pipelines IR / v2,Kubernetes 資源持續交付應基於 Argo CD——不要把「Argo Workflows」與「Argo CD」混為一談。

3. 清晰權屬:Kubeflow 做什麼 vs Argo CD 做什麼

3.1 Kubeflow 負責

  • 編寫並執行訓練 / ETL / 評估 DAG
  • GPU 作業生命週期與實驗後設資料
  • 在 Model Registry 中註冊模型版本與 lineage
  • 定義模型如何可能被 serving(runtime、資源)——常透過生成的 manifests

3.2 Argo CD 負責

  • 安裝與升級 Kubeflow 元件(GitOps 平臺)
  • 同步 pipeline 定義以及觸發訓練的 CronWorkflows
  • 跨環境晉升 InferenceService 變更
  • 透過 Git 歷史實現即時、可審計回滾
硬性規則。 大型二進位制(資料集、checkpoints、ONNX/SafeTensors 權重)絕不要進 Git。存入 S3/GCS/MinIO/PVC。Git 只儲存指標(storageUri、digest、tags)以及 Argo CD 應用的 Kubernetes YAML。

4. 推薦 Git 佈局

ml-platform/                 # Argo CD App: install Kubeflow once
  overlays/
    staging/
    production/
ml-apps/                     # Argo CD App-of-Apps or projects
  pipelines/
    fraud-detector/
  serving/
    fraud-detector/
      base/inferenceservice.yaml
      overlays/
        staging/
        production/
  components/                # reusable KFP components (OCI or YAML)

將 platform 與 application 同步分開。資料科學家對 ml-apps 提 PR;平臺工程師擁有 ml-platform。使用 Argo CD Projects + RBAC,避免錯誤的 pipeline PR 改寫 Kubeflow 控制平面。

5. 用 Argo CD 管理 Kubeflow

手動安裝 Kubeflow 很脆弱:大量 CRD、順序約束與升級路徑。將平臺視為 Argo CD Application(或 ApplicationSet),並具備:

  • Sync waves — 證書、儲存、MySQL/Postgres(或託管 DB)、MinIO/S3 憑證,然後是 KFP / Trainer / KServe
  • Health checks — 在同步依賴應用前等待 CRD 與 webhooks 就緒
  • 生產環境託管服務 — 當超出一體機演示規模時,用 Cloud SQL/RDS 與 S3 替換叢集內 MySQL/MinIO

Application 示意(僅作說明):

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: kubeflow-platform
  namespace: argocd
  annotations:
    argocd.argoproj.io/sync-wave: "0"
spec:
  project: ml-platform
  source:
    repoURL: https://git.example.com/org/ml-platform.git
    targetRevision: main
    path: overlays/production
  destination:
    server: https://kubernetes.default.svc
    namespace: kubeflow
  syncPolicy:
    automated:
      prune: false
      selfHeal: true
    syncOptions:
      - CreateNamespace=true
      - ServerSideApply=true

6. 將 Pipelines 作為 GitOps 資源

藉助 Kubeflow Pipelines v2 / Kubernetes 原生 API,編譯後的 pipelines 可作為叢集資源管理。流程變為:

  1. 用 Python 編寫 pipeline(KFP SDK)
  2. 編譯為 YAML
  3. 提交到 ml-apps/pipelines/...
  4. Argo CD 同步;透過 UI、API 或同樣存於 Git 的 CronWorkflow 觸發 runs

始終為步驟設定CPU、記憶體與 GPU 限制。無界訓練步驟對多租戶叢集的衝擊會快於任何糟糕模型。

7. 模型晉升:registry → Git → Argo CD

這是關鍵交接:

  1. 訓練 run 結束;評估指標達到閾值。
  2. Model Registry 記錄帶 URI + 後設資料(accuracy、fairness、signer)的新版本。
  3. 自動化(或人工)開啟 PR,更新 serving overlay 中的 storageUri(以及映象標籤 / runtime)。
  4. 合併後,Argo CD 滾動釋出 KServe。優先金絲雀:將 canaryTrafficPercent 設為 10%,觀察錯誤率與延遲後再晉升。
apiVersion: serving.kserve.io/v1beta1
kind: InferenceService
metadata:
  name: fraud-detector
spec:
  predictor:
    model:
      modelFormat:
        name: sklearn
      storageUri: s3://models/fraud/v1.4.2/
      resources:
        requests:
          cpu: "1"
          memory: 2Gi
        limits:
          cpu: "2"
          memory: 4Gi

回滾不是儀表盤上的一次點選——而是對該 URI 變更執行 git revert。Argo CD 將叢集癒合到先前期望狀態。

8. GPU、配額與 FinOps

  • 使用 Kueue,讓 TrainJobs 等待公平 GPU 容量,而不是失敗或超額訂閱。
  • 在可能時為訓練與延遲敏感推理分離 node pools。
  • 按 pipeline run 跟蹤成本(GPU-seconds × 費率)。GitOps 並不取消 FinOps——它讓支出可歸因到某次 commit 與某個模型版本。
  • 對 NVIDIA 上的 MIG / time-slicing,在平臺倉庫中記錄分割槽策略,使 Argo CD 管理的 DevicePlugin 配置保持一致。

9. 安全與多租戶

  • Kubeflow Profiles 隔離團隊;將其對映到 Argo CD Projects。
  • 將雲憑證存入 Sealed Secrets / External Secrets——切勿把明文 ConfigMaps 放進 Git。
  • 要求 registry 後設資料門控(如 fairness_score、sign_off_user),晉升機器人才能開啟生產 PR。
  • 網路策略:訓練作業不應需要無限制出站;serving pods 僅需模型儲存與客戶端。

10. 超越 pod 指標的可觀測性

針對 GPU 利用率的 Prometheus 必要但不充分。接入:

  • Pipeline 失敗告警(run 狀態,而非僅 Deployment CrashLoop)
  • Serving SLO:延遲、錯誤率、飽和度
  • 可開工單或重新觸發訓練 CronWorkflow 的資料/模型漂移監控

漂移觸發時,修復路徑仍應是 GitOps:新 run → 新 URI → PR → Argo CD sync——而不是在節點上手動覆蓋。

11. 上線清單

  1. 安裝 Argo CD;建立 ml-platform 與 ml-apps 專案。
  2. 用 sync waves 以 GitOps 安裝 Kubeflow;驗證 KFP UI 與 KServe CRD。
  3. 搭建 object storage + Model Registry;記錄 URI 約定。
  4. 接入一條黃金路徑 pipeline(train → evaluate → register)。
  5. 在 Argo CD 下先加入帶 staging overlay 的 InferenceService。
  6. 啟用金絲雀晉升;演練 git revert。
  7. 在多團隊上線前加入 Kueue 配額與 GPU FinOps 儀表盤。

12. 反模式

  • 為「方便」把 4 GB 權重檔案提交到 Git LFS
  • 允許 notebook 對生產 InferenceServices 執行 kubectl apply
  • 單個 Argo CD Application 混入平臺與全部團隊 pipelines(爆炸半徑)
  • 訓練步驟沒有資源限制
  • 混淆 Argo Workflows(執行)與 Argo CD(期望狀態同步)
  • 跳過 staging——從筆記本實驗直接晉升到生產流量

13. 何時不該使用此技術棧

在工作站上執行單個私有 LLM 的中小企業(參見我們的AI SME Packages)第一天不需要 Kubeflow + Argo CD。當你有多個模型、併發 GPU 使用者、受監管的變更控制,或多個必須保持一致的環境時,再引入該架構。

14. 結論

Kubeflow 與 Argo CD 互補。Kubeflow 讓 ML 工作在 Kubernetes 上可執行、可復現。Argo CD 讓 ML 基礎設施與模型 serving宣告式、可審計、可回退。制勝模式很簡單:產物在 object storage,指標與 YAML 在 Git,訓練在 Kubeflow,交付與回滾在 Argo CD。

配套部落格是可分享的摘要;本文是平臺設計評審的參考。

由 Workstation 釋出(workstation.co.uk)。


本文 SEO 快照

  • SEO 標題: Kubeflow + Argo CD:Kubernetes 上的 GitOps MLOps
  • Meta description: 如何將 Kubeflow Pipelines、Model Registry 與 KServe 與 Argo CD GitOps 結合,實現 Kubernetes 上可訓練、可審計、可安全回滾的 ML。
  • 主要關鍵詞: Kubeflow Argo CD, GitOps MLOps, KServe InferenceService, Kubeflow Pipelines GitOps, ML on Kubernetes
  • Twitter / X: Kubeflow 負責訓練。Argo CD 負責交付。模型留在 object storage;Git 儲存 URI。Workstation 完整 GitOps MLOps 指南。
  • LinkedIn: 我們釋出了關於配對 Kubeflow 與 Argo CD 的深度解析:platform vs apps 的 Git 佈局、晉升門控、金絲雀 serving、GPU 配額,以及透過 git revert 回滾。來自 Workstation 工程團隊。
分享這篇文章

更多 Technology 內容

AMD Instinct vs NVIDIA for AI Infrastructure: Evaluate, Port and Run Both (2026)

AMD Instinct vs NVIDIA for AI Infrastructure: Evaluate, Port and Run Both (2026)

From Lisa Su's 2024 interview to Helios: the 2026 platforms layer by layer, Instinct product lines, memory arithmetic, the CUDA-to-ROCm software map, a porting workflow with commands, dual-vendor Kubernetes, fair benchmarking, a decision workflow and day-two operations

閱讀更多
Private AI for Financial Data: Residency, Routing and Cost on AWS Bedrock, Microsoft Azure and Your Own GPUs

Private AI for Financial Data: Residency, Routing and Cost on AWS Bedrock, Microsoft Azure and Your Own GPUs

Billing models and idle cost, per-call cost at three volumes, Bedrock in-region vs EU profiles, Converse API with prompt caching and IAM region enforcement, Azure deployment types and Claude on Foundry, UK and EU providers, a residency-aware provider registry, cost-cutting workflow, a golden-set evaluation harness and GPU break-even

閱讀更多
NVKE and NVKR Technote: Building a Managed GPU Kubernetes Service from Bare Metal, with Reproducible, Verifiable Builds

NVKE and NVKR Technote: Building a Managed GPU Kubernetes Service from Bare Metal, with Reproducible, Verifiable Builds

Architecture, components and pinned versions, the NVKR Definition-Run-Release-Verify lifecycle, the full nvkectl workflow from racked servers to a customer cluster, node attestation, day-two operations, every preview limitation with a mitigation, a comparison with other approaches and a staged evaluation plan

閱讀更多