az dnc orchestrator-instance-service

참고

이 참조는 Azure CLI에 대 한 dnc 확장의 일부 이며 버전 2.15.0 이상이 필요 합니다. 확장은 az dnc orchestrator-instance-service 명령을 처음 실행할 때 자동으로 설치 됩니다. 확장에 대해 자세히 알아보세요.

Dnc를 사용 하 여 orchestrator 인스턴스 서비스를 관리 합니다.

명령

az dnc orchestrator-instance-service create

Orchestrator 인스턴스를 만듭니다.

az dnc orchestrator-instance-service delete

Orchestrator 인스턴스를 삭제 합니다.

az dnc orchestrator-instance-service show

Orchestrator 인스턴스에 대 한 세부 정보를 가져옵니다.

az dnc orchestrator-instance-service wait

Dnc orchestrator-service의 조건이 충족 될 때까지 CLI를 대기 중 상태로 전환 합니다.

az dnc orchestrator-instance-service create

Orchestrator 인스턴스를 만듭니다.

az dnc orchestrator-instance-service create --resource-group
                                            --resource-name
                                            [--api-server-endpoint]
                                            [--cluster-root-ca]
                                            [--id]
                                            [--location]
                                            [--no-wait]
                                            [--orchestrator-app-id]
                                            [--orchestrator-tenant-id]
                                            [--priv-link-resource-id]
                                            [--tags]
                                            [--type {None, SystemAssigned}]

예제

Orchestrator 인스턴스 만들기

az dnc orchestrator-instance-service create --type "SystemAssigned" --location "West US" --api-server-endpoint "https://testk8s.cloudapp.net" --cluster-root-ca "ddsadsad344mfdsfdl" --id "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.DelegatedNetwork/controller/testcontroller" --orchestrator-app-id "546192d7-503f-477a-9cfe-4efc3ee2b6e1" --orchestrator-tenant-id "da6192d7-503f-477a-9cfe-4efc3ee2b6c3" --priv-link-resource-id "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.Network/privateLinkServices/plresource1" --resource-group "TestRG" --resource-name "testk8s1"

필수 매개 변수

--resource-group -g

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

--resource-name

리소스의 이름입니다. 최소 3 자, 최대 63 이어야 합니다.

선택적 매개 변수

--api-server-endpoint

K8s APIServer url입니다. ApiServerEndpoint 또는 privateLinkResourceId 중 하나를 지정할 수 있습니다.

--cluster-root-ca

Kubernetes cluster base64 인코딩된 Rootca.cer certificate

--id

컨트롤러 arm 리소스 id입니다.

--location -l

위치입니다. 값 출처: az account list-locations. az configure --defaults location=<location>을 사용하여 기본 위치를 구성할 수 있습니다.

--no-wait

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

--orchestrator-app-id

Apiserver에 사용 되는 AAD ID입니다.

--orchestrator-tenant-id

서버 앱 ID의 TenantID입니다.

--priv-link-resource-id

개인 링크 arm 리소스 id입니다. ApiServerEndpoint 또는 privateLinkResourceId 중 하나를 지정할 수 있습니다.

--tags

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

--type

Orchestrator 클러스터에 사용 되는 id 유형입니다. ' SystemAssigned 됨 ' 형식은 암시적으로 생성 된 id orchestrator 클러스터를 사용 합니다.

허용되는 값: None, SystemAssigned

az dnc orchestrator-instance-service delete

Orchestrator 인스턴스를 삭제 합니다.

az dnc orchestrator-instance-service delete --resource-group
                                            --resource-name
                                            [--force-delete {false, true}]
                                            [--no-wait]
                                            [--yes]

예제

Orchestrator 인스턴스 삭제

az dnc orchestrator-instance-service delete --resource-group "TestRG" --resource-name "k8stest1"

필수 매개 변수

--resource-group -g

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

--resource-name

리소스의 이름입니다. 최소 3 자, 최대 63 이어야 합니다.

선택적 매개 변수

--force-delete

리소스 삭제를 강제로 수행 합니다.

허용되는 값: false, true
--no-wait

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

--yes -y

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

az dnc orchestrator-instance-service show

Orchestrator 인스턴스에 대 한 세부 정보를 가져옵니다.

az dnc orchestrator-instance-service show --resource-group
                                          --resource-name

예제

OrchestratorInstance 세부 정보 가져오기

az dnc orchestrator-instance-service show --resource-group "TestRG" --resource-name "testk8s1"

필수 매개 변수

--resource-group -g

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

--resource-name

리소스의 이름입니다. 최소 3 자, 최대 63 이어야 합니다.

az dnc orchestrator-instance-service wait

Dnc orchestrator-service의 조건이 충족 될 때까지 CLI를 대기 중 상태로 전환 합니다.

az dnc orchestrator-instance-service wait --resource-group
                                          --resource-name
                                          [--created]
                                          [--custom]
                                          [--deleted]
                                          [--exists]
                                          [--interval]
                                          [--timeout]
                                          [--updated]

예제

Dnc orchestrator-서비스를 성공적으로 만들 때까지 CLI 스크립트의 다음 줄 실행을 일시 중지 합니다.

az dnc orchestrator-instance-service wait --resource-group "TestRG" --resource-name "testk8s1" --created

Dnc orchestrator-service가 성공적으로 삭제 될 때까지 CLI 스크립트의 다음 줄 실행을 일시 중지 합니다.

az dnc orchestrator-instance-service wait --resource-group "TestRG" --resource-name "testk8s1" --deleted

필수 매개 변수

--resource-group -g

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

--resource-name

리소스의 이름입니다. 최소 3 자, 최대 63 이어야 합니다.

선택적 매개 변수

--created

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

--custom

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

--deleted

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

--exists

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

--interval

폴링 간격 (초)입니다.

기본값: 30
--timeout

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

기본값: 3600
--updated

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