cdswctl command reference
You can manage your Cloudera AI Workbench cluster with the CLI client
(cdswctl
) that exists within the Cloudera AI Workbench.
Running cdswctl without any arguments prints a brief description of each
command.
Command | Description and usage |
---|---|
cdswctl login |
It enables you to log into the model CLI client. |
cdswctl projects list |
It lists the projects. |
cdswctl models create |
It creates a model with the specified parameters. |
cdswctl models list |
It lists all
models. You can refine the search by specifying the |
cdswctl models listBuild |
It lists the builds for a
model. You can monitor the status of the build by specifying the |
cdswctl models listDeployments |
It list the deployments for a
model. You can refine the search by specifying the Use the |
cdswctl models deploy |
It deploys a model with the specified parameters. |
cdswctl models listReplicas |
It enables you to view the list of model
replicas. You also need this information to obtain replica logs. |
cdswctl models getReplicaLogs |
It enables you to view the logs for a model replica. |
cdswctl models restart |
It restarts a model. Usage:
Note: Running this command does not change the resources if you
previously ran the |
cdswctl models update | It changes the name, description, or visibility of the model. To change a model’s resources, use the cdswctl models deploy command |
cdswctl models delete | It deletes a model. Usage:
|
cdswctl runtime-addons list | It lists Runtime Addons. |