Run에 속한 Node 목록 조회
- Print
- PDF
Run에 속한 Node 목록 조회
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
The latest service changes have not yet been reflected in this content. We will update the content as soon as possible. Please refer to the Korean version for information on the latest updates.
Run에 속한 Node 목록을 조회합니다.
GET https://nsml.apigw.ntruss.com/nsml/v1/projects/{projectId}/runs/{runName}/nodes?page=1&pageSize=10
요청
요청 파라미터
필드명 | 타입 | 설명 | 비고 |
---|---|---|---|
projectId | String | Project ID | projectId, 프로젝트 생성시 자동 생성되는 unique한 값 |
runName | String | Run 이름 | 숫자값 - auto increment |
page | Integer | page index | default: 1 |
pageSize | Integer | page size | default: 10 |
응답
필드명 | 타입 | 설명 | 비고 |
---|---|---|---|
nodes[].nodeId | String | Node ID | |
nodes[].projectId | String | Project ID | |
nodes[].projectName | String | Project 이름 | |
nodes[].status | String | Node 상태 | |
nodes[].resourceType | String | gpu 서버의 영어 이름 | |
nodes[].containerImage | String | container Image | |
nodes[].rank | Integer | rank | run 내의 node 순서 |
nodes[].exitCode | Integer | Exit Code | |
nodes[].host | String | ssh 접속 host IP | |
nodes[].sshPort | Integer | ssh 접속 port | |
nodes[].tcpPorts | Integer[] | tcp 접속 port | |
nodes[].command | String | 명령 | |
nodes[].createTime | String | 생성일자 | |
nodes[].updateTime | String | 업데이트 일자 | |
totalCount | Integer | Run에 속한 Node 총 개수 |
응답 Status
HTTP Status | Desc |
---|---|
200 | OK |
400 | Bad Request |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
406 | Not Accepted |
500 | Internal Server Error |
예시
요청 예시
GET /nsml/v1/projects/3zud6nptrh32jetgzfn/runs/1/nodes
Host: nsml.apigw.ntruss.com
accept: application/json
x-ncp-iam-access-key: {Access key}
x-ncp-apigw-signature-v2: {API GW signature}
x-ncp-apigw-timestamp: {timestamp}
x-ncp-apigw-api-key: {apigw-api-key}
응답 예시
{
"nodes": [
{
"nodeId": "33j698aw01ahxxy30pv",
"projectId": "3zud6nptrh32jetgzfn",
"projectName": "TEST",
"runName": "1",
"state": "NODE_STATE_CANCELLED",
"resourceType": "Notebook(4vCPU, 16GB Mem)",
"containerImage": "nvcr.io/nvidia/mxnet:21.02-py3",
"rank": 0,
"exitCode": -1,
"host": "175.106.108.127",
"sshPort": 15001,
"tcpPorts": [
15002,
15003
],
"command": "",
"createTime": "2023-02-27T08:29:04",
"updateTime": "2023-02-28T05:29:34"
}
],
"totalCount": 1
}
Was this article helpful?