Uninstall the Apigee Operator for Kubernetes

This pageapplies toApigee andApigee hybrid.

View Apigee Edge documentation.

This page describes how to uninstall the Apigee Operator for Kubernetes from a GKE cluster. The following sections outline the steps required to complete this task:

Required roles

If you assigned the required roles to your service account as described inInstall the Apigee Operator for Kubernetes, no additional IAM roles or permissions are required to complete these tasks.

You can choose to authorize actions on resources in your Google Kubernetes Engine cluster using the built-in role-based access control (RBAC)mechanism in Kubernetes. For more information, seeAuthorize actions in clusters using role-based access control.

Remove the API management policies

To remove the API management policies, remove allyaml Kubernetes resources applied to the GKE cluster in reverse order.For example, if you followed the steps inCreate anAPIMExtensionPolicy andAdd policies to the GKE Gateway, you would remove the resources corresponding to the files in this order:

  • apigee-gateway-policy-withSA.yaml
  • new-admin-template.yaml
  • template-rule.yaml
  • apigee-policies.yaml
  • apim-policies.yaml
  • api-product.yaml
  • global-ext-lb1-apim-policy.yaml

Remove each resource using the following command:

kubectldelete-fFILENAME
whereFILENAME is the name of the file corresponding to the resource you want to remove.

Uninstall the Apigee Operator for Kubernetes

To uninstall the Apigee Operator for Kubernetes use the following commands:

helmuninstallapigee-apim-operator-napimhelmreporemoveapigee-apim-operator

These commands remove the Apigee Operator for Kubernetes and the Apigee CRD Helm charts from your cluster.

Uninstall the CRDs

To uninstall the Apigee CRDs, use the following command:

helmuninstallapigee-apim-crds-napim

Troubleshoot

If you encounter issues when uninstalling the Apigee Operator for Kubernetes, seeTroubleshoot the Apigee Operator for Kubernetes for solutions to common errors.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-02-18 UTC.