Production GitOps patterns for AI/ML workloads: ArgoCD ApplicationSet fleet management, repo separation strategy, progressive canary delivery, and GPU resource templates.
ApplicationSetGenerator— LIST/GIT/MATRIX/CLUSTER generators withto_dict()ApplicationSet— full ApplicationSet resource with sync policySyncPolicy— MANUAL/AUTO/AUTO_PRUNE/AUTO_SELF_HEALbuild_applicationset()— convenience builder for AI workload fleets
RepoSeparationStrategy— app-repo vs config-repo separation withpromotion_pipeline()RepoLayout— generates all expected directory paths for a config repoGitOpsRepo— typed repo descriptor withshort_nameandis_config_repovalidate_repo_layout()— warns on missing prod, empty apps, conflicting tooling
ProgressiveDelivery— canary rollout state machine (start/advance/abort)CanaryConfig— steps with weight/pause/analysis_template per stepRolloutStatus— phase tracking (RUNNING/PAUSED/COMPLETED/FAILED)to_argo_rollout_dict()— generates Argo Rollouts resource YAML
ResourceTemplateBuilder— generates Deployment + ResourceQuota dictsAIWorkloadConfig— per-workload GPU/CPU/memory config with effective_profile()GpuType— T4/A10G/A100/H100/H200 with VRAM propertiesWorkloadType— LLM_INFERENCE/BATCH/TRAINING/FINE_TUNING/EMBEDDING
pip install -e ".[dev]"
pytest -q