Exclua a instância da Apigee no contexto que você acabou de selecionar com o comando
apigeectl:
Apigeectl delete --all -f overrides.yaml
Verifique os pods atuais do Kubernetes:
Kubectl get pods -n apigee
Kubectl get pods -n apigee-system
Defina o contexto para outras regiões existentes e verifique se o data center do cassandra foi removido do anel atual. A saída não deve mostrar os detalhes do data center removidos.
[[["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-28 UTC."],[[["\u003cp\u003eThis guide details how to decommission a region in a multi-region Apigee hybrid environment.\u003c/p\u003e\n"],["\u003cp\u003eBefore starting, ensure no live traffic is directed to the region scheduled for deletion.\u003c/p\u003e\n"],["\u003cp\u003eThe process begins by setting the Kubernetes context to the region that will be decommissioned using \u003ccode\u003ekubectl config use-context\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eDecommissioning is completed by deleting the Apigee instance within the selected context using the \u003ccode\u003eapigeectl delete\u003c/code\u003e command.\u003c/p\u003e\n"],["\u003cp\u003eAfter deletion, Verify the removed Cassandra data center is removed from the other existing regions by setting their contexts and using \u003ccode\u003enodetool status\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Decommission a hybrid region\n\n| You are currently viewing version 1.6 of the Apigee hybrid documentation. **This version is end of life.** You should upgrade to a newer version. For more information, see [Supported versions](/apigee/docs/hybrid/supported-platforms#supported-versions).\n\n\nThis guide explains the procedure to decommission a region in a multi region environment.\n| Please ensure there is no live traffic going to the region you plan to delete.\n\nDecommission a hybrid region\n----------------------------\n\n1. Set the kubernetes contexts to the region that needs to be decommissioned.\n List your current contexts to see the context name for each cluster:\n\n ```\n kubectl config get-contexts\n ```\n\n\n Set the context to the cluster and region you want to decommission: \n\n ```\n kubectl config use-context CONTEXT_NAME\n ```\n\n\n Where \u003cvar translate=\"no\"\u003eCONTEXT_NAME\u003c/var\u003e is the context name for the cluster and region.\n\n\n For example: \n\n kubectl config get-contexts\n CURRENT NAME CLUSTER AUTHINFO NAMESPACE\n gke_example-org-1_us-central1_example-cluster-1 gke_example-org-1_us-central1_example-cluster-1 gke_example-org-1_us-central1_example-cluster-1 apigee\n * gke_example-org-1_us-central1_example-cluster-2 gke_example-org-1_us-central1_example-cluster-2 gke_example-org-1_us-central1_example-cluster-2 apigee\n gke_example-org-1_us-west1_example-cluster-2 gke_example-org-1_us-west1_example-cluster-2 gke_example-org-1_us-west1_example-cluster-2 apigee\n\n kubectl config use-context gke_example-org-1_us-west1_example-cluster-2\n\n2. Delete the Apigee instance in the context you just selected with the `apigeectl` command: \n\n ```\n Apigeectl delete --all -f overrides.yaml\n ```\n3. Check the current Kubernetes pods: \n\n Kubectl get pods -n apigee\n Kubectl get pods -n apigee-system\n\n4. Set the context to other existing regions and make sure the cassandra datacenter is removed from the existing ring. The output should not show the removed data center details. \n\n ```\n kubectl exec apigee-cassandra-default-0 -n apigee -- nodetool -u JMX_USER -pw JMX_PASSWORD status\n ```"]]