[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-09-04。"],[],[],null,["# kf delete\n\n### Name\n\n`kf delete` - Delete the App with the given name in the targeted Space.\n\n### Synopsis\n\n```\nkf delete NAME [flags]\n```\n\n### Description\n\nDeletes the App with the given name and wait for it to be deleted.\n\nKubernetes will delete the App once all child resources it owns have been deleted.\nDeletion may take a long time if any of the following conditions are true:\n\n- There are many child objects.\n- There are finalizers on the object preventing deletion.\n- The cluster is in an unhealthy state.\n\nDeleting an App will remove associated deployment history, cluster logs, and Builds.\n\nThings that won't be deleted:\n\n- source code\n- container images\n- Routes\n- ServiceInstances\n\n### Examples\n\n```\nkf delete my-app\n```\n\n### Flags\n\n`--async`\n\n: Do not wait for the action to complete on the server before returning.\n\n`-h, --help`\n\n: help for delete\n\n`--retries=`\u003cvar translate=\"no\"\u003eint\u003c/var\u003e\n\n: Number of times to retry execution if the command isn't successful. (default 5)\n\n`--retry-delay=`\u003cvar translate=\"no\"\u003eduration\u003c/var\u003e\n\n: Set the delay between retries. (default 1s)\n\n### Inherited flags\n\nThese flags are inherited from parent commands.\n\n`--as=`\u003cvar translate=\"no\"\u003estring\u003c/var\u003e\n\n: Username to impersonate for the operation.\n\n`--as-group=`\u003cvar translate=\"no\"\u003estrings\u003c/var\u003e\n\n: Group to impersonate for the operation. Include this flag multiple times to specify multiple groups.\n\n`--config=`\u003cvar translate=\"no\"\u003estring\u003c/var\u003e\n\n: Path to the Kf config file to use for CLI requests.\n\n`--kubeconfig=`\u003cvar translate=\"no\"\u003estring\u003c/var\u003e\n\n: Path to the kubeconfig file to use for CLI requests.\n\n`--log-http`\n\n: Log HTTP requests to standard error.\n\n`--space=`\u003cvar translate=\"no\"\u003estring\u003c/var\u003e\n\n: Space to run the command against. This flag overrides the currently targeted Space."]]