Skip to content

add min-cuda-version support for pod create#265

Open
vavo wants to merge 1 commit intorunpod:mainfrom
vavo:notrius/issue-253-min-cuda-version
Open

add min-cuda-version support for pod create#265
vavo wants to merge 1 commit intorunpod:mainfrom
vavo:notrius/issue-253-min-cuda-version

Conversation

@vavo
Copy link
Copy Markdown

@vavo vavo commented Apr 8, 2026

E-253: add min-cuda-version support for pod create

  • resolves Support --min-cuda-version flag for pod create #253 by adding --min-cuda-version to runpodctl pod create for gpu pod placement.
  • maintains full legacy command compatibility (stderr warnings only, stdout unchanged).
  • keeps runpodctl as the primary binary; drop-in upgrade for existing users.
  • aligns the graphql create path with the current RunPod schema, which includes minCudaVersion on GpuAvailabilityInput and PodFindAndDeployOnDemandInput.
  • adds unit coverage for command wiring, gpu-only validation, request building, and graphql serialization.
  • updates the generated pod create docs.

reference:

Test plan:

  • go test ./...
  • go test -tags e2e ./e2e

Copy link
Copy Markdown
Author

vavo commented Apr 8, 2026

live verification completed with a real Runpod API key.

verified flow:

  • build runpodctl
  • gpu list confirmed available gpu ids, including NVIDIA GeForce RTX 4090
  • create disposable pod with:
    • --image ubuntu:22.04
    • --gpu-id 'NVIDIA GeForce RTX 4090'
    • --min-cuda-version 12.6
    • --name codex-issue-253-probe
  • create succeeded and returned pod id nuyi29y19kylna
  • immediately deleted the disposable pod with runpodctl pod delete nuyi29y19kylna

result: pass

cleanup completed successfully.

@vavo vavo marked this pull request as ready for review April 8, 2026 23:06
@promptless
Copy link
Copy Markdown

promptless bot commented Apr 8, 2026

Promptless prepared a documentation update related to this change.

Triggered by PR #265

Added the --min-cuda-version flag to the runpodctl pod create command reference with a usage example and description noting it applies only to GPU Pods.

Review at https://app.gopromptless.ai/suggestions/c495ba32-59bf-4ed6-9546-20a09ba1f689

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.

Support --min-cuda-version flag for pod create

1 participant