Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Untuk menyelesaikan upgrade cluster dan menyelesaikan migrasi ke
komponen fleet penayangan Knative, Anda harus menghapus semua resource yang tidak berlaku dan tidak digunakan
dari cluster.
[[["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-08-04 UTC."],[],[],null,["# Complete the Knative serving upgrade\n\nTo finalize the upgrade of your cluster and complete the migration to the\nKnative serving fleet component, you must remove all the stale and unused\nresources from your cluster.\n\nBefore you begin\n----------------\n\n| **Warning:** After performing the steps on this page, you can no longer rollback your changes.\n\n- You must first review and ensure that you meet the\n [requirements for upgrading](/kubernetes-engine/enterprise/knative-serving/docs/install/on-gcp/upgrade).\n\n- The commands on this page use the environment variables and migration script\n from the [upgrade preparation step](/kubernetes-engine/enterprise/knative-serving/docs/install/on-gcp/upgrade/prepare).\n\n- It is important that you perform each step of this process in the\n [specified order](/kubernetes-engine/enterprise/knative-serving/docs/install/on-gcp/upgrade#upgrading).\n\nOverview\n--------\n\nIn this step, the [migration script](/kubernetes-engine/enterprise/knative-serving/docs/install/on-gcp/upgrade/prepare) is used to perform\nthe following:\n\n- Enforce full control of your Knative serving resources by the the `appdevexperience-operator` operator.\n- Delete the bundle Istio and Knative serving GKE add-on.\n- Delete all helper configmaps.\n\nYou can then re-enable the \"scaling to zero\" feature.\n\nComplete the Knative serving upgrade\n------------------------------------\n\nTo complete your Knative serving upgrade and finalize the migration process:\n\n1. Run the following command to start the migration script:\n\n ./migration-addon.sh --command finalize\n\n2. In the terminal, the migration script prompts you to confirm that you want\n to proceed. Enter `y` to finalize the process.\n\n The prompts during the process this final step look similar to the following: \n\n In the process of cleaning up, the script performs the following:\n 1. enforcing Knative serving operator fully controls Knative serving resources.\u003cbr\u003e\n 2. deleting Istio slim installed by Knative serving GKE add-on\u003cbr\u003e\n 3. deleting helper configmaps\n Continue? [Y/n] y\u003cbr\u003e\n\n 1. enforcing Knative serving operator fully controls Knative serving resources.\n cloudrun.operator.run.cloud.google.com/cloud-run patched\n\n Waiting for Knative serving serving to be ready...\n Knative serving serving is ready.\n\n 2. Deleting Istio slim resources\n\n 3. Deleting helper configmaps\n\n Cleanup is done. The upgrade to new Knative serving completes! \u003cbr\u003e\n\n3. Run the following command to enable \"scaling to 0\":\n\n kubectl patch cm config-autoscaler -n knative-serving -p '{\"data\":{\"enable-scale-to-zero\": \"true\"}}'"]]