Deploy
Deploy an app to multiple clusters with smart placement.
Usage
Deploy a workload to clusters. You can specify target clusters explicitly or let kubestellar-deploy find matching clusters based on requirements.
Examples
- “Deploy this nginx deployment to all clusters”
- “Deploy my ML model to clusters with GPUs”
- “Deploy this app to clusters with at least 16Gi memory”
- “Do a dry run of deploying this manifest”
What it does
- Finds clusters matching your requirements (or uses all clusters)
- Applies the manifest to each target cluster
- Reports success/failure per cluster
MCP Tools Used
deploy_app- Deploy an app to clustersfind_clusters_for_workload- Find clusters matching requirementslist_cluster_capabilities- See what each cluster can run
Implementation
Use the deploy_app tool with:
manifest: The Kubernetes YAML manifestclusters: Optional list of target clustersgpu_type: Optional GPU type requirement (e.g., “nvidia.com/gpu”)min_gpu: Optional minimum GPU countdry_run: Set to true to preview without applying
Smart Placement
If you don’t specify clusters, kubestellar-deploy can:
- Deploy to all clusters
- Filter to clusters with specific GPU types
- Filter to clusters with minimum CPU/memory
- Filter to clusters with specific node labels