autoscaling-groupprivate
Validated on 14 Dec 2023 • Last edited on 13 Feb 2024
Manage your autoscaling groups. Autoscaling groups enable using the Kubernetes cluster-autoscaler to automatically scale your cluster. You can also autoscaling groups as a primitive for your own autoscaler.
Global Flags
These flags are available on all commands.
–log-level, -l (string, optional)
Enable debug logging. One of debug
, info
, warning
, error
, or critical
.
–json, -j (boolean, optional)
Output JSON
–api-key (string, optional)
A Paperspace public API Key used for authenticating requests
–help, -h (boolean, optional)
Show help for a command
pspace autoscaling-group create
Create an autoscaling group.
Flags
–fields, -F (string, optional)
The fields to include in the response.
–name, -n (string, required)
The name of the autoscaling group
–cluster-id (string, required)
The ID of the cluster
–machine-type (string, required)
The machine type for the autoscaling group
–network-id (string, required)
The ID of the network for the autoscaling group
–template-id (string, required)
The ID of the template for the autoscaling group
–startup-script-id (string, required)
The ID of the startup script for the autoscaling group
–max (number, required)
The maximum number of active machines in the autoscaling group
–min (number, required)
The minimum number of active machines in the autoscaling group
–provisioning-timeout (number, optional)
The timeout for provisioning machines in the autoscaling group, in minutes
Global Flags
These flags are available on all commands.
–log-level, -l (string, optional)
Enable debug logging. One of debug
, info
, warning
, error
, or critical
.
–json, -j (boolean, optional)
Output JSON
–api-key (string, optional)
A Paperspace public API Key used for authenticating requests
–help, -h (boolean, optional)
Show help for a command
pspace autoscaling-group get
Get an autoscaling group from a team.
Arguments
[argument] (string, required)
The ID of the autoscaling group to get
Flags
–fields, -F (string, optional)
The fields to include in the response.
Global Flags
These flags are available on all commands.
–log-level, -l (string, optional)
Enable debug logging. One of debug
, info
, warning
, error
, or critical
.
–json, -j (boolean, optional)
Output JSON
–api-key (string, optional)
A Paperspace public API Key used for authenticating requests
–help, -h (boolean, optional)
Show help for a command
pspace autoscaling-group list
List autoscaling groups in your team.
Pick a subset of fields to display:
pspace autoscaling-group list -F name -F dtCreated
Flags
–limit (number, optional)
The number of items to return in the next page.
–after (string, optional)
The cursor to fetch the next results from.
–orderBy (string, optional)
The field to order items by. One of dtCreated
.
–asc (boolean, optional)
Whether to order items ascending.
–desc (boolean, optional)
Whether to order items descending.
–fields, -F (string, optional)
The fields to include in the response.
–cluster-id (string, optional)
Filter by cluster ID.
–machine-type (string, optional)
Filter by machine type.
Global Flags
These flags are available on all commands.
–log-level, -l (string, optional)
Enable debug logging. One of debug
, info
, warning
, error
, or critical
.
–json, -j (boolean, optional)
Output JSON
–api-key (string, optional)
A Paperspace public API Key used for authenticating requests
–help, -h (boolean, optional)
Show help for a command
pspace autoscaling-group update
Update an autoscaling group.
Arguments
[argument] (string, required)
The ID of the autoscaling group to update
Flags
–fields, -F (string, optional)
The fields to include in the response.
–name, -n (string, optional)
The name of the autoscaling group
–cluster-id (string, optional)
The ID of the cluster
–machine-type (string, optional)
The machine type for the autoscaling group
–network-id (string, optional)
The ID of the network for the autoscaling group
–template-id (string, optional)
The ID of the template for the autoscaling group
–startup-script-id (string, optional)
The ID of the startup script for the autoscaling group
–max (number, optional)
The maximum number of active machines in the autoscaling group
–min (number, optional)
The minimum number of active machines in the autoscaling group
–provisioning-timeout (number, optional)
The timeout for provisioning machines in the autoscaling group, in minutes
–current (number, optional)
The desired number of active machines in the autoscaling group
Global Flags
These flags are available on all commands.
–log-level, -l (string, optional)
Enable debug logging. One of debug
, info
, warning
, error
, or critical
.
–json, -j (boolean, optional)
Output JSON
–api-key (string, optional)
A Paperspace public API Key used for authenticating requests
–help, -h (boolean, optional)
Show help for a command
pspace autoscaling-group delete
Delete an autoscaling group from a team.
Arguments
[argument] (string, required)
The ID of the autoscaling group to delete
Flags
[argument] (string, required)
The ID of the autoscaling group to update
Global Flags
These flags are available on all commands.
–log-level, -l (string, optional)
Enable debug logging. One of debug
, info
, warning
, error
, or critical
.
–json, -j (boolean, optional)
Output JSON
–api-key (string, optional)
A Paperspace public API Key used for authenticating requests
–help, -h (boolean, optional)
Show help for a command