az aksarc nodepool

참고 항목

이 참조는 Azure CLI(버전 2.32.0 이상)에 대한 aksarc 확장의 일부입니다. az aksarc nodepool 명령을 처음 실행할 때 확장이 자동으로 설치됩니다. 확장 프로그램에 대해 자세히 알아보세요.

프로비전된 클러스터에서 nodepool을 관리합니다.

명령

Name Description 형식 상태
az aksarc nodepool add

프로비전된 클러스터에 nodepool을 추가합니다.

내선 번호 GA
az aksarc nodepool delete

프로비전된 클러스터에서 nodepool을 삭제합니다.

내선 번호 GA
az aksarc nodepool list

프로비전된 클러스터의 모든 노드 풀을 나열합니다.

내선 번호 GA
az aksarc nodepool scale

프로비전된 클러스터에서 nodepool의 크기를 조정합니다.

내선 번호 GA
az aksarc nodepool show

프로비전된 클러스터의 nodepool을 가져옵니다.

내선 번호 GA
az aksarc nodepool update

프로비전된 클러스터에서 nodepool을 업데이트합니다.

내선 번호 GA

az aksarc nodepool add

프로비전된 클러스터에 nodepool을 추가합니다.

az aksarc nodepool add --cluster-name
                       --name
                       --resource-group
                       [--enable-cluster-autoscaler]
                       [--labels]
                       [--max-count]
                       [--max-pods]
                       [--min-count]
                       [--no-wait]
                       [--node-count]
                       [--node-taints]
                       [--node-vm-size]
                       [--os-sku]
                       [--os-type]
                       [--tags]

예제

AddNodepool

az aksarc nodepool add --name "samplenodepool" --cluster-name "samplecluster" --resource-group "sample-rg"

필수 매개 변수

--cluster-name

프로비전된 클러스터의 이름입니다.

--name -n

nodepool의 이름입니다.

--resource-group -g

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

선택적 매개 변수

--enable-cluster-autoscaler -e

프로비전된 클러스터에 대해 클러스터 자동 크기 조정기를 사용하도록 설정합니다.

기본값: False
--labels

공백으로 구분된 레이블: key[=value] [key[=value] ...].

--max-count

자동 크기 조정을 위한 최대 노드 수입니다.

--max-pods -m

노드에서 실행할 수 있는 최대 Pod 수입니다.

--min-count

자동 크기 조정을 위한 최소 노드 수입니다.

--no-wait

장기 실행 작업이 완료되기를 기다리지 마세요.

기본값: False
--node-count -c

nodepool에서 만들 노드 수입니다.

--node-taints

nodepool taint의 쉼표로 구분된 목록입니다.

--node-vm-size

nodepool에 있는 노드의 VM 크기입니다.

--os-sku

노드 풀의 노드에 대한 OS Sku입니다. 옵션: "CBLMariner" | "Windows2019" | "Windows2022".

--os-type

nodepool의 노드에 대한 OS 유형입니다. 옵션: "Linux" | "Windows".

--tags

공백으로 구분된 태그: key[=value] [key[=value] ...]. ""를 사용하여 기존 태그를 지웁니다.

전역 매개 변수
--debug

로깅의 자세한 정도를 늘려 모든 디버그 로그를 표시합니다.

--help -h

이 도움말 메시지를 표시하고 종료합니다.

--only-show-errors

경고를 표시하지 않고 오류만 표시합니다.

--output -o

출력 형식입니다.

허용되는 값: json, jsonc, none, table, tsv, yaml, yamlc
기본값: json
--query

JMESPath 쿼리 문자열입니다. 자세한 내용과 예제는 http://jmespath.org/를 참조하세요.

--subscription

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

--verbose

로깅의 자세한 정도를 늘립니다. 전체 디버그 로그를 표시하려면 --debug를 사용합니다.

az aksarc nodepool delete

프로비전된 클러스터에서 nodepool을 삭제합니다.

az aksarc nodepool delete --cluster-name
                          --name
                          --resource-group
                          [--no-wait]
                          [--yes]

예제

DeleteNodepool

az aksarc nodepool delete --name "samplenodepool" --cluster-name "samplecluster" --resource-group "sample-rg"

필수 매개 변수

--cluster-name

프로비전된 클러스터의 이름입니다.

--name -n

nodepool의 이름입니다.

--resource-group -g

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

선택적 매개 변수

--no-wait

장기 실행 작업이 완료되기를 기다리지 마세요.

기본값: False
--yes -y

확인 메시지를 표시하지 않습니다.

기본값: False
전역 매개 변수
--debug

로깅의 자세한 정도를 늘려 모든 디버그 로그를 표시합니다.

--help -h

이 도움말 메시지를 표시하고 종료합니다.

--only-show-errors

경고를 표시하지 않고 오류만 표시합니다.

--output -o

출력 형식입니다.

허용되는 값: json, jsonc, none, table, tsv, yaml, yamlc
기본값: json
--query

JMESPath 쿼리 문자열입니다. 자세한 내용과 예제는 http://jmespath.org/를 참조하세요.

--subscription

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

--verbose

로깅의 자세한 정도를 늘립니다. 전체 디버그 로그를 표시하려면 --debug를 사용합니다.

az aksarc nodepool list

프로비전된 클러스터의 모든 노드 풀을 나열합니다.

az aksarc nodepool list --cluster-name
                        --resource-group

예제

ListNodepool

az aksarc nodepool list --cluster-name "samplecluster" --resource-group "sample-rg"

필수 매개 변수

--cluster-name

프로비전된 클러스터의 이름입니다.

--resource-group -g

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

전역 매개 변수
--debug

로깅의 자세한 정도를 늘려 모든 디버그 로그를 표시합니다.

--help -h

이 도움말 메시지를 표시하고 종료합니다.

--only-show-errors

경고를 표시하지 않고 오류만 표시합니다.

--output -o

출력 형식입니다.

허용되는 값: json, jsonc, none, table, tsv, yaml, yamlc
기본값: json
--query

JMESPath 쿼리 문자열입니다. 자세한 내용과 예제는 http://jmespath.org/를 참조하세요.

--subscription

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

--verbose

로깅의 자세한 정도를 늘립니다. 전체 디버그 로그를 표시하려면 --debug를 사용합니다.

az aksarc nodepool scale

프로비전된 클러스터에서 nodepool의 크기를 조정합니다.

az aksarc nodepool scale --cluster-name
                         --name
                         --resource-group
                         [--no-wait]
                         [--node-count]
                         [--node-vm-size]
                         [--yes]

예제

ScaleNodePool

az aksarc nodepool scale --name "samplenodepool" --cluster-name "samplecluster" --resource-group "sample-rg" --node-count 3 --node-vm-size "Standard_A2_v2"

필수 매개 변수

--cluster-name

프로비전된 클러스터의 이름입니다.

--name -n

nodepool의 이름입니다.

--resource-group -g

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

선택적 매개 변수

--no-wait

장기 실행 작업이 완료되기를 기다리지 마세요.

기본값: False
--node-count -c

nodepool에서 확장할 노드 수입니다.

--node-vm-size

nodepool에 있는 노드의 VM 크기입니다.

--yes -y

확인 메시지를 표시하지 않습니다.

기본값: False
전역 매개 변수
--debug

로깅의 자세한 정도를 늘려 모든 디버그 로그를 표시합니다.

--help -h

이 도움말 메시지를 표시하고 종료합니다.

--only-show-errors

경고를 표시하지 않고 오류만 표시합니다.

--output -o

출력 형식입니다.

허용되는 값: json, jsonc, none, table, tsv, yaml, yamlc
기본값: json
--query

JMESPath 쿼리 문자열입니다. 자세한 내용과 예제는 http://jmespath.org/를 참조하세요.

--subscription

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

--verbose

로깅의 자세한 정도를 늘립니다. 전체 디버그 로그를 표시하려면 --debug를 사용합니다.

az aksarc nodepool show

프로비전된 클러스터의 nodepool을 가져옵니다.

az aksarc nodepool show --cluster-name
                        --name
                        --resource-group

예제

GetNodepool

az aksarc nodepool show --name "samplenodepool" --cluster-name "samplecluster" --resource-group "sample-rg"

필수 매개 변수

--cluster-name

프로비전된 클러스터의 이름입니다.

--name -n

nodepool의 이름입니다.

--resource-group -g

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

전역 매개 변수
--debug

로깅의 자세한 정도를 늘려 모든 디버그 로그를 표시합니다.

--help -h

이 도움말 메시지를 표시하고 종료합니다.

--only-show-errors

경고를 표시하지 않고 오류만 표시합니다.

--output -o

출력 형식입니다.

허용되는 값: json, jsonc, none, table, tsv, yaml, yamlc
기본값: json
--query

JMESPath 쿼리 문자열입니다. 자세한 내용과 예제는 http://jmespath.org/를 참조하세요.

--subscription

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

--verbose

로깅의 자세한 정도를 늘립니다. 전체 디버그 로그를 표시하려면 --debug를 사용합니다.

az aksarc nodepool update

프로비전된 클러스터에서 nodepool을 업데이트합니다.

az aksarc nodepool update --cluster-name
                          --name
                          --resource-group
                          [--disable-cluster-autoscaler]
                          [--enable-cluster-autoscaler]
                          [--max-count]
                          [--min-count]
                          [--no-wait]
                          [--update-cluster-autoscaler]

예제

UpdateNodepool

az aksarc nodepool update --name "samplenodepool" --cluster-name "samplecluster" --resource-group "sample-rg" --disable-cluster-autoscaler

필수 매개 변수

--cluster-name

프로비전된 클러스터의 이름입니다.

--name -n

nodepool의 이름입니다.

--resource-group -g

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

선택적 매개 변수

--disable-cluster-autoscaler -d

프로비전된 클러스터에 대해 클러스터 자동 크기 조정기를 사용하지 않도록 설정합니다.

기본값: False
--enable-cluster-autoscaler -e

프로비전된 클러스터에 대해 클러스터 자동 크기 조정기를 사용하도록 설정합니다.

기본값: False
--max-count

자동 크기 조정을 위한 최대 노드 수입니다.

--min-count

자동 크기 조정을 위한 최소 노드 수입니다.

--no-wait

장기 실행 작업이 완료되기를 기다리지 마세요.

기본값: False
--update-cluster-autoscaler -u

프로비전된 클러스터에 대한 클러스터 자동 크기 조정기를 업데이트합니다.

기본값: False
전역 매개 변수
--debug

로깅의 자세한 정도를 늘려 모든 디버그 로그를 표시합니다.

--help -h

이 도움말 메시지를 표시하고 종료합니다.

--only-show-errors

경고를 표시하지 않고 오류만 표시합니다.

--output -o

출력 형식입니다.

허용되는 값: json, jsonc, none, table, tsv, yaml, yamlc
기본값: json
--query

JMESPath 쿼리 문자열입니다. 자세한 내용과 예제는 http://jmespath.org/를 참조하세요.

--subscription

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

--verbose

로깅의 자세한 정도를 늘립니다. 전체 디버그 로그를 표시하려면 --debug를 사용합니다.