Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
L'aggiornamento di un cluster significa aggiornare gli attributi o la versione associati ai cluster collegati a GKE. Ciò non modifica la versione di Kubernetes in esecuzione sul cluster né aggiorna gli attributi del cluster non correlati ai cluster collegati a GKE. Puoi
aggiornare il cluster con Google Cloud CLI o la Google Cloud console.
Seleziona il Google Cloud progetto in cui si trova il cluster.
Fai clic sul nome del cluster da aggiornare e poi seleziona Visualizza
più dettagli nel riquadro laterale.
Nella scheda Dettagli, puoi aggiornare le informazioni di base sul
cluster o eseguire l'upgrade della versione dei cluster collegati a GKE.
Per aggiornare le impostazioni di base del cluster:
Seleziona edit Modifica accanto al campo che vuoi modificare.
Al termine delle modifiche, seleziona Fine.
Per eseguire l'upgrade della versione dei cluster collegati a GKE:
Seleziona editUpgrade disponibile accanto a Versione della piattaforma.
Seleziona la versione dall'elenco e fai clic su Fine.
L'upgrade della versione della piattaforma non modifica la versione di Kubernetes sul cluster.
Utilizza l'argomento --platform-version per eseguire l'upgrade del cluster
Utilizza l'argomento facoltativo --platform-version con il comando gcloud container attached clusters update per eseguire l'upgrade della versione del software dei cluster GKE collegati installato sul tuo cluster. Ad esempio, puoi eseguire l'upgrade dalla versione 1.28.0-gke.1 alla versione 1.28.0-gke.3 o dalla versione 1.28.x alla versione 1.29.y.
Tuttavia, il comando gcloud container attached clusters update non può essere utilizzato per eseguire l'upgrade di un cluster collegato utilizzando la generazione precedente di cluster collegati GKE alla generazione attuale. Questa generazione precedente è un software precedente e non gestito che non riceve più nuove funzionalità, correzioni o assistenza.
Per eseguire la migrazione di un cluster dalla generazione precedente a quella attuale,
segui i passaggi descritti in
Eseguire la migrazione del cluster.
Numerazione delle versioni della piattaforma
Questi documenti fanno riferimento alla versione dei cluster collegati a GKE come alla versione della piattaforma per distinguerla dalla versione Kubernetes. I cluster collegati a GKE utilizzano la stessa convention di numerazione delle versioni di GKE, ad esempio 1.21.5-gke.1. Quando colleghi o aggiorni il cluster, devi scegliere una versione della piattaforma la cui versione secondaria sia uguale o un livello inferiore alla versione Kubernetes del cluster. Ad esempio, puoi collegare un cluster che esegue Kubernetes 1.22.* con la versione della piattaforma dei cluster collegati GKE 1.21.* o 1.22.*.
In questo modo puoi eseguire l'upgrade del cluster alla versione secondaria successiva prima di eseguire l'upgrade dei cluster collegati GKE.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 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."]]