Skip to content

Commit 000210a

Browse files
committed
Added docs.
1 parent af12698 commit 000210a

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

docs/source/user_guide/model_registration/model_deploy_byoc.rst

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,13 @@ Below is an example of deploying model on container runtime using ``ModelDeploym
114114
.with_health_check_port(5000)
115115
.with_env({"key":"value"})
116116
.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>")
118124
)
119125

120126
# configure model deployment
@@ -169,14 +175,21 @@ Below is an example of deploying model on container runtime using ``ModelDeploym
169175
kind: runtime
170176
type: container
171177
spec:
172-
modelUri: <MODEL_URI>
178+
modelUri: <path_to_artifact>
173179
image: iad.ocir.io/<namespace>/<image>:<tag>
174180
imageDigest: <IMAGE_DIGEST>
175181
entrypoint: ["python","/opt/ds/model/deployed_model/api.py"]
176182
serverPort: 5000
177183
healthCheckPort: 5000
178184
env:
179185
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>
180193
deploymentMode: HTTPS_ONLY
181194
"""
182195

0 commit comments

Comments
 (0)