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 |
Enables you to log into the model CLI client |
cdswctl projects list |
Lists the projects |
cdswctl models create |
Creates a model with the specified parameters |
cdswctl models list |
Lists all
models You can refine the search by specifying the |
cdswctl models listBuild |
Lists the builds for a
model You can monitor the status of the build by specifying the |
cdswctl models listDeployments |
List the deployments for a
model You can refine the search by specifying the Use the |
cdswctl models deploy |
Deploys a model with the specified parameters |
cdswctl models listReplicas |
Enables you to view the list of model
replicas You also need this information to obtain replica logs |
cdswctl models getReplicaLogs |
Enables you to view the logs for a model replica |
cdswctl models restart |
Restarts a model Usage:
Note: Running this command does not change the resources if you
previously ran the |
cdswctl models update | Changes the name, description, or visibility of the model To change a model’s resources, use the cdswctl models deploy command |
cdswctl models delete | Deletes a model Usage:
|