- Overview
- Getting Started Guide
- UserGuide
-
References
-
ABEJA Platform CLI
- CONFIG COMMAND
- DATALAKE COMMAND
- DATASET COMMAND
- TRAINING COMMAND
-
MODEL COMMAND
- check-endpoint-image
- check-endpoint-json
- create-deployment
- create-endpoint
- create-model
- create-service
- create-trigger
- create-version
- delete-deployment
- delete-endpoint
- delete-model
- delete-service
- delete-version
- describe-deployments
- describe-endpoints
- describe-models
- describe-service-logs
- describe-services
- describe-versions
- download-versions
- run-local
- run-local-server
- start-service
- stop-service
- submit-run
- update-endpoint
- startapp command
-
ABEJA Platform CLI
- FAQ
- Appendix
update-endpoint
Description
Update the service endpoint.
you can replace the service associated with the old version with the service associated with the new version. It can be easily replaced and rolled back easily. (Blue Green Deployment)
Synopsis
$ abeja model update-endpoint [--help]
Usage: abeja model update-endpoint [OPTIONS]
Update endpoint
Options:
-d, --deployment_id TEXT Deployment identifier [required]
-s, --service_id TEXT Service identifier [required]
-e, --endpoint_id TEXT Endpoint identifier [required]
--help Show this message and exit.
Options
-d
, --deployment_id
Specify deployment_id when create-deployment is created.
-s
, --service_id
Specify service_id when create-service is created.
-e
, --endpoint_id
Specify endpoint_id when create-endpoint is created.
Example
Update endpoint
Command:
$ abeja model update-endpoint --deployment_id 3456789012345 --service_id ser-4567890123456 --endpoint_id pnt-5678901234567
Output:
{
"message": "pnt-5678901234567 updated"
}