이 페이지에서는 Azure용 GKE 클러스터의 Kubernetes 버전을 업그레이드하는 방법을 설명합니다.
기본 요건
클러스터의 Kubernetes 버전을 업그레이드하는 것은 보다 일반적인 클러스터 업데이트 작업의 특정한 경우입니다. 클러스터 업데이트 페이지에서 일반적인 클러스터 업데이트 작업에 대해 알아볼 수 있습니다. 클러스터 버전을 업그레이드하려면 다음 안내를 따르세요.
현재 버전 및 대상 버전 사이의 모든 부 버전을 업그레이드해야 합니다. 예를 들어 1.20에서 1.22로 업그레이드하려면 먼저 1.20에서 1.21로 업그레이드한 다음 1.21에서 1.22로 업그레이드해야 합니다.
gkemulticloud.googleapis.com/azureClusters.update Identity and Access Management 권한이 있어야 합니다.
Azure용 GKE에서 업데이트를 수행하는 방법
클러스터를 업그레이드하려면 컨트롤 플레인 노드를 다시 시작해야 하므로 Azure용 GKE는 다음 단계에 따라 "순차적 업데이트"를 수행합니다.
업데이트할 컨트롤 플레인 인스턴스 하나를 선택합니다. Azure용 GKE는 비정상 인스턴스가 있으면 정상 인스턴스보다 먼저 업데이트합니다.
인스턴스를 삭제합니다. Azure용 GKE가 인스턴스를 다시 만들고 인스턴스가 새 구성으로 부팅됩니다.
새 인스턴스에서 상태 확인을 수행합니다.
상태 확인이 성공하면 다른 인스턴스를 선택하고 동일한 단계를 수행합니다. 모든 인스턴스가 다시 시작 또는 다시 생성될 때까지 이 주기를 반복합니다.
상태 점검이 실패하면 Azure용 GKE는 클러스터를 DEGRADED 상태로 설정하고 업데이트를 중지합니다. 자세한 내용은 다음 섹션을 참조하세요.
업데이트 실패 시
업데이트 후 Azure용 GKE는 클러스터에서 상태 점검을 수행합니다.
상태 점검이 실패하면 클러스터가 DEGRADED로 표시됩니다. 다음 Google Cloud CLI 명령어를 사용하여 클러스터 상태를 표시할 수 있습니다.
GOOGLE_CLOUD_LOCATION을 클러스터를 관리하는 Google Cloud위치로 바꿉니다.
업그레이드 방법 선택
Google Cloud 콘솔, Google Cloud CLI 또는 GKE Multi-Cloud API를 통해 클러스터 버전을 업그레이드할 수 있습니다. 콘솔을 사용하여 클러스터를 업그레이드하려면 먼저 클러스터에 로그인할 수 있는 인증 방법을 선택하고 구성해야 합니다. 자세한 내용은 클러스터에 연결 및 인증을 참조하세요.
콘솔
Google Cloud 콘솔에서 Google Kubernetes Engine 클러스터 개요 페이지로 이동합니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-04(UTC)"],[],[],null,["# Upgrade your Azure cluster version\n==================================\n\nThis page explains how to upgrade the Kubernetes version of your\nGKE on Azure clusters.\n\nPrerequisites\n-------------\n\nUpgrading your cluster's Kubernetes version is a specific case of the more\ngeneral cluster update operation. You can read about cluster update operations\nin general at the [update your cluster](/kubernetes-engine/multi-cloud/docs/azure/how-to/update-cluster)\npage. To upgrade your cluster version:\n\n- You must upgrade through every minor version between the current and target version. For example, to upgrade from 1.20 to 1.22, you must first upgrade from 1.20 to 1.21, and then upgrade from 1.21 to 1.22.\n- You must have the `gkemulticloud.googleapis.com/azureClusters.update` Identity and Access Management permission.\n\nHow GKE on Azure performs updates\n---------------------------------\n\nBecause upgrading a cluster requires restarting the control plane nodes,\nGKE on Azure performs a \"rolling update\" with the following steps:\n\n1. Choose one control plane instance to update. GKE on Azure updates unhealthy instances, if any, before healthy ones.\n2. Delete the instance. GKE on Azure recreates the instance and the instance boots with the new configuration.\n3. Perform health checks on the new instance.\n4. If the health checks succeed, select another instance and perform the same steps on it. Repeat this cycle until all instances are restarted or recreated. If the health check fails, GKE on Azure places the cluster into a `DEGRADED` state and stops the update. For more information, see the following section.\n\nWhen an update fails\n--------------------\n\nAfter an update, GKE on Azure performs a health check on the cluster.\nIf the health check fails, the cluster is marked as `DEGRADED`. You can display\nthe status of your cluster with the following Google Cloud CLI command: \n\n gcloud container azure clusters describe \u003cvar translate=\"no\"\u003eCLUSTER_NAME\u003c/var\u003e \\\n --location=\u003cvar translate=\"no\"\u003eGOOGLE_CLOUD_LOCATION\u003c/var\u003e\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003eCLUSTER_NAME\u003c/var\u003e: the name of your cluster\n- \u003cvar translate=\"no\"\u003eGOOGLE_CLOUD_LOCATION\u003c/var\u003e: the Google Cloud region that manages your cluster\n\nPerform the upgrade\n-------------------\n\n### Check your cluster version\n\nBefore upgrading your cluster version, use the following command to check which\nversions are available in your region: \n\n gcloud container azure get-server-config \\\n --location=\u003cvar translate=\"no\"\u003eGOOGLE_CLOUD_LOCATION\u003c/var\u003e\n\nReplace \u003cvar translate=\"no\"\u003eGOOGLE_CLOUD_LOCATION\u003c/var\u003e with the Google Cloud\nlocation from which you manage your clusters.\n\n### Choose an upgrade method\n\nYou can upgrade your cluster version through either the Google Cloud console, the\nGoogle Cloud CLI or the GKE Multi-Cloud API. If you want to use the console to upgrade\na cluster, you must first choose and configure an authentication method for\nlogging in to the cluster. For more information, see\n[Connect and authenticate to your cluster](/kubernetes-engine/multi-cloud/docs/azure/how-to/connect-and-authenticate-to-your-cluster). \n\n### Console\n\n1. In the Google Cloud console, go to the **Google Kubernetes Engine clusters\n overview** page.\n\n [Go to GKE clusters](https://console.cloud.google.com/kubernetes/list/overview)\n2. Select the Google Cloud project that the cluster is in.\n\n3. In the cluster list, select the name of the cluster, and then select\n **View details** in the side panel.\n\n4. On the **Details** tab, select edit **Upgrade**.\n\n5. In the **Upgrade the Kubernetes version for the cluster** dialog box,\n select the version that you want to upgrade to and click **Done**. Note that\n you must upgrade through all minor versions when upgrading your cluster.\n\n### gcloud\n\nTo upgrade your cluster's Kubernetes version, run the following command: \n\n gcloud container azure clusters update \u003cvar translate=\"no\"\u003eCLUSTER_NAME\u003c/var\u003e \\\n --location=\u003cvar translate=\"no\"\u003eGOOGLE_CLOUD_LOCATION\u003c/var\u003e \\\n --cluster-version=\u003cvar translate=\"no\"\u003eCLUSTER_VERSION\u003c/var\u003e\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003eCLUSTER_NAME\u003c/var\u003e: your cluster's name\n- \u003cvar translate=\"no\"\u003eGOOGLE_CLOUD_LOCATION\u003c/var\u003e: the [supported Google Cloud region](/kubernetes-engine/multi-cloud/docs/azure/reference/supported-regions) that manages your cluster---for example, `us-west1`\n- \u003cvar translate=\"no\"\u003eCLUSTER_VERSION\u003c/var\u003e: the new [supported cluster version](/kubernetes-engine/multi-cloud/docs/azure/reference/supported-versions)\n\n### API\n\nTo update your cluster through the API, use a `PATCH` operation on the\nGKE Multi-Cloud API.\n\n1. Create a JSON file named `cluster_update.json` with the following\n contents:\n\n ```json\n {\n \"controlPlane\": {\n \"version\": \"CLUSTER_VERSION\",\n },\n }\n ```\n\n Replace the following:\n - \u003cvar translate=\"no\"\u003eCLUSTER_VERSION\u003c/var\u003e: the new [supported cluster version](/kubernetes-engine/multi-cloud/docs/azure/reference/supported-versions). Note that you must upgrade through all minor versions when upgrading your cluster\n2. Update these settings through the GKE Multi-Cloud API with following command.\n\n curl -d @cluster_update.json -X PATCH \\\n \u003cvar translate=\"no\"\u003eENDPOINT\u003c/var\u003e/projects/\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e/locations/\u003cvar translate=\"no\"\u003eGOOGLE_CLOUD_LOCATION\u003c/var\u003e/azureClusters/\u003cvar translate=\"no\"\u003eCLUSTER_ID\u003c/var\u003e?update_mask=controlPlane.Version\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003eENDPOINT\u003c/var\u003e: Your Google Cloud [service endpoint](/kubernetes-engine/multi-cloud/docs/reference/rest#rest_endpoints)\n- \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e: Your Google Cloud project\n- \u003cvar translate=\"no\"\u003eGOOGLE_CLOUD_LOCATION\u003c/var\u003e: the [supported Google Cloud region](/kubernetes-engine/multi-cloud/docs/azure/reference/supported-regions) that manages your cluster---for example, `us-west1`\n- \u003cvar translate=\"no\"\u003eCLUSTER_ID\u003c/var\u003e: Your cluster ID\n\nFor more information, see the\n[`projects.locations.azureClusters.patch`](/kubernetes-engine/multi-cloud/docs/reference/rest/v1/projects.locations.azureClusters/patch)\nmethod documentation.\n\nUpgrade your node pools\n-----------------------\n\nAfter you upgrade your cluster version, upgrade your node pools to complete the\nprocess. To learn how, see\n[Update a node pool](/kubernetes-engine/multi-cloud/docs/azure/how-to/update-node-pool).\n\nWhat's next\n-----------\n\n- Learn how to perform other [cluster updates](/kubernetes-engine/multi-cloud/docs/azure/how-to/update-cluster).\n\n- For more information on updatable fields, see the\n [`gcloud container azure clusters update`](/sdk/gcloud/reference/container/azure/clusters/update)\n reference documentation.\n\n- See the\n [`projects.locations.azureClusters.patch`](/kubernetes-engine/multi-cloud/docs/reference/rest/v1/projects.locations.azureClusters/patch)\n REST API documentation."]]