CmdID

CmdID / kubectl

kubectl delete

Delete resources by file names, stdin, resources and names, or by resources and label selector kubectl reference

19 options Its page in the kubectl reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

19 in the kubectl reference
--all-namespaces, -AIf present, list the requested object(s) across all namespaces.
--allDelete all resources, in the namespace of the specified resource types.
--cascadeMust be "background", "orphan", or "foreground".
--dry-runMust be "none", "server", or "client".
--field-selectorSelector (field query) to filter on, supports '=', '==', and '!='.(e.g. --field-selector key1=value1,key2=value2).
--filename, -fcontaining the resource to delete.
--forceIf true, immediately remove resources from API and bypass graceful deletion.
--grace-periodPeriod of time in seconds given to the resource to terminate gracefully.
--help, -hhelp for delete
--ignore-not-foundTreat "resource not found" as a successful delete.
--interactive, -iIf true, delete resource only when user confirms.
--kustomize, -kProcess a kustomization directory.
--nowIf true, resources are signaled for immediate shutdown (same as --grace-period=1).
--output, -oOutput mode.
--rawRaw URI to DELETE to the server.
--recursive, -RProcess the directory used in -f, --filename recursively.
--selector, -lSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)).
--timeoutThe length of time to wait before giving up on a delete, zero means determine a timeout from the size of the object
--waitIf true, wait for resources to be gone before returning.