Alias
You can usesls as a shorthand for serverless:
Subcommands
List endpoints
List all your Serverless endpoints:List flags
bool
Include template information in the output.
bool
Include workers information in the output.
Get endpoint details
Get detailed information about a specific endpoint:Get flags
bool
Include template information in the output.
bool
Include workers information in the output.
Create an endpoint
Create a new Serverless endpoint from a template or from a Hub repo:--hub-id, GPU IDs and container disk size are automatically pulled from the Hub release config. You can override the GPU type with --gpu-id.
Serverless templates vs Pod templates: Serverless endpoints require a Serverless-specific template. Pod templates (like
runpod-torch-v21) cannot be used because they include configuration, which Serverless does not support. When creating a template with runpodctl template create, use the --serverless flag to create a Serverless template.Each Serverless template can only be bound to one endpoint at a time. To create multiple endpoints with the same configuration, create separate templates for each.Create flags
string
Name for the endpoint.
string
Template ID to use (required if
--hub-id is not specified). Use runpodctl template search to find templates.string
Hub listing ID to deploy from (alternative to
--template-id). Use runpodctl hub search to find repos.string
GPU type for workers. Use
runpodctl gpu list to see available GPUs.int
default:"1"
Number of GPUs per worker.
string
default:"GPU"
Compute type (
GPU or CPU).int
default:"0"
Minimum number of workers.
int
default:"3"
Maximum number of workers.
string
Comma-separated list of preferred datacenter IDs. Use
runpodctl datacenter list to see available datacenters.string
Network volume ID to attach. Use
runpodctl network-volume list to see available network volumes.Update an endpoint
Update endpoint configuration:Update flags
string
New name for the endpoint.
int
New minimum number of workers.
int
New maximum number of workers.
int
New idle timeout in seconds.
string
Scaler type (
QUEUE_DELAY or REQUEST_COUNT).int
Scaler value.