az aks maintenanceconfiguration

참고 항목

이 명령 그룹에는 Azure CLI 및 하나 이상의 확장 모두에 정의된 명령이 있습니다. 확장된 기능을 활용하려면 각 확장을 설치합니다. 확장 프로그램에 대해 자세히 알아보세요.

관리되는 Kubernetes 클러스터에서 기본 테넌트 구성을 관리하는 명령입니다.

명령

Name Description 형식 상태
az aks maintenanceconfiguration add

관리되는 Kubernetes 클러스터에 기본 테넌스 구성을 추가합니다.

핵심 GA
az aks maintenanceconfiguration add (aks-preview 확장)

관리되는 Kubernetes 클러스터에 기본 테넌스 구성을 추가합니다.

내선 번호 GA
az aks maintenanceconfiguration delete

관리되는 Kubernetes 클러스터에서 기본 테넌스 구성을 삭제합니다.

핵심 GA
az aks maintenanceconfiguration delete (aks-preview 확장)

관리되는 Kubernetes 클러스터에서 기본 테넌스 구성을 삭제합니다.

내선 번호 GA
az aks maintenanceconfiguration list

관리되는 Kubernetes 클러스터의 기본 테넌트 구성을 나열합니다.

핵심 GA
az aks maintenanceconfiguration list (aks-preview 확장)

관리되는 Kubernetes 클러스터의 기본 테넌트 구성을 나열합니다.

내선 번호 GA
az aks maintenanceconfiguration show

관리되는 Kubernetes 클러스터에서 기본 테넌트 구성의 세부 정보를 표시합니다.

핵심 GA
az aks maintenanceconfiguration show (aks-preview 확장)

관리되는 Kubernetes 클러스터에서 기본 테넌트 구성의 세부 정보를 표시합니다.

내선 번호 GA
az aks maintenanceconfiguration update

관리되는 Kubernetes 클러스터의 기본 테넌트 구성을 업데이트합니다.

핵심 GA
az aks maintenanceconfiguration update (aks-preview 확장)

관리되는 Kubernetes 클러스터의 기본 테넌트 구성을 업데이트합니다.

내선 번호 GA

az aks maintenanceconfiguration add

관리되는 Kubernetes 클러스터에 기본 테넌스 구성을 추가합니다.

az aks maintenanceconfiguration add --cluster-name
                                    --name
                                    --resource-group
                                    [--config-file]
                                    [--day-of-month]
                                    [--day-of-week]
                                    [--duration]
                                    [--interval-days]
                                    [--interval-months]
                                    [--interval-weeks]
                                    [--schedule-type {AbsoluteMonthly, Daily, RelativeMonthly, Weekly}]
                                    [--start-date]
                                    [--start-hour]
                                    [--start-time]
                                    [--utc-offset]
                                    [--week-index {First, Fourth, Last, Second, Third}]
                                    [--weekday]

예제

--weekday 및 --start-hour를 사용하여 기본 기본 테넌트 구성을 추가합니다.

az aks maintenanceconfiguration add -g MyResourceGroup --cluster-name test1 -n default --weekday Monday  --start-hour 1
  The maintenance is allowed on Monday 1:00am to 2:00am

--weekday를 사용하여 기본 기본 테넌트 구성을 추가합니다. 기본 테넌스는 해당 날짜의 언제든지 허용됩니다.

az aks maintenanceconfiguration add -g MyResourceGroup --cluster-name test1 -n default --weekday Monday
  The maintenance is allowed on Monday.

기본tenance 구성 json 파일을 사용하여 기본 기본 테넌트 구성 추가

az aks maintenanceconfiguration add -g MyResourceGroup --cluster-name test1 -n default --config-file ./test.json
    The content of json file looks below. It means the maintenance is allowed on UTC time Tuesday 1:00am - 3:00 am and Wednesday 1:00am - 2:00am, 6:00am-7:00am
    No maintenance is allowed from 2020-11-26T03:00:00Z to 2020-11-30T12:00:00Z and from 2020-12-26T03:00:00Z to 2020-12-26T12:00:00Z even if they are allowed in the above weekly setting
    {
          "timeInWeek": [
            {
              "day": "Tuesday",
              "hourSlots": [
                1,
                2
              ]
            },
            {
              "day": "Wednesday",
              "hourSlots": [
                1,
                6
              ]
            }
          ],
          "notAllowedTime": [
            {
              "start": "2021-11-26T03:00:00Z",
              "end": "2021-11-30T12:00:00Z"
            },
            {
              "start": "2021-12-26T03:00:00Z",
              "end": "2021-12-26T12:00:00Z"
            }
          ]
  }

매일 일정에 따라 aksManagedNodeOSUpgradeSchedule 기본tenance 구성을 추가합니다.

az aks maintenanceconfiguration add -g MyResourceGroup --cluster-name test1 -n aksManagedNodeOSUpgradeSchedule --schedule-type Daily --interval-days 2 --duration 12 --utc-offset=-08:00 --start-date 2023-01-16 --start-time 00:00
  The maintenance is allowed from 00:00 to 12:00 (adjusted with UTC offset: -08:00) every two days, and this configuration will be effective from 2023-01-16.

매주 일정을 사용하여 aksManagedNodeOSUpgradeSchedule 기본tenance 구성을 추가합니다.

az aks maintenanceconfiguration add -g MyResourceGroup --cluster-name test1 -n aksManagedNodeOSUpgradeSchedule --schedule-type Weekly --day-of-week Friday --interval-weeks 3 --duration 8 --utc-offset +05:30 --start-date 2023-01-16 --start-time 09:30
  The maintenance is allowed on Friday from 09:30 to 17:30 (adjusted with UTC offset: +05:30) every three weeks, and this configuration will be effective from 2023-01-16.

절대 월별 일정으로 aksManagedAutoUpgradeSchedule 기본tenance 구성을 추가합니다.

az aks maintenanceconfiguration add -g MyResourceGroup --cluster-name test1 -n aksManagedAutoUpgradeSchedule --schedule-type AbsoluteMonthly --day-of-month 15 --interval-months 1 --duration 6 --utc-offset +05:30 --start-date 2023-01-16 --start-time 09:30
  The maintenance is allowed on the 15th of the month from 09:30 to 15:30 (adjusted with UTC offset: +05:30) every month, and this configuration will be effective from 2023-01-16.

상대적인 월별 일정으로 aksManagedAutoUpgradeSchedule 기본tenance 구성을 추가합니다.

az aks maintenanceconfiguration add -g MyResourceGroup --cluster-name test1 -n aksManagedAutoUpgradeSchedule --schedule-type RelativeMonthly --day-of-week Tuesday --week-index Last --interval-months 3 --duration 6 --start-date 2023-01-16 --start-time 09:30
  The maintenance is allowed on the last Tuesday from 09:30 to 15:30 in default UTC time every 3 months, and this configuration will be effective from 2023-01-16.

json 파일을 사용하여 aksManagedAutoUpgradeSchedule 기본tenance 구성을 추가합니다.

az aks maintenanceconfiguration add -g MyResourceGroup --cluster-name test1 -n aksManagedAutoUpgradeSchedule --config-file ./test.json
    The content of json file looks below. It means the maintenance is allowed on the 1st of the month from 09:00 to 13:00 (adjusted with UTC offset: -08:00) every 3 months, and this configuration will be effective from 2023-01-16.
    No maintenance is allowed from 2022-12-23 to 2023-01-05 and from 2023-11-23 to 2023-11-26 even if they are allowed in the above monthly setting
    {
        "maintenanceWindow": {
            "schedule": {
                "absoluteMonthly": {
                    "intervalMonths": 3,
                    "dayOfMonth": 1
                }
            },
            "durationHours": 4,
            "utcOffset": "-08:00",
            "startTime": "09:00",
            "notAllowedDates": [
                {
                    "start": "2022-12-23",
                    "end": "2023-01-05"
                },
                {
                    "start": "2023-11-23",
                    "end": "2023-11-26"
                }
            ]
        }
    }

필수 매개 변수

--cluster-name

클러스터 이름입니다.

--name -n

구성 이름입니다.

--resource-group -g

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

선택적 매개 변수

--config-file

기본 테넌트 구성 json 파일입니다.

--day-of-month

기본 발생되는 월의 일을 지정합니다. 예를 들어 1은 월의 1일을 나타냅니다. 절대 월별 일정 유형에만 적용됩니다.

--day-of-week

기본 요일을 지정합니다. 예: "Monday". 주별 및 상대 월별 일정 유형에 적용됩니다.

--duration

기본 기간의 범위는 4~24시간입니다.

--interval-days

일별 일정 유형에 대한 각 발생 집합 사이의 일 수입니다.

--interval-months

각 발생 집합 사이의 월 수입니다. 절대 및 상대 월별 일정 유형에 적용할 수 있습니다.

--interval-weeks

각 발생 집합 사이의 주 수입니다. 주별 일정 유형에만 적용됩니다.

--schedule-type

기본 테넌트 일정에 대해 '매일', '매주', 'AbsoluteMonthly' 또는 'RelativeMonthly'를 선택합니다. 'aksManagedAutoUpgradeSchedule' 및 'aksManagedNodeOSUpgradeSchedule' 기본tenance 구성에만 적용됩니다.

허용되는 값: AbsoluteMonthly, Daily, RelativeMonthly, Weekly
--start-date

기본 테넌트 구성이 활성화되는 날짜입니다. 지정하지 않으면 기본테넌스 창은 즉시 활성화됩니다.".

--start-hour

기본 허용된 1시간 창의 시작 시간입니다. 예를 들어 1은 오전 1시에서 오전 2시 사이에 허용됨을 의미합니다. 기본 기본 테넌트 구성에만 적용됩니다.

--start-time

기본 테넌트 창의 시작 시간입니다. 허용되는 값은 '00:00'에서 '23:59'입니다. '--utc-offset'이 이 필드에 적용됩니다. 예를 들어 '--utc-offset +02:00'이 있는 '02:00'은 UTC 시간 '00:00'을 의미합니다.

--utc-offset

+/-HH:mm 형식의 UTC 오프셋입니다. 예를 들어 IST의 경우 '+05:30', PST의 경우 '-07:00'입니다. 지정하지 않으면 기본값은 '+00:00'입니다.

--week-index

'--day-of-week'에 지정된 허용된 일의 인스턴스를 지정하여 기본 테넌스가 발생합니다. 상대 월별 일정 유형에만 적용됩니다.

허용되는 값: First, Fourth, Last, Second, Third
--weekday

기본 감쇠가 허용되는 요일입니다. 예를 들어 월요일입니다. 기본 기본 테넌트 구성에만 적용됩니다.

전역 매개 변수
--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 aks maintenanceconfiguration add (aks-preview 확장)

관리되는 Kubernetes 클러스터에 기본 테넌스 구성을 추가합니다.

az aks maintenanceconfiguration add --cluster-name
                                    --name
                                    --resource-group
                                    [--config-file]
                                    [--day-of-month]
                                    [--day-of-week]
                                    [--duration]
                                    [--interval-days]
                                    [--interval-months]
                                    [--interval-weeks]
                                    [--schedule-type {AbsoluteMonthly, Daily, RelativeMonthly, Weekly}]
                                    [--start-date]
                                    [--start-hour]
                                    [--start-time]
                                    [--utc-offset]
                                    [--week-index {First, Fourth, Last, Second, Third}]
                                    [--weekday]

예제

--weekday 및 --start-hour를 사용하여 기본 기본 테넌트 구성을 추가합니다.

az aks maintenanceconfiguration add -g MyResourceGroup --cluster-name test1 -n default --weekday Monday  --start-hour 1
  The maintenance is allowed on Monday 1:00am to 2:00am

--weekday를 사용하여 기본 기본 테넌트 구성을 추가합니다. 기본 테넌스는 해당 날짜의 언제든지 허용됩니다.

az aks maintenanceconfiguration add -g MyResourceGroup --cluster-name test1 -n default --weekday Monday
  The maintenance is allowed on Monday.

기본tenance 구성 json 파일을 사용하여 기본 기본 테넌트 구성 추가

az aks maintenanceconfiguration add -g MyResourceGroup --cluster-name test1 -n default --config-file ./test.json
    The content of json file looks below. It means the maintenance is allowed on UTC time Tuesday 1:00am - 3:00 am and Wednesday 1:00am - 2:00am, 6:00am-7:00am
    No maintenance is allowed from 2020-11-26T03:00:00Z to 2020-11-30T12:00:00Z and from 2020-12-26T03:00:00Z to 2020-12-26T12:00:00Z even if they are allowed in the above weekly setting
    {
          "timeInWeek": [
            {
              "day": "Tuesday",
              "hourSlots": [
                1,
                2
              ]
            },
            {
              "day": "Wednesday",
              "hourSlots": [
                1,
                6
              ]
            }
          ],
          "notAllowedTime": [
            {
              "start": "2021-11-26T03:00:00Z",
              "end": "2021-11-30T12:00:00Z"
            },
            {
              "start": "2021-12-26T03:00:00Z",
              "end": "2021-12-26T12:00:00Z"
            }
          ]
  }

매일 일정에 따라 aksManagedNodeOSUpgradeSchedule 기본tenance 구성을 추가합니다.

az aks maintenanceconfiguration add -g MyResourceGroup --cluster-name test1 -n aksManagedNodeOSUpgradeSchedule --schedule-type Daily --interval-days 2 --duration 12 --utc-offset=-08:00 --start-date 2023-01-16 --start-time 00:00
  The maintenance is allowed from 00:00 to 12:00 (adjusted with UTC offset: -08:00) every two days, and this configuration will be effective from 2023-01-16.

매주 일정을 사용하여 aksManagedNodeOSUpgradeSchedule 기본tenance 구성을 추가합니다.

az aks maintenanceconfiguration add -g MyResourceGroup --cluster-name test1 -n aksManagedNodeOSUpgradeSchedule --schedule-type Weekly --day-of-week Friday --interval-weeks 3 --duration 8 --utc-offset +05:30 --start-date 2023-01-16 --start-time 09:30
  The maintenance is allowed on Friday from 09:30 to 17:30 (adjusted with UTC offset: +05:30) every three weeks, and this configuration will be effective from 2023-01-16.

절대 월별 일정으로 aksManagedAutoUpgradeSchedule 기본tenance 구성을 추가합니다.

az aks maintenanceconfiguration add -g MyResourceGroup --cluster-name test1 -n aksManagedAutoUpgradeSchedule --schedule-type AbsoluteMonthly --day-of-month 15 --interval-months 1 --duration 6 --utc-offset +05:30 --start-date 2023-01-16 --start-time 09:30
  The maintenance is allowed on the 15th of the month from 09:30 to 15:30 (adjusted with UTC offset: +05:30) every month, and this configuration will be effective from 2023-01-16.

상대적인 월별 일정으로 aksManagedAutoUpgradeSchedule 기본tenance 구성을 추가합니다.

az aks maintenanceconfiguration add -g MyResourceGroup --cluster-name test1 -n aksManagedAutoUpgradeSchedule --schedule-type RelativeMonthly --day-of-week Tuesday --week-index Last --interval-months 3 --duration 6 --start-date 2023-01-16 --start-time 09:30
  The maintenance is allowed on the last Tuesday from 09:30 to 15:30 in default UTC time every 3 months, and this configuration will be effective from 2023-01-16.

json 파일을 사용하여 aksManagedAutoUpgradeSchedule 기본tenance 구성을 추가합니다.

az aks maintenanceconfiguration add -g MyResourceGroup --cluster-name test1 -n aksManagedAutoUpgradeSchedule --config-file ./test.json
    The content of json file looks below. It means the maintenance is allowed on the 1st of the month from 09:00 to 13:00 (adjusted with UTC offset: -08:00) every 3 months, and this configuration will be effective from 2023-01-16.
    No maintenance is allowed from 2022-12-23 to 2023-01-05 and from 2023-11-23 to 2023-11-26 even if they are allowed in the above monthly setting
    {
        "maintenanceWindow": {
            "schedule": {
                "absoluteMonthly": {
                    "intervalMonths": 3,
                    "dayOfMonth": 1
                }
            },
            "durationHours": 4,
            "utcOffset": "-08:00",
            "startTime": "09:00",
            "notAllowedDates": [
                {
                    "start": "2022-12-23",
                    "end": "2023-01-05"
                },
                {
                    "start": "2023-11-23",
                    "end": "2023-11-26"
                }
            ]
        }
    }

필수 매개 변수

--cluster-name

클러스터 이름입니다.

--name -n

구성 이름입니다.

--resource-group -g

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

선택적 매개 변수

--config-file

기본 테넌트 구성 json 파일입니다.

--day-of-month

기본 발생되는 월의 일을 지정합니다. 예를 들어 1은 월의 1일을 나타냅니다. 절대 월별 일정 유형에만 적용됩니다.

--day-of-week

기본 요일을 지정합니다. 예: "Monday". 주별 및 상대 월별 일정 유형에 적용됩니다.

--duration

기본 기간의 범위는 4~24시간입니다.

--interval-days

일별 일정 유형에 대한 각 발생 집합 사이의 일 수입니다.

--interval-months

각 발생 집합 사이의 월 수입니다. 절대 및 상대 월별 일정 유형에 적용할 수 있습니다.

--interval-weeks

각 발생 집합 사이의 주 수입니다. 주별 일정 유형에만 적용됩니다.

--schedule-type

기본 테넌트 일정에 대해 '매일', '매주', 'AbsoluteMonthly' 또는 'RelativeMonthly'를 선택합니다. 'aksManagedAutoUpgradeSchedule' 및 'aksManagedNodeOSUpgradeSchedule' 기본tenance 구성에만 적용됩니다.

허용되는 값: AbsoluteMonthly, Daily, RelativeMonthly, Weekly
--start-date

기본 테넌트 구성이 활성화되는 날짜입니다. 지정하지 않으면 기본테넌스 창은 즉시 활성화됩니다.".

--start-hour

기본 허용된 1시간 창의 시작 시간입니다. 예를 들어 1은 오전 1시에서 오전 2시 사이에 허용됨을 의미합니다. 기본 기본 테넌트 구성에만 적용됩니다.

--start-time

기본 테넌트 창의 시작 시간입니다. 허용되는 값은 '00:00'에서 '23:59'입니다. '--utc-offset'이 이 필드에 적용됩니다. 예를 들어 '--utc-offset +02:00'이 있는 '02:00'은 UTC 시간 '00:00'을 의미합니다.

--utc-offset

+/-HH:mm 형식의 UTC 오프셋입니다. 예를 들어 IST의 경우 '+05:30', PST의 경우 '-07:00'입니다. 지정하지 않으면 기본값은 '+00:00'입니다.

--week-index

'--day-of-week'에 지정된 허용된 일의 인스턴스를 지정하여 기본 테넌스가 발생합니다. 상대 월별 일정 유형에만 적용됩니다.

허용되는 값: First, Fourth, Last, Second, Third
--weekday

기본 감쇠가 허용되는 요일입니다. 예를 들어 월요일입니다. 기본 기본 테넌트 구성에만 적용됩니다.

전역 매개 변수
--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 aks maintenanceconfiguration delete

관리되는 Kubernetes 클러스터에서 기본 테넌스 구성을 삭제합니다.

az aks maintenanceconfiguration delete --cluster-name
                                       --name
                                       --resource-group

필수 매개 변수

--cluster-name

클러스터 이름입니다.

--name -n

구성 이름입니다.

--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 aks maintenanceconfiguration delete (aks-preview 확장)

관리되는 Kubernetes 클러스터에서 기본 테넌스 구성을 삭제합니다.

az aks maintenanceconfiguration delete --cluster-name
                                       --name
                                       --resource-group

필수 매개 변수

--cluster-name

클러스터 이름입니다.

--name -n

구성 이름입니다.

--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 aks maintenanceconfiguration list

관리되는 Kubernetes 클러스터의 기본 테넌트 구성을 나열합니다.

az aks maintenanceconfiguration list --cluster-name
                                     --resource-group

필수 매개 변수

--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 aks maintenanceconfiguration list (aks-preview 확장)

관리되는 Kubernetes 클러스터의 기본 테넌트 구성을 나열합니다.

az aks maintenanceconfiguration list --cluster-name
                                     --resource-group

필수 매개 변수

--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 aks maintenanceconfiguration show

관리되는 Kubernetes 클러스터에서 기본 테넌트 구성의 세부 정보를 표시합니다.

az aks maintenanceconfiguration show --cluster-name
                                     --name
                                     --resource-group

필수 매개 변수

--cluster-name

클러스터 이름입니다.

--name -n

구성 이름입니다.

--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 aks maintenanceconfiguration show (aks-preview 확장)

관리되는 Kubernetes 클러스터에서 기본 테넌트 구성의 세부 정보를 표시합니다.

az aks maintenanceconfiguration show --cluster-name
                                     --name
                                     --resource-group

필수 매개 변수

--cluster-name

클러스터 이름입니다.

--name -n

구성 이름입니다.

--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 aks maintenanceconfiguration update

관리되는 Kubernetes 클러스터의 기본 테넌트 구성을 업데이트합니다.

az aks maintenanceconfiguration update --cluster-name
                                       --name
                                       --resource-group
                                       [--config-file]
                                       [--day-of-month]
                                       [--day-of-week]
                                       [--duration]
                                       [--interval-days]
                                       [--interval-months]
                                       [--interval-weeks]
                                       [--schedule-type {AbsoluteMonthly, Daily, RelativeMonthly, Weekly}]
                                       [--start-date]
                                       [--start-hour]
                                       [--start-time]
                                       [--utc-offset]
                                       [--week-index {First, Fourth, Last, Second, Third}]
                                       [--weekday]

예제

기본 기본 테넌트 구성을 --weekday 및 --start-hour로 업데이트합니다.

az aks maintenanceconfiguration update -g MyResourceGroup --cluster-name test1 -n default --weekday Monday  --start-hour 1
  The maintenance is allowed on Monday 1:00am to 2:00am

기본 기본 테넌트 구성을 --weekday로 업데이트합니다. 기본 테넌스는 해당 날짜의 언제든지 허용됩니다.

az aks maintenanceconfiguration update -g MyResourceGroup --cluster-name test1 -n default --weekday Monday
  The maintenance is allowed on Monday.

기본tenance 구성 json 파일을 사용하여 기본 기본 테넌트 구성 업데이트

az aks maintenanceconfiguration update -g MyResourceGroup --cluster-name test1 -n default --config-file ./test.json
    The content of json file looks below. It means the maintenance is allowed on UTC time Tuesday 1:00am - 3:00 am and Wednesday 1:00am - 2:00am, 6:00am-7:00am
    No maintenance is allowed from 2020-11-26T03:00:00Z to 2020-11-30T12:00:00Z and from 2020-12-26T03:00:00Z to 2020-12-26T12:00:00Z even if they are allowed in the above weekly setting
    {
          "timeInWeek": [
            {
              "day": "Tuesday",
              "hourSlots": [
                1,
                2
              ]
            },
            {
              "day": "Wednesday",
              "hourSlots": [
                1,
                6
              ]
            }
          ],
          "notAllowedTime": [
            {
              "start": "2021-11-26T03:00:00Z",
              "end": "2021-11-30T12:00:00Z"
            },
            {
              "start": "2021-12-26T03:00:00Z",
              "end": "2021-12-26T12:00:00Z"
            }
          ]
  }

aksManagedNodeOSUpgradeSchedule 기본tenance 구성을 일일 일정으로 업데이트합니다.

az aks maintenanceconfiguration update -g MyResourceGroup --cluster-name test1 -n aksManagedNodeOSUpgradeSchedule --schedule-type Daily --interval-days 2 --duration 12 --utc-offset=-08:00 --start-date 2023-01-16 --start-time 00:00
  The maintenance is allowed from 00:00 to 12:00 (adjusted with UTC offset: -08:00) every two days. This configuration will be effective from 2023-01-16.

aksManagedNodeOSUpgradeSchedule 기본tenance 구성을 주간 일정으로 업데이트합니다.

az aks maintenanceconfiguration update -g MyResourceGroup --cluster-name test1 -n aksManagedNodeOSUpgradeSchedule --schedule-type Weekly --day-of-week Friday --interval-weeks 3 --duration 8 --utc-offset +05:30 --start-date 2023-01-16 --start-time 09:30
  The maintenance is allowed on Friday from 09:30 to 17:30 (adjusted with UTC offset: +05:30) every three weeks. This configuration will be effective from 2023-01-16.

aksManagedAutoUpgradeSchedule 기본tenance 구성을 절대 월별 일정으로 업데이트합니다.

az aks maintenanceconfiguration update -g MyResourceGroup --cluster-name test1 -n aksManagedAutoUpgradeSchedule --schedule-type AbsoluteMonthly --day-of-month 15 --interval-months 1 --duration 6 --utc-offset +05:30 --start-date 2023-01-16 --start-time 09:30
  The maintenance is allowed on the 15th of the month from 09:30 to 15:30 (adjusted with UTC offset: +05:30) every month. This configuration will be effective from 2023-01-16.

aksManagedAutoUpgradeSchedule 기본tenance 구성을 상대적인 월별 일정으로 업데이트합니다.

az aks maintenanceconfiguration update -g MyResourceGroup --cluster-name test1 -n aksManagedAutoUpgradeSchedule --schedule-type RelativeMonthly --day-of-week Tuesday --week-index Last --interval-months 3 --duration 6 --start-date 2023-01-16 --start-time 09:30
  The maintenance is allowed on the last Tuesday from 09:30 to 15:30 in default UTC time every 3 months. This configuration will be effective from 2023-01-16.

aksManagedAutoUpgradeSchedule 기본tenance 구성을 json 파일로 업데이트합니다.

az aks maintenanceconfiguration update -g MyResourceGroup --cluster-name test1 -n aksManagedAutoUpgradeSchedule --config-file ./test.json
    The content of json file looks below. It means the maintenance is allowed on the 1st of the month from 09:00 to 13:00 (adjusted with UTC offset: -08:00) every 3 months, and this configuration will be effective from 2023-01-16.
    No maintenance is allowed from 2022-12-23 to 2023-01-05 and from 2023-11-23 to 2023-11-26 even if they are allowed in the above monthly setting
    {
        "maintenanceWindow": {
            "schedule": {
                "absoluteMonthly": {
                    "intervalMonths": 3,
                    "dayOfMonth": 1
                }
            },
            "durationHours": 4,
            "utcOffset": "-08:00",
            "startTime": "09:00",
            "notAllowedDates": [
                {
                    "start": "2022-12-23",
                    "end": "2023-01-05"
                },
                {
                    "start": "2023-11-23",
                    "end": "2023-11-26"
                }
            ]
        }
    }

필수 매개 변수

--cluster-name

클러스터 이름입니다.

--name -n

구성 이름입니다.

--resource-group -g

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

선택적 매개 변수

--config-file

기본 테넌트 구성 json 파일입니다.

--day-of-month

기본 발생되는 월의 일을 지정합니다. 예를 들어 1은 월의 1일을 나타냅니다. 절대 월별 일정 유형에만 적용됩니다.

--day-of-week

기본 요일을 지정합니다. 예: "Monday". 주별 및 상대 월별 일정 유형에 적용됩니다.

--duration

기본 기간의 범위는 4~24시간입니다.

--interval-days

일별 일정 유형에 대한 각 발생 집합 사이의 일 수입니다.

--interval-months

각 발생 집합 사이의 월 수입니다. 절대 및 상대 월별 일정 유형에 적용할 수 있습니다.

--interval-weeks

각 발생 집합 사이의 주 수입니다. 주별 일정 유형에만 적용됩니다.

--schedule-type

기본 테넌트 일정에 대해 '매일', '매주', 'AbsoluteMonthly' 또는 'RelativeMonthly'를 선택합니다. 'aksManagedAutoUpgradeSchedule' 및 'aksManagedNodeOSUpgradeSchedule' 기본tenance 구성에만 적용됩니다.

허용되는 값: AbsoluteMonthly, Daily, RelativeMonthly, Weekly
--start-date

기본 테넌트 구성이 활성화되는 날짜입니다. 지정하지 않으면 기본테넌스 창은 즉시 활성화됩니다.".

--start-hour

기본 허용된 1시간 창의 시작 시간입니다. 예를 들어 1은 오전 1시에서 오전 2시 사이에 허용됨을 의미합니다. 기본 기본 테넌트 구성에만 적용됩니다.

--start-time

기본 테넌트 창의 시작 시간입니다. 허용되는 값은 '00:00'에서 '23:59'입니다. '--utc-offset'이 이 필드에 적용됩니다. 예를 들어 '--utc-offset +02:00'이 있는 '02:00'은 UTC 시간 '00:00'을 의미합니다.

--utc-offset

+/-HH:mm 형식의 UTC 오프셋입니다. 예를 들어 IST의 경우 '+05:30', PST의 경우 '-07:00'입니다. 지정하지 않으면 기본값은 '+00:00'입니다.

--week-index

'--day-of-week'에 지정된 허용된 일의 인스턴스를 지정하여 기본 테넌스가 발생합니다. 상대 월별 일정 유형에만 적용됩니다.

허용되는 값: First, Fourth, Last, Second, Third
--weekday

기본 감쇠가 허용되는 요일입니다. 예를 들어 월요일입니다. 기본 기본 테넌트 구성에만 적용됩니다.

전역 매개 변수
--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 aks maintenanceconfiguration update (aks-preview 확장)

관리되는 Kubernetes 클러스터의 기본 테넌트 구성을 업데이트합니다.

az aks maintenanceconfiguration update --cluster-name
                                       --name
                                       --resource-group
                                       [--config-file]
                                       [--day-of-month]
                                       [--day-of-week]
                                       [--duration]
                                       [--interval-days]
                                       [--interval-months]
                                       [--interval-weeks]
                                       [--schedule-type {AbsoluteMonthly, Daily, RelativeMonthly, Weekly}]
                                       [--start-date]
                                       [--start-hour]
                                       [--start-time]
                                       [--utc-offset]
                                       [--week-index {First, Fourth, Last, Second, Third}]
                                       [--weekday]

예제

기본 기본 테넌트 구성을 --weekday 및 --start-hour로 업데이트합니다.

az aks maintenanceconfiguration update -g MyResourceGroup --cluster-name test1 -n default --weekday Monday  --start-hour 1
  The maintenance is allowed on Monday 1:00am to 2:00am

기본 기본 테넌트 구성을 --weekday로 업데이트합니다. 기본 테넌스는 해당 날짜의 언제든지 허용됩니다.

az aks maintenanceconfiguration update -g MyResourceGroup --cluster-name test1 -n default --weekday Monday
  The maintenance is allowed on Monday.

기본tenance 구성 json 파일을 사용하여 기본 기본 테넌트 구성 업데이트

az aks maintenanceconfiguration update -g MyResourceGroup --cluster-name test1 -n default --config-file ./test.json
    The content of json file looks below. It means the maintenance is allowed on UTC time Tuesday 1:00am - 3:00 am and Wednesday 1:00am - 2:00am, 6:00am-7:00am
    No maintenance is allowed from 2020-11-26T03:00:00Z to 2020-11-30T12:00:00Z and from 2020-12-26T03:00:00Z to 2020-12-26T12:00:00Z even if they are allowed in the above weekly setting
    {
          "timeInWeek": [
            {
              "day": "Tuesday",
              "hourSlots": [
                1,
                2
              ]
            },
            {
              "day": "Wednesday",
              "hourSlots": [
                1,
                6
              ]
            }
          ],
          "notAllowedTime": [
            {
              "start": "2021-11-26T03:00:00Z",
              "end": "2021-11-30T12:00:00Z"
            },
            {
              "start": "2021-12-26T03:00:00Z",
              "end": "2021-12-26T12:00:00Z"
            }
          ]
  }

aksManagedNodeOSUpgradeSchedule 기본tenance 구성을 일일 일정으로 업데이트합니다.

az aks maintenanceconfiguration update -g MyResourceGroup --cluster-name test1 -n aksManagedNodeOSUpgradeSchedule --schedule-type Daily --interval-days 2 --duration 12 --utc-offset=-08:00 --start-date 2023-01-16 --start-time 00:00
  The maintenance is allowed from 00:00 to 12:00 (adjusted with UTC offset: -08:00) every two days. This configuration will be effective from 2023-01-16.

aksManagedNodeOSUpgradeSchedule 기본tenance 구성을 주간 일정으로 업데이트합니다.

az aks maintenanceconfiguration update -g MyResourceGroup --cluster-name test1 -n aksManagedNodeOSUpgradeSchedule --schedule-type Weekly --day-of-week Friday --interval-weeks 3 --duration 8 --utc-offset +05:30 --start-date 2023-01-16 --start-time 09:30
  The maintenance is allowed on Friday from 09:30 to 17:30 (adjusted with UTC offset: +05:30) every three weeks. This configuration will be effective from 2023-01-16.

aksManagedAutoUpgradeSchedule 기본tenance 구성을 절대 월별 일정으로 업데이트합니다.

az aks maintenanceconfiguration update -g MyResourceGroup --cluster-name test1 -n aksManagedAutoUpgradeSchedule --schedule-type AbsoluteMonthly --day-of-month 15 --interval-months 1 --duration 6 --utc-offset +05:30 --start-date 2023-01-16 --start-time 09:30
  The maintenance is allowed on the 15th of the month from 09:30 to 15:30 (adjusted with UTC offset: +05:30) every month. This configuration will be effective from 2023-01-16.

aksManagedAutoUpgradeSchedule 기본tenance 구성을 상대적인 월별 일정으로 업데이트합니다.

az aks maintenanceconfiguration update -g MyResourceGroup --cluster-name test1 -n aksManagedAutoUpgradeSchedule --schedule-type RelativeMonthly --day-of-week Tuesday --week-index Last --interval-months 3 --duration 6 --start-date 2023-01-16 --start-time 09:30
  The maintenance is allowed on the last Tuesday from 09:30 to 15:30 in default UTC time every 3 months. This configuration will be effective from 2023-01-16.

aksManagedAutoUpgradeSchedule 기본tenance 구성을 json 파일로 업데이트합니다.

az aks maintenanceconfiguration update -g MyResourceGroup --cluster-name test1 -n aksManagedAutoUpgradeSchedule --config-file ./test.json
    The content of json file looks below. It means the maintenance is allowed on the 1st of the month from 09:00 to 13:00 (adjusted with UTC offset: -08:00) every 3 months, and this configuration will be effective from 2023-01-16.
    No maintenance is allowed from 2022-12-23 to 2023-01-05 and from 2023-11-23 to 2023-11-26 even if they are allowed in the above monthly setting
    {
        "maintenanceWindow": {
            "schedule": {
                "absoluteMonthly": {
                    "intervalMonths": 3,
                    "dayOfMonth": 1
                }
            },
            "durationHours": 4,
            "utcOffset": "-08:00",
            "startTime": "09:00",
            "notAllowedDates": [
                {
                    "start": "2022-12-23",
                    "end": "2023-01-05"
                },
                {
                    "start": "2023-11-23",
                    "end": "2023-11-26"
                }
            ]
        }
    }

필수 매개 변수

--cluster-name

클러스터 이름입니다.

--name -n

구성 이름입니다.

--resource-group -g

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

선택적 매개 변수

--config-file

기본 테넌트 구성 json 파일입니다.

--day-of-month

기본 발생되는 월의 일을 지정합니다. 예를 들어 1은 월의 1일을 나타냅니다. 절대 월별 일정 유형에만 적용됩니다.

--day-of-week

기본 요일을 지정합니다. 예: "Monday". 주별 및 상대 월별 일정 유형에 적용됩니다.

--duration

기본 기간의 범위는 4~24시간입니다.

--interval-days

일별 일정 유형에 대한 각 발생 집합 사이의 일 수입니다.

--interval-months

각 발생 집합 사이의 월 수입니다. 절대 및 상대 월별 일정 유형에 적용할 수 있습니다.

--interval-weeks

각 발생 집합 사이의 주 수입니다. 주별 일정 유형에만 적용됩니다.

--schedule-type

기본 테넌트 일정에 대해 '매일', '매주', 'AbsoluteMonthly' 또는 'RelativeMonthly'를 선택합니다. 'aksManagedAutoUpgradeSchedule' 및 'aksManagedNodeOSUpgradeSchedule' 기본tenance 구성에만 적용됩니다.

허용되는 값: AbsoluteMonthly, Daily, RelativeMonthly, Weekly
--start-date

기본 테넌트 구성이 활성화되는 날짜입니다. 지정하지 않으면 기본테넌스 창은 즉시 활성화됩니다.".

--start-hour

기본 허용된 1시간 창의 시작 시간입니다. 예를 들어 1은 오전 1시에서 오전 2시 사이에 허용됨을 의미합니다. 기본 기본 테넌트 구성에만 적용됩니다.

--start-time

기본 테넌트 창의 시작 시간입니다. 허용되는 값은 '00:00'에서 '23:59'입니다. '--utc-offset'이 이 필드에 적용됩니다. 예를 들어 '--utc-offset +02:00'이 있는 '02:00'은 UTC 시간 '00:00'을 의미합니다.

--utc-offset

+/-HH:mm 형식의 UTC 오프셋입니다. 예를 들어 IST의 경우 '+05:30', PST의 경우 '-07:00'입니다. 지정하지 않으면 기본값은 '+00:00'입니다.

--week-index

'--day-of-week'에 지정된 허용된 일의 인스턴스를 지정하여 기본 테넌스가 발생합니다. 상대 월별 일정 유형에만 적용됩니다.

허용되는 값: First, Fourth, Last, Second, Third
--weekday

기본 감쇠가 허용되는 요일입니다. 예를 들어 월요일입니다. 기본 기본 테넌트 구성에만 적용됩니다.

전역 매개 변수
--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를 사용합니다.