기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.
pcluster describe-cluster-instances
클러스터의 인스턴스를 설명하세요.
pcluster describe-cluster-instances [-h] --cluster-nameCLUSTER_NAME[--debug] [--next-tokenNEXT_TOKEN] [--node-type {HeadNode,ComputeNode,LoginNode}] [--queryQUERY] [--queue-nameQUEUE_NAME] [--regionREGION]
이름 지정된 인수
-h, --help-
pcluster describe-cluster-instances에 대한 도움말 텍스트를 표시합니다. --cluster-name, -nCLUSTER_NAME-
클러스터의 이름을 지정합니다.
--debug-
디버깅 로깅을 활성화합니다.
--next-tokenNEXT_TOKEN-
다음 결과 집합에 대한 토큰입니다.
--node-type {HeadNode,ComputeNode,LoginNode}-
나열할 노드 유형을 지정합니다. 지원되는 값은
HeadNode,ComputeNode및LoginNode입니다. 이 파라미터를 지정하지 않으면HeadNode,ComputeNode및LoginNode인스턴스가 설명됩니다. --queryQUERY-
출력에서 수행할 JMESPath 쿼리를 지정합니다.
--queue-nameQUEUE_NAME-
나열할 대기열의 이름을 지정합니다. 이 파라미터를 지정하지 않으면 모든 대기열의 인스턴스가 설명됩니다.
--region, -rREGION-
사용할 AWS 리전 를 지정합니다.
AWS_DEFAULT_REGION환경 변수,~/.aws/config파일[default]섹션의region설정 또는--region파라미터를 사용하여를 지정해야 AWS 리전 합니다.
AWS ParallelCluster 버전 3.1.4 사용 예제:
$pcluster describe-cluster-instances -ncluster-v3{ "instances": [ { "launchTime": "2022-07-12T17:22:21.000Z", "instanceId": "i-1234567890abcdef0", "publicIpAddress": "198.51.100.44", "instanceType": "t2.micro", "state": "running", "nodeType": "HeadNode", "privateIpAddress": "192.0.2.0.196" }, { "launchTime": "2022-07-12T17:37:42.000Z", "instanceId": "i-021345abcdef6789", "queueName": "queue1", "publicIpAddress": "198.51.100.44", "instanceType": "t2.micro", "state": "pending", "nodeType": "ComputeNode", "privateIpAddress": "192.0.2.0.196" }, { "launchTime": "2022-07-12T17:37:42.000Z", "instanceId": "i-021345abcdef6789", "poolName": "pool1", "publicIpAddress": "198.51.100.44", "instanceType": "t2.micro", "state": "pending", "nodeType": "loginNode", "privateIpAddress": "192.0.2.0.196" } ] }