Editing a Model Deployment
The options that can be edited (updated) depend on the lifecycleState of the Data Science model deployment.
Networking resources: Changing from default networking to custom networking is allowed. If custom networking is already selected, it can't be changed to default networking. You can update multiple options together, subject to the restrictions of the selected update mode.
When the model deployment is in an Active state, you can update the following option groups with zero downtime to the model deployment.
- Name or description: Change the name or description.
- Default configuration: Change or add custom environment variable keys and values.
- Models: Change the compartment, project, or model.
- Compute: Change the shape series, number of CPUs, or amount of memory for each CPU in gigabytes.
- Logging: Change the logging configuration for access and predict logs.
- Load Balancer or BYOC: Change the load balancing bandwidth or the bring your own container.
When the model deployment is in an Inactive state, you can change all the options at once.
Updates to multiple options are processed sequentially and can take longer than updating a single option. To monitor progress, use the work request.
Use the oci data-science model-deployment update command and required parameters to edit (update) a model deployment:
oci data-science model-deployment update --model-deployment-id <model-deployment-id> ... [OPTIONS]For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Use the UpdateModelDeployment operation to edit (update) a model deployment.