-
Notifications
You must be signed in to change notification settings - Fork 32
docs: Update runpodctl documentation for v2.0 #563
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 5 commits
fea96d9
9827d75
dd79678
2a23280
6a6d2c1
79e8158
cd5a6d5
d64d35b
3aa73dc
08fb45d
ce55c39
6b0609c
4e6359e
012fd74
915b74d
91290df
4792e17
32b8ed1
3694fda
8d40731
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,108 @@ | ||
| --- | ||
| title: "billing" | ||
| sidebarTitle: "billing" | ||
| --- | ||
|
|
||
| View billing history for Pods, Serverless endpoints, and network volumes. | ||
|
|
||
| <RequestExample> | ||
| ```bash Command | ||
| runpodctl billing <subcommand> [flags] | ||
| ``` | ||
| </RequestExample> | ||
|
|
||
| ## Subcommands | ||
|
|
||
| ### View Pod billing | ||
|
|
||
| View billing history for Pods: | ||
|
|
||
| ```bash | ||
| runpodctl billing pods | ||
| ``` | ||
|
|
||
| #### Pod billing flags | ||
|
|
||
| <ResponseField name="--bucket-size" type="string" default="day"> | ||
| Time bucket size (`hour`, `day`, `week`, `month`, `year`). | ||
| </ResponseField> | ||
|
|
||
| <ResponseField name="--start-time" type="string"> | ||
| Start time in RFC3339 format (e.g., `2024-01-01T00:00:00Z`). | ||
| </ResponseField> | ||
|
|
||
| <ResponseField name="--end-time" type="string"> | ||
| End time in RFC3339 format. | ||
| </ResponseField> | ||
|
|
||
| <ResponseField name="--grouping" type="string" default="gpuId"> | ||
| Group results by `podId` or `gpuId`. | ||
| </ResponseField> | ||
|
|
||
| <ResponseField name="--pod-id" type="string"> | ||
| Filter by specific Pod ID. | ||
| </ResponseField> | ||
|
|
||
| <ResponseField name="--gpu-id" type="string"> | ||
| Filter by specific GPU type. | ||
| </ResponseField> | ||
|
|
||
| ### View Serverless billing | ||
|
|
||
| View billing history for Serverless endpoints: | ||
|
|
||
| ```bash | ||
| runpodctl billing serverless | ||
| ``` | ||
|
|
||
| #### Serverless billing flags | ||
|
|
||
| <ResponseField name="--bucket-size" type="string" default="day"> | ||
| Time bucket size (`hour`, `day`, `week`, `month`, `year`). | ||
| </ResponseField> | ||
|
|
||
| <ResponseField name="--start-time" type="string"> | ||
| Start time in RFC3339 format. | ||
| </ResponseField> | ||
|
|
||
| <ResponseField name="--end-time" type="string"> | ||
| End time in RFC3339 format. | ||
| </ResponseField> | ||
|
|
||
| <ResponseField name="--grouping" type="string" default="endpointId"> | ||
| Group results by `endpointId`, `podId`, or `gpuId`. | ||
| </ResponseField> | ||
|
|
||
| <ResponseField name="--endpoint-id" type="string"> | ||
| Filter by specific endpoint ID. | ||
| </ResponseField> | ||
|
|
||
| <ResponseField name="--gpu-id" type="string"> | ||
| Filter by specific GPU type. | ||
| </ResponseField> | ||
|
|
||
| ### View network volume billing | ||
|
|
||
| View billing history for network volumes: | ||
|
|
||
| ```bash | ||
| runpodctl billing network-volume | ||
| ``` | ||
|
|
||
| #### Network volume billing flags | ||
|
|
||
| <ResponseField name="--bucket-size" type="string" default="day"> | ||
| Time bucket size (`hour`, `day`, `week`, `month`, `year`). | ||
| </ResponseField> | ||
|
|
||
| <ResponseField name="--start-time" type="string"> | ||
| Start time in RFC3339 format. | ||
| </ResponseField> | ||
|
|
||
| <ResponseField name="--end-time" type="string"> | ||
| End time in RFC3339 format. | ||
| </ResponseField> | ||
|
|
||
| ## Related commands | ||
|
|
||
| - [`runpodctl user`](/runpodctl/reference/runpodctl-user) |
Uh oh!
There was an error while loading. Please reload this page.