cURL
curl --request POST \ --url https://external.aieev.cloud:5007/external/api/v1/endpoints/{endpoint_id}/scale \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "num_replicas": 3 } '
{ "endpoint_id": "51c910f7-ecde-4c6c-88f8-d8e37ca9d598", "previous_replicas": 1, "current_replicas": 3, "message": "Successfully scaled from 1 to 3 replicas" }
API Key를 Bearer 토큰으로 전달합니다. 프로젝트 개요의 API 키 메뉴에서 생성할 수 있습니다.
엔드포인트 고유 ID
변경할 레플리카 수 (1-100)
1 <= x <= 100
3
스케일링 결과
"51c910f7-ecde-4c6c-88f8-d8e37ca9d598"
변경 전 레플리카 수
1
변경 후 레플리카 수
결과 메시지
"Successfully scaled from 1 to 3 replicas"