Opinionated, production-ready GPU cluster blueprints for model serving, inference, and training — spanning AI-native clouds and hyperscalers from a single IaC codebase.
The target clouds range from AI/neo clouds such as Nebius and CoreWeave (purpose-built GPU infrastructure, competitive spot pricing) to hyperscalers AWS, Azure, and GCP (breadth of managed services, global reach). Each provider gets its own Pulumi module and Flux extension layer; the cluster configuration schema and GitOps layout are intentionally kept uniform across all of them so workloads and tooling can move between providers with minimal friction.
This repository contains Pulumi programs (and, for Verda, a Terraform module) plus GitOps configuration for provisioning and managing Kubernetes clusters across AWS EKS, Scaleway (CAPS), Nebius AI Cloud (MK8s), and Verda (kubeadm).
| Provider | Cluster | Module |
|---|---|---|
| AWS EKS | clusters/eks-alpha |
iac-modules/cluster-infra/eks-v{k8s_version}-v1 |
| Scaleway CAPS | clusters/scw-alpha, clusters/scw-mgmt-alpha |
iac-modules/cluster-infra/caps-v1 |
| Nebius MK8s | clusters/nebius-alpha |
iac-modules/cluster-infra/nebius-mk8s-v{k8s_version}-v1 |
| Verda kubeadm (Terraform) | clusters/verda-alpha |
iac-modules/cluster-infra/verda-kubeadm-v{k8s_version}-v1 |
AWS EKS
- VPC, subnets, internet/NAT gateways
- EKS control plane (API mode auth, OIDC)
- Self-managed node groups via launch templates + ASGs
- Cilium CNI, CoreDNS, Flux bootstrapped from
clusters/eks-alpha/extensions - Karpenter, cert-manager, kgateway via GitOps
Scaleway CAPS
- Local
kindmanagement cluster running CAPI + CAPS controllers - Scaleway private network, control plane MachineDeployments, worker node groups
- Cilium CNI, CoreDNS, Flux bootstrapped from
clusters/scw-alpha/extensions - Scaleway CCM, CSI, Cluster Autoscaler via GitOps
Nebius MK8s
- Nebius VPC network + subnet
- Managed MK8s control plane (public endpoint, etcd)
- CPU node groups (
cpu-d3, 16 vCPU / 64 GiB) — core, mimir - GPU node groups (
gpu-l40s-a, NVIDIA L40S, preemptible) — inference - Cluster Autoscaler managed by Nebius
Verda kubeadm (Terraform — Verda has no Pulumi provider)
- Stock Ubuntu instances built in place with kubernetes-sigs/image-builder's Ansible roles (containerd, kubelet, kubeadm pinned)
- Single-node kubeadm control plane, worker node groups joined with per-node bootstrap tokens
- Cilium (kube-proxy replacement, vxlan) + Flux bootstrapped from the control plane, then GitOps from
clusters/verda-alpha/extensions - kgateway on
hostNetworkacross the core nodes (no cloud LB on Verda) with round-robin Cloudflare A records managed by Terraform
All providers use the same config schema in each cluster's config.yaml:
| Cluster | Group | Platform / Type | Size | Purpose |
|---|---|---|---|---|
eks-alpha (AWS) |
core |
t2.medium |
1–2 | System workloads |
eks-alpha (AWS) |
mimir |
t3.large |
1–3 | Metrics (Mimir, Grafana) |
eks-alpha (AWS) |
logging |
t3.large |
1–3 | Logging (ELK) |
eks-alpha (AWS) |
g4-inference |
g4dn.xlarge spot |
0–3 | GPU inference (T4) |
eks-alpha (AWS) |
g4-inference-32b |
g4dn.12xlarge spot + EFA |
2 | 32B model (4×T4, pipeline-parallel) |
scw-alpha (Scaleway) |
core |
DEV1-M |
1–3 | System workloads |
scw-alpha (Scaleway) |
mimir |
DEV1-L |
1–3 | Metrics |
scw-alpha (Scaleway) |
logging |
DEV1-L |
1–3 | Logging |
nebius-alpha (Nebius) |
core |
cpu-d3 16vcpu-64gb |
1–2 | System workloads |
nebius-alpha (Nebius) |
mimir |
cpu-d3 16vcpu-64gb |
1–3 | Metrics |
nebius-alpha (Nebius) |
gpu-inference |
gpu-l40s-d 1×L40S |
1–4 | Single-GPU inference (preemptible) |
nebius-alpha (Nebius) |
gpu-nvlink |
gpu-h100-sxm 8×H100 SXM |
2 | Multi-node NVLink serving (GB200 fabric) |
verda-alpha (Verda) |
control plane | CPU.8V.32G |
1 | kubeadm control plane |
verda-alpha (Verda) |
core |
CPU.8V.32G |
2 | System workloads (Flux, controllers) |
Extensions are managed by Flux using a base/overlay Kustomize pattern under iac-modules/extensions/:
- Cilium — CNI with provider-specific routing overlays
- cert-manager — TLS certificate management
- kgateway — Kubernetes Gateway API
- Cluster Autoscaler — node scaling
- Mimir + Grafana — metrics storage and dashboards
- ELK — log aggregation
- vLLM — single-GPU inference serving (7B, 1×L40S, DRA)
- vLLM NVLink — multi-node NVLink serving (72B, 16×H100 SXM, TP=16, Ray)
clusters/
eks-alpha/ # AWS EKS workload cluster
scw-alpha/ # Scaleway CAPS workload cluster
scw-mgmt-alpha/ # Scaleway CAPS management cluster
nebius-alpha/ # Nebius MK8s workload cluster
verda-alpha/ # Verda kubeadm workload cluster (Terraform)
iac-modules/
cluster-infra/
eks-v1.36-v1/ # AWS EKS provisioning module (versioned per k8s release)
caps-v1/ # Scaleway CAPS provisioning module
nebius-mk8s-v1.34-v1/ # Nebius MK8s provisioning module (versioned per k8s release)
verda-kubeadm-v1.35-v1/ # Verda kubeadm Terraform module (versioned per k8s release)
extensions/ # Helm/Flux extension definitions (base + provider overlays)
config/ # SOPS-encrypted configuration values
docs/ # Provider-specific setup guides
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txtAdditional per provider:
- AWS: AWS CLI configured with EKS permissions
- Scaleway:
kind,clusterctl,sops,age - Nebius: Nebius service account credentials (see below)
- Verda:
terraform,verdaCLI (credentials viaverda auth login),jq
source venv/bin/activate
aws configure
cd clusters/eks-alpha/infra
pulumi stack init eks-alpha
pulumi upSee docs/eks.md for the full setup guide.
source venv/bin/activate
cd clusters/scw-alpha/infra
pulumi stack init scw-alpha
pulumi config set --secret scw_project_id <id>
pulumi config set --secret scw_access_key <key>
pulumi config set --secret scw_secret_key <secret>
pulumi upSee docs/scaleway.md for the full setup guide.
1. Install the Nebius Pulumi SDK
source venv/bin/activate
pulumi plugin install resource terraform-provider 1.2.1
pip install pulumi-nebius2. Set credentials
Obtain a service account key from the Nebius console (IAM → Service accounts → Keys):
cd clusters/nebius-alpha/infra
pulumi stack init prod
pulumi config set nebius:account_id <service-account-id>
pulumi config set nebius:public_key_id <public-key-id>
pulumi config set nebius:private_key_file /path/to/private.pem3. Set project ID
Edit clusters/nebius-alpha/config.yaml and fill in project_id from the Nebius console.
4. Deploy
pulumi upScheduling workloads on dedicated nodes — nodes carry taints so pods must include matching tolerations:
# Example: schedule on mimir nodes
tolerations:
- key: node-type
value: mimir
effect: NoSchedule
nodeSelector:
node-type: mimirUpgrading the Nebius SDK (after a new provider version is published):
pip install --upgrade pulumi-nebiusSee docs/nebius.md for the full setup guide.
eval "$(scripts/verda-env.sh)" # VERDA_CLIENT_ID/SECRET from the verda CLI credentials
export SOPS_AGE_KEY_FILE=~/.age/k8s-key.age
cd clusters/verda-alpha/infra
terraform init
terraform apply
export KUBECONFIG=$PWD/kubeconfig.yamlclusters/verda-alpha/config.yaml sets the location (Verda's region), the exact instance
type per node group, and the Verda console project whose API key must be exported.
See docs/verda.md for the full setup guide, including why kubeadm over Rancher and how image-builder is used without a custom-image import.
For the NVLink multi-node serving design, see docs/nvlink-multinode-serving.md. For orchestration options (StatefulSet vs LeaderWorkerSet vs NVIDIA Dynamo), see docs/multi-node-inference-options.md.
For Kimi K3 API integration (Moonshot AI, 2.8T MoE), see docs/kimi-k3.md. For Kimi K3 self-hosted deployment engineering reference, see docs/kimi-k3-self-hosted.md.