Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Para finalizar o upgrade do cluster e concluir a migração para o
componente de frota do Knative serving, você precisa remover todos os componentes desatualizados e não utilizados
recursos do seu cluster.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 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\"}}'"]]