vessl service --help
to view list of commands, or vessl service [COMMAND] --help
to view individual command instructions.
When required options are not provided by the user, it will automatically enter interactive mode (and prompt user to select from given options)
Option | Description |
---|---|
--service | Name of service. |
-d , --detail | Whether to show details about each revision. |
Option | Description |
---|---|
-f , --file | Path to YAML file for creating service. |
--from-hub | Model key to be found in VESSL Hub. This will automatically create a revision, without having to directly provide a YAML file. |
-s , --service-name | Name of service, either from existing or new service. |
-l , --launch | Whether to launch the service after creating. |
-a , --set-current-active | Whether to set the current service as active, Steps: 1. launches the revision 2. enables the endpoint 3. stops other revisions |
--port | If the cluster uses NodePort custom endpoint type, this option defines the port to use for the service. |
--subdomain | If the cluster uses Subdomain custom endpoint type, this option defines the subdomain to use for the service. |
--force | Whether to force the creation of service with aborting ongoing rollout if exists. |
--serverless | Whether to set service to serverless mode. |
Option | Description |
---|---|
--service | Name of service. |
-n , --number | Number of revision. |
Option | Description |
---|---|
--service | Name of service. |
-n , --number | Number of revision. |
--min | Minimum number of replicas. |
--max | Maximum number of replicas. |
--target | Target resource utilization. |
--metric | Metric for autoscaling: ‘cpu’, ‘nvidia.com/gpu’, ‘memory’. |
Option | Description |
---|---|
--service | Name of service. |
-n , --number | Number of revision. You can pass multiple. |
-w , --weight | Percentage of traffic that should be directed to this revision. The sum of traffics should be exactly 100. |
Option | Description |
---|---|
-k , --api-key | Asks you the organization secret to use for API key of your service. |
Option | Description |
---|---|
--service | Name of service. |
-n , --number | Number of revision. You can pass multiple. |
-w , --weight | Percentage of traffic that should be directed to this revision. The sum of traffics should be exactly 100. |
Option | Description |
---|---|
--service | Name of service. |
Option | Description |
---|---|
--service | Name of service. |
-n , --number | Number of revision. |
Option | Description |
---|---|
--service | Name of service. |
-n , --number | Number of revision. |
Option | Description |
---|---|
--service | Name of service. |