Google Cloud 기반 GKE 클러스터에서 새 버전으로 자동 업그레이드하도록 구성 동기화를 구성할 수 있습니다.
구성 동기화에 자동 업그레이드를 사용 설정하면 관리 경험이 간소화됩니다. Google에서 구성 동기화 버전을 자동으로 업그레이드하고 구성요소의 수명 주기를 감독할 책임을 집니다. 자동 업그레이드를 사용 설정하면 다음과 같은 이점이 있습니다.
유지보수 오버헤드 감소: 최신 구성 동기화 버전을 모니터링하고 클러스터 간에 구성 동기화를 수동으로 업그레이드할 필요가 없습니다.
지원되는 버전 유지: 지원되지 않는 구성 동기화 버전을 사용하지 않도록 Google이 클러스터에서 지원되는 최신 버전을 유지합니다.
안정성 향상: Google이 구성 동기화 구성요소를 관리하고 변경사항이 있는 경우 구성요소를 조정합니다.
구성 동기화 버전 및 GKE 출시 채널
구성 동기화는 Google Kubernetes Engine 클러스터 출시 채널을 기반으로 업그레이드할 버전을 선택합니다. GKE 출시 채널을 사용하지 않는 클러스터는 안정화 버전 GKE 출시 채널을 사용하는 클러스터로 취급됩니다.
자동 업그레이드를 사용해서 구성 동기화가 클러스터에서 자동으로 업그레이드되도록 할 수 있습니다. 출시 채널에서 구성 동기화의 새 버전을 사용할 수 있게 되면 구성 동기화에서 클러스터 출시 채널과 일치하도록 구성 동기화 버전을 업그레이드합니다. 신속 채널은 최신 버전의 구성 동기화가 제공되는 즉시 이를 제공합니다. 일반 채널은 최신 버전의 구성 동기화를 합리적으로 빠른 시일 내에 제공합니다. 안정화 버전 채널은 신속 채널 및 일반 채널에서 검증된 후에 최신 버전의 구성 동기화를 제공합니다.
자동 업그레이드가 사용 설정된 클러스터의 Upgrades 열에 '자동'이 표시됩니다.
자동 업그레이드를 사용 설정할 때 오류가 있으면 Status 열에 자세한 오류 메시지와 함께 ERROR가 표시됩니다.
출시 채널 변경
클러스터의 출시 채널 변경에 대한 자세한 내용은 GKE 문서에서 클러스터의 출시 채널 변경을 참조하세요. 구성 동기화에 대해 자동 업그레이드가 사용 설정된 경우 출시 채널을 변경할 때 다음을 고려해야 합니다.
출시 채널을 덜 안정적인 채널로 변경하면(예: 안정화 버전에서 신속 채널로) 구성 동기화가 원래 출시 채널에서 지원되는 최신 버전을 새 출시 채널에서 지원되는 최신 버전으로 자동 업그레이드합니다.
출시 채널을 더 안정적인 채널로 변경하면(예: 신속 채널에서 안정화 버전으로) 구성 동기화가 버전을 다운그레이드하지 않습니다. 시간이 지나면 원래 출시 채널에서 지원되는 최신 버전이 새로운 출시 채널로 승격됩니다.l. 새로운 출시 채널에서 새 버전을 사용할 수 있으면 정상적으로 구성 동기화 자동 업그레이드가 수행됩니다.
출시 채널에서 구독을 취소해도 구성 동기화 자동 업그레이드에는 영향을 주지 않습니다. 클러스터가 안정화 버전 출시 채널에 등록된 것처럼 구성 동기화 버전이 업그레이드됩니다.
구성 동기화 수동 업그레이드
구성 동기화를 업그레이드하기 전에 출시 노트에서 버전 간 변경사항에 대한 자세한 내용을 확인하세요. 지원되지 않는 구성 동기화 버전에서 업그레이드해야 하는 경우 한 번에 3개 이하의 부 버전으로 증분하여 단계별 업그레이드를 수행해야 합니다. 예를 들어 현재 구성 동기화 버전이 1.11.0이면 먼저 버전 1.14.0으로 업그레이드한 후 버전 1.17.0으로 업그레이드합니다.
[[["이해하기 쉬움","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 Config Sync\n\nThis page explains how to upgrade the Config Sync version installed on your\nclusters.\n\nManually upgrade Config Sync\n----------------------------\n\nTo stay within the\n[support window](/kubernetes-engine/enterprise/config-sync/docs/get-support-config-sync#recommended_version),\nwe recommend that you upgrade at least every nine months. However, you can\nupgrade more frequently to get the latest features and security updates.\n\n### Upgrade from an unsupported version\n\nIf your version of Config Sync is unsupported, you can try to upgrade it by\nusing one of the following options:\n\n- (Recommended) Perform a step-by-step upgrade with increments of no more than two minor versions at a time. For example, if you're on version N-4 (an unsupported version), you should upgrade to N-2 (a supported version), and then you can upgrade to N (a supported version). This approach is the safest method to upgrade, but only works if the first incremental upgrade is to a supported version.\n- Upgrade directly to a supported version. If you can't perform a step-by-step upgrade, you can try upgrading directly to a supported version. For example, if you're on version N-6 (an unsupported version), trying to perform an incremental upgrade to N-4 (an unsupported version) won't work. In this scenario, you can try upgrading directly to N-2 (the earliest supported version).\n- If your Config Sync version is significantly behind, and the previous options don't work, you can uninstall and reinstall Config Sync.\n\nUpgrade Config Sync\n-------------------\n\nBefore you upgrade Config Sync, check the\n[release notes](/kubernetes-engine/enterprise/config-sync/docs/release-notes) for\ndetails on what's changed between versions.\n| **Note:** If you use Config Controller to install and manage Config Sync, you don't need to manually upgrade. Config Controller is a managed service, so Google upgrades it automatically. For details on Config Controller changes, see the [Config Controller release notes](/kubernetes-engine/enterprise/config-controller/docs/release-notes).\n\nTo upgrade Config Sync, complete the following steps: \n\n### console\n\n1. In the Google Cloud console, go to the **Config** page under the **Features** section.\n\n \u003cbr /\u003e\n\n [Go to Config](https://console.cloud.google.com/kubernetes/config_management)\n2. Under the **Settings** tab, next to the cluster whose Config Sync version you want to upgrade, select **Edit cluster config**.\n3. From the **Version** drop-down list, select the version that you want to upgrade to.\n4. Click **Upgrade Config Sync**.\n\n### gcloud\n\n1. (Optional) If you want to check which Config Sync version is installed on your clusters before you upgrade, run the following command:\n\n gcloud beta container fleet config-management version\n\n2. Run the following command:\n\n gcloud beta container fleet config-management upgrade \\\n --version=\u003cvar translate=\"no\"\u003eVERSION\u003c/var\u003e \\\n --membership=\u003cvar translate=\"no\"\u003eMEMBERSHIP_NAME\u003c/var\u003e\n\n Replace the following:\n - \u003cvar translate=\"no\"\u003eVERSION\u003c/var\u003e: the version that you want to upgrade to.\n - \u003cvar translate=\"no\"\u003eMEMBERSHIP_NAME\u003c/var\u003e: the fleet membership name that you chose when you registered your cluster. You can find the membership name by running `gcloud container fleet memberships list`.\n\nAuto-upgrade Config Sync\n------------------------\n\n| **Caution:** The Config Sync auto-upgrades feature is unavailable starting in Config Sync version 1.21.0. You can no longer configure auto-upgrade settings and must [manually upgrade the Config Sync version](/kubernetes-engine/enterprise/config-sync/docs/how-to/upgrade-config-sync#manually-upgrade). If you currently use auto-upgrades, you must first [disable auto-upgrades](/kubernetes-engine/enterprise/config-sync/docs/how-to/upgrade-config-sync#disable-auto-upgrades) before you can manually update Config Sync.\n|\n| **Preview**\n|\n|\n| This product or feature is subject to the \"Pre-GA Offerings Terms\" in the General Service Terms section\n| of the [Service Specific Terms](/terms/service-terms#1).\n|\n| Pre-GA products and features are available \"as is\" and might have limited support.\n|\n| For more information, see the\n| [launch stage descriptions](/products#product-launch-stages).\n\n### Disable auto-upgrades\n\nTo disable Config Sync auto-upgrades, complete the following steps:\n**Important:** You can't disable Config Sync auto-upgrades through the Google Cloud console. Use the gcloud CLI or Terraform instructions instead. \n\n### gcloud\n\nRemove the `upgrades` field from your [Google Cloud CLI `apply spec`\nfile](/kubernetes-engine/enterprise/config-sync/docs/reference/gcloud-apply-fields#config_sync).\n\n### Terraform\n\nSet the `configmanagement.management` field to `MANAGEMENT_MANUAL` in the\n[google_gke_hub_feature_membership](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/gke_hub_feature_membership#configmanagement-1)\nresource.\n| **Important:** Don't remove the `configmanagement.management` field from the `google_gke_hub_feature_membership` resource. Removing the field doesn't disable Config Sync auto-upgrades since Terraform can't detect the change.\n\n### Config Connector\n\nSet the `configmanagement.management` field to `MANAGEMENT_MANUAL` in the\n[`GKEHubFeatureMembership`](/config-connector/docs/reference/resource-docs/gkehub/gkehubfeaturemembership)\nresource.\n| **Important:** Don't remove the `configmanagement.management` field from the `GKEHubFeatureMembership` resource. Removing the field doesn't disable Config Sync auto-upgrades and causes the fields to become [externally-managed](/config-connector/docs/concepts/managing-fields-externally) instead of managed by Config Connector."]]