Skip to content

docs: Update runpodctl documentation for v2.0#563

Open
promptless[bot] wants to merge 18 commits intomainfrom
promptless/runpodctl-v2-documentation
Open

docs: Update runpodctl documentation for v2.0#563
promptless[bot] wants to merge 18 commits intomainfrom
promptless/runpodctl-v2-documentation

Conversation

@promptless
Copy link
Contributor

@promptless promptless bot commented Mar 20, 2026

Open this suggestion in Promptless to view citations and reasoning process

Comprehensive update of the Runpod CLI documentation for version 2.0. Adds new reference pages for all command groups (pod, serverless, template, network-volume, model, registry, gpu, datacenter, billing, user, ssh, doctor), updates the overview with a quick start guide, and adds redirects for backward compatibility with old v1.x URLs.

Trigger Events

Internal discussion about updating runpodctl documentation based on recent changes to the skill file and source code.

Promptless Research (9 files, 2 webpages)

  • Read webpage from github.com
  • Read webpage from github.com
  • Viewed .long_term_context/product_knowledge/product_overview.md
  • Viewed .long_term_context/doc_workflow/client_instructions.md
  • Viewed .long_term_context/style/client_style_guide.md
  • Viewed runpodctl/overview.mdx
  • Viewed runpodctl/manage-pods.mdx
  • Viewed runpodctl/transfer-files.mdx
  • Viewed runpodctl/reference/runpodctl-create-pod.mdx
  • Viewed runpodctl/reference/runpodctl-get-pod.mdx
  • Viewed docs.json

Agent Response

I've created a comprehensive documentation update for runpodctl v2.0. Here's a summary of the changes:

Documentation suggestion created

Title: Update runpodctl documentation for v2.0

Changes made:

Updated runpodctl/overview.mdx:

  • Added quick start section showing v2.0 commands
  • Updated installation URLs to use /latest/download/ instead of hardcoded versions
  • Added runpodctl doctor for first-time setup
  • Added command groups table showing all available commands and aliases
  • Added shell completion instructions

Created 12 new reference pages:

  • runpodctl-doctor.mdx - First-time setup and diagnostics
  • runpodctl-pod.mdx - Comprehensive Pod management (create, list, start, stop, delete, etc.)
  • runpodctl-serverless.mdx - Serverless endpoint management
  • runpodctl-template.mdx - Template listing, search, and management
  • runpodctl-network-volume.mdx - Network volume management
  • runpodctl-model.mdx - Model management
  • runpodctl-registry.mdx - Container registry authentication
  • runpodctl-gpu.mdx - List available GPUs
  • runpodctl-datacenter.mdx - List datacenters
  • runpodctl-billing.mdx - View billing history
  • runpodctl-user.mdx - Account information
  • runpodctl-ssh.mdx - SSH key and connection management

Removed old v1.x reference pages (with redirects for backward compatibility):

  • Old pages like runpodctl-create-pod, runpodctl-get-pod, etc. now redirect to the new consolidated runpodctl-pod page

Updated docs.json:

  • Updated navigation to include new pages
  • Added 10 redirects for old URLs to maintain backward compatibility

The key change in v2.0 is the command structure: commands now use a noun-verb pattern (e.g., runpodctl pod create instead of runpodctl create pod), and there are many new command groups for managing Serverless endpoints, templates, network volumes, and more.


Tip: Attach PDFs in Slack messages to Promptless—it can even extract images from them 📎

@mintlify
Copy link

mintlify bot commented Mar 20, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
runpod-docs 🟢 Ready View Preview Mar 20, 2026, 10:46 PM

@promptless
Copy link
Contributor Author

promptless bot commented Mar 23, 2026

I've added new changes to address this GitHub PR in commit 79e8158

@promptless
Copy link
Contributor Author

promptless bot commented Mar 23, 2026

I've added new changes to address this GitHub PR in commit cd5a6d5

Copy link
Member

@TimPietruskyRunPod TimPietruskyRunPod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall this is a solid restructuring of the docs for v2.0 — the redirects, updated install URLs, and new reference pages look great. A few things need fixing before merge:

  1. Outdated docker image in pod create example
  2. Missing --network-volume-id flag on serverless create
  3. Shell completion instructions are wrong
  4. Serverless list flags undocumented

See inline comments for details.

@promptless
Copy link
Contributor Author

promptless bot commented Mar 24, 2026

I've added new changes to address this Slack message in commit 08fb45d

Create a Pod with a custom Docker image:

```bash
runpodctl pod create --image "runpod/pytorch:2.1.0-py3.10-cuda11.8.0-devel-ubuntu22.04" --gpu-id "NVIDIA GeForce RTX 4090"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Citation: Updated Docker image from outdated runpod/pytorch:2.1.0-py3.10-cuda11.8.0-devel-ubuntu22.04 to the newer runpod/pytorch:1.0.3-cu1281-torch291-ubuntu2404 based on review feedback from Tim Pietrusky. Also fixed in the CLI help text itself in PR #260.
View source

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(Line 210)

Citation: Fixed shell completion documentation based on review feedback from Tim Pietrusky. runpodctl completion takes no arguments—it auto-detects the shell via $SHELL env var and appends the appropriate source command. This was also corrected in the SKILL file in PR #11.
View source

runpodctl serverless list
```

### Get endpoint details
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Citation: Added --include-template and --include-workers flags for the serverless list command based on review feedback from Tim Pietrusky. These flags exist in cmd/serverless/list.go (not just get).
View source

@promptless
Copy link
Contributor Author

promptless bot commented Mar 25, 2026

I've added new changes to address this GitHub PR in commit 4e6359e

<ResponseField name="--gpu-count" type="int" default="1">
Number of GPUs per worker.
</ResponseField>

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Citation: New --hub-id flag added to serverless create in PR #262. When --hub-id is used, the CLI resolves the listing, extracts the build image and config from the latest release, and deploys the endpoint. Changes in cmd/serverless/create.go.
View source

Resolved conflict: runpodctl/reference/runpodctl-create-pod.mdx
- Kept deletion since v2 consolidates pod commands into runpodctl-pod.mdx

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
muhsinking and others added 2 commits March 25, 2026 13:08
- Update CLI tests to use v2 noun-verb syntax (pod list, pod create, etc.)
- Add 10 new tests covering v2 commands (serverless, hub, templates, etc.)
- Update pods/manage-pods.mdx CLI examples to v2 syntax
- Update pods/connect-to-a-pod.mdx Pod creation example to v2 syntax
- Update test counts in .claude/commands/test.md

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add note to serverless docs explaining template type requirements
- Add note to template docs about pod vs serverless template differences
- Update --serverless flag description with volume disk and binding constraints
- Use VolumeDiskTooltip for clarity (serverless doesn't support volume disks,
  but does support network volumes)

Discovered during CLI test batch: serverless endpoints require
serverless-specific templates (not pod templates), and each
serverless template can only be bound to one endpoint.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Replace REST API examples with runpodctl commands in Terminal tabs:
- Step 2: Use `runpodctl pod create` instead of curl POST
- Step 3: Use `runpodctl ssh info` instead of curl GET
- Step 4: Use `runpodctl pod stop/delete` instead of curl

Also mention `runpodctl doctor` for SSH key setup.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.

2 participants