File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed
docs/source/user_guide/model_registration Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,13 @@ Below is an example of deploying model on container runtime using ``ModelDeploym
114
114
.with_health_check_port(5000)
115
115
.with_env({"key":"value"})
116
116
.with_deployment_mode("HTTPS_ONLY")
117
- .with_model_uri("<MODEL_URI>")
117
+ .with_model_uri("<path_to_artifact>")
118
+ .with_auth({"auth_key":"auth_value"})
119
+ .with_region("us-ashburn-1")
120
+ .with_overwrite_existing_artifact(True)
121
+ .with_remove_existing_artifact(True)
122
+ .with_timeout(100)
123
+ .with_bucket_uri("oci://<bucket>@<namespace>/<prefix>")
118
124
)
119
125
120
126
# configure model deployment
@@ -169,14 +175,21 @@ Below is an example of deploying model on container runtime using ``ModelDeploym
169
175
kind: runtime
170
176
type: container
171
177
spec:
172
- modelUri: <MODEL_URI >
178
+ modelUri: <path_to_artifact >
173
179
image: iad.ocir.io/<namespace>/<image>:<tag>
174
180
imageDigest: <IMAGE_DIGEST>
175
181
entrypoint: ["python","/opt/ds/model/deployed_model/api.py"]
176
182
serverPort: 5000
177
183
healthCheckPort: 5000
178
184
env:
179
185
WEB_CONCURRENCY: "10"
186
+ auth:
187
+ auth_key: auth_value
188
+ region: us-ashburn-1
189
+ overwriteExistingArtifact: True
190
+ removeExistingArtifact: True
191
+ timeout: 100
192
+ bucketUri: oci://<bucket>@<namespace>/<prefix>
180
193
deploymentMode: HTTPS_ONLY
181
194
"""
182
195
You can’t perform that action at this time.
0 commit comments