Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Memperbarui cluster berarti memperbarui atribut atau versi yang terkait dengan cluster terpasang GKE. Tindakan ini tidak mengubah versi Kubernetes yang dijalankan cluster atau mengupdate atribut cluster yang tidak terkait dengan cluster terlampir GKE. Anda dapat mengupdate cluster dengan Google Cloud CLI atau konsol Google Cloud .
Klik nama cluster yang ingin Anda update, lalu pilih Lihat detail lainnya di panel samping.
Di tab Details, Anda dapat memperbarui informasi dasar tentang cluster atau mengupgrade versi cluster terlampir GKE.
Untuk memperbarui dasar-dasar cluster:
Pilih edit Edit di samping
kolom yang ingin Anda ubah.
Setelah selesai melakukan perubahan, pilih Selesai.
Untuk mengupgrade versi cluster terpasang GKE:
Pilih editUpgrade tersedia di samping Versi platform.
Pilih versi dari daftar, lalu klik Selesai.
Mengupgrade versi platform tidak akan mengubah versi Kubernetes di cluster.
Gunakan argumen --platform-version untuk mengupgrade cluster Anda
Gunakan argumen --platform-version opsional dengan perintah
gcloud container attached clusters update untuk mengupgrade
versi software cluster terlampir GKE yang diinstal di
cluster Anda. Misalnya, Anda dapat melakukan upgrade dari versi 1.28.0-gke.1 ke
1.28.0-gke.3, atau dari versi 1.28.x ke 1.29.y.
Namun, perintah gcloud container attached clusters update tidak dapat digunakan untuk mengupgrade cluster yang terpasang menggunakan cluster terpasang GKE generasi sebelumnya ke generasi saat ini. Generasi sebelumnya ini adalah software lama dan tidak terkelola yang tidak lagi menerima fitur, perbaikan, atau dukungan baru.
Untuk memigrasikan cluster dari generasi sebelumnya ke generasi saat ini,
ikuti langkah-langkah di
Memigrasikan cluster.
Penomoran versi platform
Dokumen ini menyebut versi cluster terlampir GKE sebagai versi platform, untuk membedakannya dengan versi Kubernetes. Cluster terlampir GKE menggunakan konvensi penomoran versi yang sama dengan GKE - misalnya, 1.21.5-gke.1. Saat melampirkan
atau mengupdate cluster, Anda harus memilih versi platform yang versi minornya
sama dengan atau satu tingkat di bawah versi Kubernetes cluster Anda. Misalnya, Anda dapat melampirkan cluster yang menjalankan Kubernetes v1.22.* dengan versi platform cluster terlampir GKE 1.21.* atau 1.22.*.
Dengan begitu, Anda dapat mengupgrade cluster ke versi minor berikutnya sebelum mengupgrade cluster terlampir GKE.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-07-31 UTC."],[],[],null,["# Update your AKS attached cluster\n\nUpdating a cluster means updating the attributes or version associated with\nGKE attached clusters. This doesn't change the Kubernetes version that the cluster\nis running or update cluster attributes not related to GKE attached clusters. You can\nupdate the cluster with the Google Cloud CLI or the Google Cloud console. \n\n### gcloud CLI\n\nTo update an attached cluster, use the\n[`gcloud container attached clusters update` command](/sdk/gcloud/reference/container/attached/clusters/update):\n\n```sh\ngcloud container attached clusters update CLUSTER_NAME \\\n --location GOOGLE_CLOUD_REGION\n```\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003eCLUSTER_NAME\u003c/var\u003e: the name of the cluster\n- \u003cvar translate=\"no\"\u003eGOOGLE_CLOUD_REGION\u003c/var\u003e: the name of the Google Cloud region to administer your cluster from\n\nFor information about all the arguments you can use when updating a cluster,\nsee the\n[`gcloud container attached clusters update` command](/sdk/gcloud/reference/container/attached/clusters/update).\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. Click the name of the cluster you want to update, and then select **View\n more details** in the side panel.\n\n4. On the **Details** tab, you can update basic information about the\n cluster or upgrade the GKE attached clusters version.\n\n - To update cluster basics:\n\n 1. Select edit **Edit** next to\n a field that you want to change.\n\n 2. When you are finished making changes, select **Done**.\n\n - To upgrade the GKE attached clusters version:\n\n 1. Select edit\n **Upgrade available** next to **Platform version**.\n\n 2. Select the version from the list, and click **Done**.\n\n Upgrading the platform version doesn't change the Kubernetes version\n on the cluster.\n\nUse the `--platform-version` argument to upgrade your cluster\n-------------------------------------------------------------\n\nUse the optional `--platform-version` argument with the\n`gcloud container attached clusters update` command to upgrade the\nversion of the GKE attached clusters software installed on your\ncluster. For example, this lets you upgrade from version 1.28.0-gke.1 to\n1.28.0-gke.3, or from version 1.28.x to 1.29.y.\n\nHowever, the `gcloud container attached clusters update` command can't be used\nto upgrade a cluster attached using the previous generation of\n[GKE attached clusters](/kubernetes-engine/multi-cloud/docs/attached/previous-generation/how-to/attach-kubernetes-clusters) to the current generation. This previous generation\nis older and unmanaged software that no longer receives new features, fixes, or\nsupport.\n\nTo migrate a cluster from the previous generation to the current generation,\nfollow the steps in\n[Migrate your cluster](/kubernetes-engine/multi-cloud/docs/attached/aks/how-to/migrate-cluster).\n\nPlatform version numbering\n--------------------------\n\nThese documents refer to the GKE attached clusters version as the platform version,\nto distinguish it from the Kubernetes version. GKE attached clusters uses the same\nversion numbering convention as GKE - for example, 1.21.5-gke.1. When attaching\nor updating your cluster, you must choose a platform version whose minor version\nis the same as or one level below the Kubernetes version of your cluster. For\nexample, you can attach a cluster running Kubernetes v1.22.\\* with\nGKE attached clusters platform version 1.21.\\* or 1.22.\\*.\n\nThis lets you upgrade your cluster to the next minor version before upgrading\nGKE attached clusters."]]