# Argo CD Application:以 Git 为准同步到「单」私有化 GPU 集群 apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: gpu-infer-workloads namespace: argocd spec: project: default source: repoURL: https://gitlab.example.local/ai-platform/gpu-infer-manifests.git targetRevision: main path: overlays/prod destination: server: https://kubernetes.default.svc namespace: gpu-infer syncPolicy: automated: prune: true selfHeal: true syncOptions: - CreateNamespace=true # 生产可改为手动 sync;案例演示 automated + selfHeal