Zum Löschen von Apigee-Komponenten in einem bestimmten Bereich verwenden Sie apigeectl mit den Flags für den Bereich, der diese Komponenten enthält:
--all-envs: Alle Komponenten von Umgebungsbereichen in den Umgebungen der Organisation, die in der Konfigurationsdatei zum Überschreiben aufgeführt ist
--datastore: Cassandra.
--env env-name: Die Komponenten des Umgebungsbereichs: Runtime, Synchronizer und UDCA
--org: Die Komponenten auf Organisationsebene: Apigee Connect-Agent, Mart und Watcher
--settings virtualhosts: Nur virtualhost-Einstellungen
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-08-21 (UTC)."],[[["\u003cp\u003e\u003ccode\u003eapigeectl delete\u003c/code\u003e command is used to remove Apigee components within specific scopes, such as environments, organizations, or datastores.\u003c/p\u003e\n"],["\u003cp\u003eTo completely remove all Apigee components from the cluster, including backup data, use \u003ccode\u003eapigeectl delete --all -f your_overrides_file.yaml\u003c/code\u003e, however, be mindful that this will also delete CSI volume snapshot backups.\u003c/p\u003e\n"],["\u003cp\u003eTo remove only the Apigee components, you can run \u003ccode\u003eapigeectl delete -f your_overrides_file.yaml\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eTo remove the entire Apigee hybrid installation, the default scope of \u003ccode\u003eapigeectl delete\u003c/code\u003e should be run first, followed by verification, then the same command should be ran again with the \u003ccode\u003e--all\u003c/code\u003e flag.\u003c/p\u003e\n"],["\u003cp\u003eCert-manager is uninstalled separately from Apigee hybrid, and you will need to remove the apigee-ca secret using \u003ccode\u003ekubectl -n cert-manager delete secret apigee-ca\u003c/code\u003e if you uninstall cert-manager.\u003c/p\u003e\n"]]],[],null,["# Uninstall hybrid runtime\n\n| You are currently viewing version 1.10 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| **Note:** To uninstall successfully, you must have kubectl version 1.11.x or later installed.\n\n\nTo delete **Apigee components within a specific scope** , use `apigeectl`\nwith the flags for the scope that includes those components:\n\n- `--all-envs`: all environment-scope components in all the environments under the organization named in the override config file\n- `--datastore`: Cassandra.\n- `--env `\u003cvar translate=\"no\"\u003eenv-name\u003c/var\u003e: the environment-scope components: Runtime, Synchronizer, and UDCA\n- `--org`: the organization-scope components: Apigee Connect Agent, Mart, and Watcher\n- `--settings virtualhosts`: `virtualhost` settings only\n- `--telemetry`: Logger and Metrics\n\n\nFor example: \n\n```\napigeectl delete -f your_overrides_file.yaml --org --env env-name\n```\n\n\nTo delete **only the Apigee components** from the cluster, use this command: \n\n```\napigeectl delete -f your_overrides_file.yaml\n```\n\nUse the following commands to delete **the entire Apigee hybrid installation except cert-manager** from your cluster:\n\n1. Run `apigeectl delete` with the default scope: \n\n ```\n apigeectl delete -f your_overrides_file.yaml\n ```\n2. Verify that the Apigee hybrid components were deleted: \n\n ```\n kubectl -n apigee get apigeedatastore,apigeeredis,apigeetelemetry,org,env,arc\n ```\n\n Your output should be empty\n3. Run `apigeectl delete` again with `--all`: **Warning:**\n |\n | Using the `apigeectl delete` command with the `--all` flag (for\n | example, `apigeectl delete --all -f overrides.yaml`) will also delete\n backup data for all CSI volume snapshots. \n\n ```\n apigeectl delete --all -f your_overrides_file.yaml\n ```\n\nTo uninstall cert-manager, see [Uninstalling\non Kubernetes](https://cert-manager.io/docs/installation/uninstall/kubernetes/) in the cert-manager documentation.\n\nFor more information about the `apigeectl` command, see\n[`apigeectl`](/apigee/docs/hybrid/v1.10/cli-reference).\n\n\nUse the following command to remove cert-manager:\n**Note:** Some Google Distributed Cloud versions come with their own bundled version of cert-manager. If for certain reasons, you need to remove this bundled cert-managar and install your own cert-manager, follow the instructions in [Conflicting `cert-manager` installation](https://cloud.google.com/anthos/clusters/docs/on-prem/1.13/known-issues#conflicting-cert-manager-installation) to avoid conflicts. \n\n```\nkubectl -n cert-manager delete secret apigee-ca\n```\n| If you have a multi-region installation, and you want to install Apigee hybrid again on the same region, you need to follow the instructions for copying the `apigee-ca` secret in [Multi-region\n| deployment on GKE and GKE on-prem](/apigee/docs/hybrid/v1.10/multi-region#set-up-the-new-region)."]]