Repository navigation
feat(aws): support H200, B200 and B300 on AWS and Kubernetes; logship reads Nebula's keys - #158
Merged
Merged
Conversation
Signed-off-by: kerthcet <kerthcet@gmail.com>
Signed-off-by: kerthcet <kerthcet@gmail.com>
Signed-off-by: kerthcet <kerthcet@gmail.com>
The AWS adapter boots the Amazon Linux 2 ECS GPU AMI, which ships NVIDIA driver 550.163.01 (aws/amazon-ecs-ami, 20261119). Blackwell needs R570 or later, and buildUserData does not upgrade the driver, so a p6-b200 or p6-b300 instance would launch and bill without running the workload. Both rows stay listed but unavailable, so the aws adapter refuses them. The kubernetes provider still serves them: it ignores availability, and an EKS node boots the image its own Karpenter configuration picks. Moving to the AL2023 ECS GPU AMI (driver 580.178.04) is the fix that lets them back. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
logship kept its own copies of the label, annotation and nodeSelector keys it reads a Pod's identity from. They now come from nebulav1alpha1 (EnabledLabel, EnabledValue, InstanceIDAnnotation, ProviderLabel), so they cannot drift from what the placement controller and virtual kubelet write. The Dockerfile already builds from the repo root and copies api/, and api/v1alpha1 imports nothing else from Nebula. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The documented trust policy permits cross-tenant role assumption, and H200 placement still attempts unsupported Spot launches before falling back to OnDemand.
2 open issues
What changed in this PR
This PR expands Nebula’s GPU catalog for AWS and Kubernetes, shares API identity keys with logship, and documents private-image authentication.
Changes:
- Adds H200 OnDemand offerings and B200/B300 entries for Kubernetes family mapping, with Blackwell disabled on AWS pending driver support.
- Replaces logship’s duplicated identity constants with Nebula API constants and updates dependencies.
- Adds private-image guidance covering Modal’s ECR role authentication.
| File | Description |
|---|---|
pkg/provider/kubernetes/kubernetes_test.go |
Tests H200, B200, and B300 instance-family mappings. |
pkg/provider/catalog/data/aws.csv |
Adds Hopper and Blackwell catalog entries. |
pkg/provider/catalog/catalog_test.go |
Tests H200 mapping/pricing and AWS Blackwell refusal. |
docs/README.md |
Links the private-image guide. |
docs/private-image.md |
Documents image-pull Secrets and Modal ECR authentication. |
components/logship/internal/watch/watch.go |
Uses shared API constants for Pod identity. |
components/logship/internal/watch/watch_test.go |
Updates fixtures to use shared constants. |
components/logship/go.sum |
Updates dependency checksums. |
components/logship/go.mod |
Adds the Nebula dependency and updates indirect dependencies. |
components/logship/cmd/main.go |
Uses shared API constants in watcher startup logging. |
Review effort: Balanced
The adapter booted Amazon Linux 2's ECS GPU AMI, whose NVIDIA driver 550.163.01 is too old for Blackwell, so B200 and B300 were held back. It now picks the AL2023 ECS GPU AMI (al2023-ami-ecs-gpu-hvm-*-kernel-6.1-x86_64-ebs), which, per aws/amazon-ecs-ami's build config and release notes: - pins the 580 driver series (580.178.04 in release 20261119); - loads NVIDIA's open kernel modules, which Blackwell requires, for every GPU but P3/G3 and GRID; - installs Docker and nvidia-container-toolkit, all buildUserData's `docker run --gpus all` needs; - keeps a 30 GiB root on /dev/xvda, as awsAMIRootGiB prices. B200 and B300 are available again. TestGPUAMINameFilter pins the choice against AWS's real AMI names, failing if the filter drifts back to AL2. It moves off AL2 too, past its end of support. Not yet launched on a real account. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Comment on lines
+67
to
+68
| One role per set of repositories a tenant may read keeps tenants apart: a role can only pull what its own policy | ||
| allows, and only your workspace can assume it. |
Comment on lines
+70
to
+71
| ### 3. Name the role in a Secret, and the Secret in the Pod | ||
|
|
Member
Author
|
/lgtm |
InftyAI-Agent
approved these changes
Nov 25, 2026
InftyAI-Agent
left a comment
Member
There was a problem hiding this comment.
Approved: PR has both lgtm and approved labels
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



AWS and Kubernetes: H200, B200, B300
pkg/provider/catalog/data/aws.csvgains three GPUs. Thekubernetesprovider maps GPUs through the AWS catalog, so it picks them up too, as Karpenter instance families.awskubernetesfamilyp5en.48xlarge(primary),p5e.48xlargep5e,p5enp6-b200.48xlargep6-b200p6-b300.48xlargep6-b300DescribeInstanceTypeOfferingsstill decides where a row is available.p5enis the primary, as it's offered in more regions thanp5e. The launch fleet spans both.The AWS adapter boots the AL2023 ECS GPU AMI
It booted Amazon Linux 2's ECS GPU AMI, whose NVIDIA driver 550.163.01 is too old for Blackwell (R570+), so B200/B300 would have launched and billed without running.
gpuAMINameFilternow picksal2023-ami-ecs-gpu-hvm-*-kernel-6.1-x86_64-ebs. Peraws/amazon-ecs-ami's build config and release notes, it:nvidia-container-toolkit, allbuildUserData'sdocker run --gpus allneeds;/dev/xvda, asawsAMIRootGiBprices (the adapter also reads the real size from the AMI and logs if it's larger).It also moves off AL2, which is past its end of support.
logship: Nebula's keys from its API
components/logshipkept its own copies of the keys it reads a Pod's identity from. It now usesnebulav1alpha1.EnabledLabel,EnabledValue,InstanceIDAnnotationandProviderLabel, so they can't drift from what Nebula writes.go.modgains a realrequirefor Nebula (thereplacewas already there), which addscontroller-runtimeas an indirect dependency.api/.Docs
docs/private-image.md, linked fromdocs/README.md.Testing
TestGPUAMINameFilter: the filter matches AWS's real AL2023 GPU AMI name and not the AL2 GPU, AL2023 non-GPU or ARM names. With the old AL2 filter restored, it fails.TestEmbeddedCatalog_AWSHopperAndBlackwell: H200, B200 and B300 map to their instance types and are priced OnDemand, with no Spot; there's no single-GPU H200.TestFamiliesByAccelerator_HopperAndBlackwellFromAWSCatalog: the kubernetes provider resolves[p5e, p5en],[p6-b200]and[p6-b300].make testandmake lintpass at the root and incomponents/logship.nvidia-smiand the workload. That covers the AMI switch for H100/H200 too, not just Blackwell. Launches also depend on EC2 quota for P instances, and on capacity.🤖 Generated with Claude Code