Skip to content

feat: add --network-volume-id flag to pod/serverless create#259

Merged
max4c merged 1 commit intomainfrom
feat/add-network-volume-id-flag
Mar 20, 2026
Merged

feat: add --network-volume-id flag to pod/serverless create#259
max4c merged 1 commit intomainfrom
feat/add-network-volume-id-flag

Conversation

@TimPietruskyRunPod
Copy link
Copy Markdown
Member

Summary

  • adds --network-volume-id flag to pod create (both GPU/GraphQL and CPU/REST paths)
  • adds --network-volume-id flag to serverless create (REST)
  • adds e2e testing constraint to AGENTS.md

Closes #256

E2E verified

path result
GPU pod (GraphQL) — pod create --network-volume-id <id> --gpu-id "NVIDIA RTX A4500" created & booted in EU-RO-1 with network volume
CPU pod (REST) — pod create --compute-type cpu --network-volume-id <id> created & booted in EU-RO-1 with network volume
serverless (REST) — serverless create --network-volume-id <id> created, networkVolumeId confirmed in response

Test plan

  • go build ./... passes
  • go vet ./... passes
  • go test ./cmd/pod/... ./cmd/serverless/... ./internal/api/... passes
  • runpodctl pod create --help shows --network-volume-id
  • runpodctl serverless create --help shows --network-volume-id
  • e2e: GPU pod with network volume (GraphQL path)
  • e2e: CPU pod with network volume (REST path)
  • e2e: serverless endpoint with network volume

allows attaching a network volume when creating pods (both GPU/GraphQL
and CPU/REST paths) and serverless endpoints.

closes #256
@max4c max4c merged commit bb227bc into main Mar 20, 2026
1 check passed
@max4c max4c deleted the feat/add-network-volume-id-flag branch March 20, 2026 21:44
@promptless
Copy link
Copy Markdown

promptless bot commented Mar 23, 2026

📝 Documentation updates detected!

Updated existing suggestion: Update runpodctl documentation for v2.0


Tip: Sort by Shortest Review in the Dashboard to find quick wins ⚡

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pod create and serverless create: add --network-volume-id flag

2 participants