|
| 1 | +# Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved. |
| 2 | +# |
| 3 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | +# you may not use this file except in compliance with the License. |
| 5 | +# You may obtain a copy of the License at |
| 6 | +# |
| 7 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | +# |
| 9 | +# Unless required by applicable law or agreed to in writing, software |
| 10 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | +# See the License for the specific language governing permissions and |
| 13 | +# limitations under the License. |
| 14 | + |
| 15 | +# EKS GB200 UAT cluster (reservation aws-gb200, infra/uat/reservations.yaml). |
| 16 | +# |
| 17 | +# Differs from the p5 cluster-config.yaml (aws-h100) in three structural ways, |
| 18 | +# all forced by GB200 hardware and its Capacity Block: |
| 19 | +# 1. CROSS-ACCOUNT — the Capacity Block is held in tenancy 897722687756 |
| 20 | +# (dgx-cloud-runai-prod-22), not the standard UAT account. The AWS |
| 21 | +# pipeline assumes the OIDC role in .deployment.tenancy below (which must |
| 22 | +# match reservations.yaml `account`). Prereq: apply infra/uat-aws-account |
| 23 | +# in 897722687756 first (GitHub OIDC provider + github-actions-role-aicr). |
| 24 | +# 2. LOCAL ZONE — p6e-gb200 capacity lives in us-east-1-dfw-2a (parent AZ |
| 25 | +# us-east-1d). The EKS control plane cannot live in a Local Zone, so the |
| 26 | +# GPU worker + pod subnets are in the Local Zone while control-plane / |
| 27 | +# system / public subnets stay in region AZs (incl. us-east-1d, the |
| 28 | +# parent). Local-Zone worker egress routes through a region NAT. |
| 29 | +# 3. arm64 + Capacity Block — GB200 is Grace/arm64 and the reservation is a |
| 30 | +# time-bounded Capacity Block (marketType below), not a standing CR. |
| 31 | +# |
| 32 | +# Two mchmarny/cluster actuator workarounds are load-bearing (see the inline |
| 33 | +# notes on the worker nodeGroup and adminRoles). |
| 34 | + |
| 35 | +apiVersion: github.com/mchmarny/cluster/v1alpha1 |
| 36 | +kind: Cluster |
| 37 | + |
| 38 | +deployment: |
| 39 | + id: aicr-uat-gb200 # workflow overrides with a run-scoped id |
| 40 | + provider: eks |
| 41 | + tenancy: "897722687756" # dgx-cloud-runai-prod-22 (GB200 Capacity Block) |
| 42 | + location: us-east-1 |
| 43 | + state: tenancy # remote TF state in this account's S3 |
| 44 | + destroy: false |
| 45 | + tags: |
| 46 | + env: dev |
| 47 | + |
| 48 | +cluster: |
| 49 | + eks: |
| 50 | + version: "1.35" |
| 51 | + # Empty: the CI OIDC role (github-actions-role-aicr) is the cluster |
| 52 | + # CREATOR and gets cluster-admin automatically |
| 53 | + # (bootstrap_cluster_creator_admin_permissions=true). The actuator ALSO |
| 54 | + # writes an explicit access entry per adminRole; listing the creator's own |
| 55 | + # role here collides with the bootstrap entry and 409s. Human admins can |
| 56 | + # add this account's SSO admin role once its name is known (it differs from |
| 57 | + # the standard account's AWSReservedSSO_CS-Admin_55d42b5a9a2a8c35). |
| 58 | + adminRoles: [] |
| 59 | + controlPlane: |
| 60 | + allowedCidrs: |
| 61 | + - 216.228.127.128/30 |
| 62 | + - 52.41.222.58/32 |
| 63 | + - 54.68.11.139/32 |
| 64 | + - 128.77.49.32/30 |
| 65 | + addOns: |
| 66 | + coreDns: "" |
| 67 | + kubeProxy: "" |
| 68 | + vpcCni: "" |
| 69 | + |
| 70 | +network: |
| 71 | + eks: |
| 72 | + cidrs: |
| 73 | + host: 10.0.0.0/16 |
| 74 | + pod: 100.65.0.0/16 |
| 75 | + subnets: |
| 76 | + # Control-plane / system / public subnets MUST be in region AZs (the EKS |
| 77 | + # control plane cannot live in a Local Zone). Include us-east-1d — the |
| 78 | + # Local Zone's parent — so cross-zone routing to the workers is local. |
| 79 | + public: |
| 80 | + - cidr: 10.0.1.0/27 |
| 81 | + zone: us-east-1a |
| 82 | + - cidr: 10.0.2.0/27 |
| 83 | + zone: us-east-1d |
| 84 | + system: |
| 85 | + - cidr: 10.0.4.0/22 |
| 86 | + zone: us-east-1a |
| 87 | + - cidr: 10.0.8.0/22 |
| 88 | + zone: us-east-1d |
| 89 | + # GPU workers + pods live in the Local Zone where the Capacity Block is. |
| 90 | + worker: |
| 91 | + - cidr: 10.0.128.0/17 |
| 92 | + zone: us-east-1-dfw-2a |
| 93 | + disableEndpoints: true |
| 94 | + pod: |
| 95 | + - cidr: 100.65.0.0/16 |
| 96 | + zone: us-east-1-dfw-2a |
| 97 | + disableEndpoints: true |
| 98 | + securityGroups: |
| 99 | + additionalRules: |
| 100 | + - target: system |
| 101 | + direction: ingress |
| 102 | + fromPort: 4222 |
| 103 | + toPort: 4222 |
| 104 | + protocol: tcp |
| 105 | + # VPC-CNI does not SNAT in-VPC pod-to-pod traffic, so NATS on the |
| 106 | + # system node sees the pod source IP (pod subnet), not the node IP. |
| 107 | + cidrBlocks: ["10.0.128.0/17", "100.65.0.0/16"] # worker node + pod subnet CIDRs |
| 108 | + description: "Allow NATS from worker nodes and pods" |
| 109 | + |
| 110 | +compute: |
| 111 | + eks: |
| 112 | + nodeGroups: |
| 113 | + system: |
| 114 | + instanceType: m7i.xlarge |
| 115 | + capacity: |
| 116 | + desired: 3 |
| 117 | + labels: |
| 118 | + nodeGroup: system-worker |
| 119 | + dedicated: system-workload |
| 120 | + workers: |
| 121 | + - name: gpu-worker |
| 122 | + instanceType: p6e-gb200.36xlarge |
| 123 | + architecture: arm64 # GB200 = Grace/arm64 (arm64 Ubuntu EKS AMI) |
| 124 | + gpuType: gb200 |
| 125 | + # REQUIRED: auto-derivation breaks on the "p6e-gb200.*" name — the |
| 126 | + # actuator keys its accelerator map on "p6e" but split(".")[0] yields |
| 127 | + # "p6e-gb200", so it falls through to the generic-GPU EFA branch and |
| 128 | + # emits an invalid launch template (device_index=1 on a 1-device |
| 129 | + # network card) → CreateAutoScalingGroup ValidationError. The explicit |
| 130 | + # value selects the correct GB200 branch. |
| 131 | + accelerator: gb200 |
| 132 | + capacity: |
| 133 | + # Two GPU nodes: activates the multi-node NCCL East-West fabric |
| 134 | + # check (nccl-all-reduce-bw-net) and lets the TrainJob (numNodes: 2) |
| 135 | + # span both nodes. |
| 136 | + desired: 2 |
| 137 | + reservation: |
| 138 | + preference: capacity-reservations-only |
| 139 | + target: cr-0e2f3833a602809a6 |
| 140 | + marketType: capacity-block # REQUIRED — GB200 CRs are Capacity Blocks |
| 141 | + labels: |
| 142 | + nodeGroup: gpu-worker |
| 143 | + dedicated: user-workload |
| 144 | + taints: |
| 145 | + - key: skyhook.nvidia.com |
| 146 | + value: runtime-required |
| 147 | + effect: NoSchedule |
0 commit comments