Build and deployment commands for models
Models have separate parameters for builds and deployments. When a model is built, an image is created. Whereas, the deployment is the actual instance of the model. You can list model builds and deployment, and monitor their state using from model CLI client (cdswctl).
Listing a model
cdswctl models list
Monitoring the status of the model
cdswctl models listBuild --modelId <model_ID> --projectId <project_ID>
You can use the
--latestModelDeployment flag to get the build for
the latest deployment.
Listing a deployment
cdswctl models listDeployments --modelId <model_ID>
Checking the status of a deployment
cdswctl models listDeployments --statusSet=deployed