az hdinsight autoscale

HDInsight 클러스터의 자동 크기 조정 구성을 관리 합니다.

명령

az hdinsight autoscale condition

일정 기반 자동 크기 조정을 사용하도록 설정한 HDInsight 클러스터의 일정 조건을 관리합니다.

az hdinsight autoscale condition create

새 일정 조건을 추가합니다.

az hdinsight autoscale condition delete

일정 조건을 삭제합니다.

az hdinsight autoscale condition list

모든 일정 조건을 나열합니다.

az hdinsight autoscale condition update

일정 조건을 업데이트합니다.

az hdinsight autoscale condition wait

작업이 완료될 때까지 CLI를 대기 상태로 하십시오.

az hdinsight autoscale create

실행 중인 클러스터에 자동 크기 조정을 사용 하도록 설정 합니다.

az hdinsight autoscale delete

실행 중인 클러스터에 대해 자동 크기 조정을 사용 하지 않도록 설정 합니다.

az hdinsight autoscale list-timezones

일정 기반 자동 크기 조정을 사용 하는 경우 사용 가능한 표준 시간대 이름을 나열 합니다.

az hdinsight autoscale show

지정 된 클러스터의 자동 크기 조정 구성을 가져옵니다.

az hdinsight autoscale update

자동 크기 조정 구성을 업데이트 합니다.

az hdinsight autoscale wait

작업이 완료 될 때까지 CLI를 대기 상태로 전환 합니다.

az hdinsight autoscale create

실행 중인 클러스터에 자동 크기 조정을 사용 하도록 설정 합니다.

az hdinsight autoscale create --cluster-name
                              --resource-group
                              --type {Load, Schedule}
                              [--days {Friday, Monday, Saturday, Sunday, Thursday, Tuesday, Wednesday}]
                              [--max-workernode-count]
                              [--min-workernode-count]
                              [--no-wait]
                              [--subscription]
                              [--time]
                              [--timezone]
                              [--workernode-count]
                              [--yes]

예제

실행 중인 클러스터에 대해 부하 기반 자동 크기 조정을 사용 하도록 설정 합니다.

az hdinsight autoscale create --resource-group MyResourceGroup --cluster-name MyCluster --type Load \
--min-workernode-count 3 --max-workernode-count 5

실행 중인 클러스터에 대해 일정 기반 자동 크기 조정을 사용 하도록 설정 합니다.

az hdinsight autoscale create --resource-group MyResourceGroup --cluster-name MyCluster --type Schedule \
--timezone "Pacific Standard Time" --days Monday Tuesday --time 09:00 --workernode-count 5

필수 매개 변수

--cluster-name

클러스터의 이름입니다.

--resource-group -g

리소스 그룹의 이름입니다. az configure --defaults group=<name>을 사용하여 기본 그룹을 구성할 수 있습니다.

--type

자동 크기 조정 형식입니다.

허용되는 값: Load, Schedule

선택적 매개 변수

--days

공백으로 구분 된 일정 날짜 목록입니다.

허용되는 값: Friday, Monday, Saturday, Sunday, Thursday, Tuesday, Wednesday
--max-workernode-count

부하 기반 atuoscale의 최대 작업자 노드 수입니다.

--min-workernode-count

부하 기반 atuoscale의 최소 작업자 노드 수입니다.

--no-wait

장기 실행 작업이 완료될 때까지 기다리지 마세요.

--subscription

구독의 이름 또는 ID입니다. 을 사용 하 여 기본 구독을 구성할 수 있습니다 az account set -s NAME_OR_ID .

--time

Xx: xx 형식의 24 시간 (일)입니다.

--timezone

일정 자동 크기 조정 유형의 표준 시간대입니다. 의 값 az hdinsight autoscale list-timezones 입니다.

--workernode-count

Schedule 노드 수입니다.

--yes -y

확인을 묻는 메시지를 표시하지 마세요.

az hdinsight autoscale delete

실행 중인 클러스터에 대해 자동 크기 조정을 사용 하지 않도록 설정 합니다.

az hdinsight autoscale delete --cluster-name
                              --resource-group
                              [--no-wait]
                              [--subscription]
                              [--yes]

예제

실행 중인 클러스터에 대해 자동 크기 조정을 사용 하지 않도록 설정 합니다.

az hdinsight autoscale delete --resource-group MyResourceGroup --cluster-name MyCluster

필수 매개 변수

--cluster-name

클러스터의 이름입니다.

--resource-group -g

리소스 그룹의 이름입니다. az configure --defaults group=<name>을 사용하여 기본 그룹을 구성할 수 있습니다.

선택적 매개 변수

--no-wait

장기 실행 작업이 완료될 때까지 기다리지 마세요.

--subscription

구독의 이름 또는 ID입니다. 을 사용 하 여 기본 구독을 구성할 수 있습니다 az account set -s NAME_OR_ID .

--yes -y

확인을 묻는 메시지를 표시하지 마세요.

az hdinsight autoscale list-timezones

일정 기반 자동 크기 조정을 사용 하는 경우 사용 가능한 표준 시간대 이름을 나열 합니다.

az hdinsight autoscale list-timezones [--subscription]

예제

사용 가능한 표준 시간대 이름을 나열 합니다.

az hdinsight autoscale list-timezones

선택적 매개 변수

--subscription

구독의 이름 또는 ID입니다. 을 사용 하 여 기본 구독을 구성할 수 있습니다 az account set -s NAME_OR_ID .

az hdinsight autoscale show

지정 된 클러스터의 자동 크기 조정 구성을 가져옵니다.

az hdinsight autoscale show --cluster-name
                            --resource-group
                            [--query-examples]
                            [--subscription]

예제

자동 크기 조정 구성을 가져옵니다.

az hdinsight autoscale show --resource-group MyResourceGroup --cluster-name MyCluster

필수 매개 변수

--cluster-name

클러스터의 이름입니다.

--resource-group -g

리소스 그룹의 이름입니다. az configure --defaults group=<name>을 사용하여 기본 그룹을 구성할 수 있습니다.

선택적 매개 변수

--query-examples

JMESPath 문자열을 권장 합니다. 쿼리 중 하나를 복사 하 여 결과를 볼 수 있도록 큰따옴표 내에서--query 매개 변수 뒤에 붙여 넣을 수 있습니다. 이러한 주요 단어를 기준으로 제안을 제공할 수 있도록 하나 이상의 위치 키워드를 추가할 수 있습니다.

--subscription

구독의 이름 또는 ID입니다. 을 사용 하 여 기본 구독을 구성할 수 있습니다 az account set -s NAME_OR_ID .

az hdinsight autoscale update

자동 크기 조정 구성을 업데이트 합니다.

az hdinsight autoscale update --cluster-name
                              --resource-group
                              [--max-workernode-count]
                              [--min-workernode-count]
                              [--no-wait]
                              [--subscription]
                              [--timezone]

예제

부하 기반 자동 크기 조정 관련 구성을 업데이트 합니다.

az hdinsight autoscale update --resource-group MyResourceGroup --cluster-name MyCluster --max-workernode-count 5

일정 기반 자동 크기 조정 관련 구성을 업데이트 합니다.

az hdinsight autoscale update --resource-group MyResourceGroup --cluster-name MyCluster --timezone "China Standard Time"

필수 매개 변수

--cluster-name

클러스터의 이름입니다.

--resource-group -g

리소스 그룹의 이름입니다. az configure --defaults group=<name>을 사용하여 기본 그룹을 구성할 수 있습니다.

선택적 매개 변수

--max-workernode-count

부하 기반 atuoscale의 최대 작업자 노드 수입니다.

--min-workernode-count

부하 기반 atuoscale의 최소 작업자 노드 수입니다.

--no-wait

장기 실행 작업이 완료될 때까지 기다리지 마세요.

--subscription

구독의 이름 또는 ID입니다. 을 사용 하 여 기본 구독을 구성할 수 있습니다 az account set -s NAME_OR_ID .

--timezone

일정 자동 크기 조정 유형의 표준 시간대입니다. 의 값 az hdinsight autoscale list-timezones 입니다.

az hdinsight autoscale wait

작업이 완료 될 때까지 CLI를 대기 상태로 전환 합니다.

az hdinsight autoscale wait --name
                            --resource-group
                            [--created]
                            [--custom]
                            [--deleted]
                            [--exists]
                            [--interval]
                            [--subscription]
                            [--timeout]
                            [--updated]

필수 매개 변수

--name -n

클러스터의 이름입니다.

--resource-group -g

리소스 그룹의 이름입니다. az configure --defaults group=<name>을 사용하여 기본 그룹을 구성할 수 있습니다.

선택적 매개 변수

--created

' 성공 '에서 ' provisioningState '를 사용 하 여 만들 때까지 기다립니다.

--custom

조건이 사용자 지정 JMESPath 쿼리를 충족할 때까지 기다립니다. 예를 들어 provisioningState! = ' InProgress ', instanceView. 상태 [? code = = ' PowerState/running '].

--deleted

삭제 될 때까지 기다립니다.

--exists

리소스가 있을 때까지 기다립니다.

--interval

폴링 간격 (초)입니다.

기본값: 30
--subscription

구독의 이름 또는 ID입니다. 을 사용 하 여 기본 구독을 구성할 수 있습니다 az account set -s NAME_OR_ID .

--timeout

최대 대기 시간 (초)입니다.

기본값: 3600
--updated

' 성공 '으로 provisioningState으로 업데이트할 때까지 기다립니다.