Halaman ini menjelaskan cara memindahkan workload antar-jenis mesin di cluster Google Kubernetes Engine (GKE).
Cluster GKE menjalankan workload di node
pekerja yang merupakan
virtual machine (VM) Compute Engine. Anda dapat memilih jenis mesin yang akan digunakan untuk menjalankan workload, bergantung pada mode cluster Anda:
Autopilot: Gunakan class komputasi untuk memilih konfigurasi komputasi tertentu berdasarkan persyaratan workload Anda. Anda dapat memilih
seri mesin tertentu. Untuk mempelajari lebih lanjut, lihat Class komputasi di Autopilot.
Seiring waktu, Anda mungkin ingin mengubah mesin yang menjalankan workload untuk
mengoptimalkan persyaratan workload yang terus berkembang atau untuk mendapatkan manfaat dari rangkaian mesin yang baru dirilis. Seri mesin generasi yang lebih baru dapat memiliki keunggulan seperti
performa berbanding harga yang lebih baik dan konsistensi performa yang lebih baik. Untuk mengetahui detail selengkapnya tentang seri mesin dan cara memilih di antara berbagai opsi, lihat Panduan perbandingan dan resource kelompok mesin.
Sebelum Anda memutuskan untuk bermigrasi ke jenis mesin baru, pastikan jenis mesin tersebut mendukung persyaratan spesifik Anda, termasuk ketersediaan regional.
Untuk memindahkan workload antar-jenis mesin, ikuti langkah-langkah berikut:
Autopilot: Perbarui konfigurasi workload Anda.
Standar: Pilih salah satu opsi berikut:
Ubah atribut mesin node
dari node pool yang ada. GKE menggunakan strategi upgrade node yang dikonfigurasi node pool untuk memigrasikan workload Anda dari jenis mesin sebelumnya ke jenis mesin baru.
Setelah Anda melakukan migrasi antar-jenis mesin, pastikan workload Anda berperforma
seperti yang diharapkan pada jenis mesin yang lebih baru. Anda dapat melakukan langkah yang sama jika perlu kembali ke konfigurasi awal.
[[["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-09-01 UTC."],[],[],null,["# Migrate nodes to a different machine type\n\n[Autopilot](/kubernetes-engine/docs/concepts/autopilot-overview) [Standard](/kubernetes-engine/docs/concepts/choose-cluster-mode)\n\n*** ** * ** ***\n\nThis page explains how to move workloads between machine types in\nGoogle Kubernetes Engine (GKE) clusters.\n\nGKE clusters run workloads on [worker\nnodes](/kubernetes-engine/docs/concepts/cluster-architecture#nodes) which are\nCompute Engine virtual machines (VMs). You can choose which machine types to\nrun your workloads on depending on your cluster mode:\n\n- **Autopilot** : Use compute classes to choose a specific compute configuration based on your workload requirements. You can choose a specific [machine series](/compute/docs/machine-resource#vm_terminology). To learn more, see [Compute classes in\n Autopilot](/kubernetes-engine/docs/concepts/autopilot-compute-classes#when-to-use).\n- **Standard** : Specify a machine type when you [add a node pool to a\n Standard cluster](/kubernetes-engine/docs/how-to/node-pools#add).\n\nOver time, you might want to change the machines that run your workloads to\noptimize for evolving workload requirements or to benefit from newly released\nmachine series. Newer generation machine series can have advantages such as\nimproved price-to-performance and improved performance consistency. For more\ndetails about machine series and choosing between different options, see the\n[Machine families resource and comparison\nguide](/compute/docs/machine-resource).\n\nBefore you decide to migrate to a new machine type, ensure that the machine type\nsupports your specific requirements, including regional availability.\n\nTo move workloads between machine types, take the following steps:\n\n- **Autopilot**: Update your workload configuration.\n- **Standard** : Choose one of the following options:\n - [Change the node machine\n attributes](/kubernetes-engine/docs/how-to/node-pools#change-machine-attributes) of your existing node pool. GKE uses the node pool's configured node upgrade strategy to migrate your workloads from the previous machine type to the new machine type.\n - Create a new node pool and then [migrate workloads between node\n pools](/kubernetes-engine/docs/how-to/node-pools#migrate).\n\nAfter you've migrated between machine types, ensure that your workloads perform\nas expected on the newer machine type. You can perform the same steps if you\nneed to move back to the original configuration."]]