To delete Apigee components within a specific scope, use apigeectl
  with the flags for the scope that includes those components:
- --all-envs: all environment-scope components in all the environments under the organization named in the override config file
- --datastore: Cassandra.
- --env env-name: the environment-scope components: Runtime, Synchronizer, and UDCA
- --org: the organization-scope components: Apigee Connect Agent, Mart, and Watcher
- --settings virtualhosts:- virtualhostsettings only
- --telemetry: Logger and Metrics
For example:
apigeectl delete -f your_overrides_file.yaml --org --env env-name
To delete only the Apigee components from the cluster, use this command:
apigeectl delete -f your_overrides_file.yaml
Use the following commands to delete the entire Apigee hybrid installation except cert-manager from your cluster:
- Run apigeectl deletewith the default scope:apigeectl delete -f your_overrides_file.yaml 
- Verify that the Apigee hybrid components were deleted:
kubectl -n apigee get apigeedatastore,apigeeredis,apigeetelemetry,org,env,arc Your output should be empty 
- Run apigeectl deleteagain with--all:apigeectl delete --all -f your_overrides_file.yaml 
To uninstall cert-manager, see Uninstalling on Kubernetes in the cert-manager documentation.
For more information about the apigeectl command, see
apigeectl.
Use the following command to remove cert-manager:
kubectl -n cert-manager delete secret apigee-ca