mirror of https://github.com/helm/helm
parent
889572d7ff
commit
0c90fa4a75
@ -0,0 +1,51 @@
|
||||
## helm prune
|
||||
|
||||
Purges deleted releases
|
||||
|
||||
### Synopsis
|
||||
|
||||
|
||||
This command purges all deleted releases, cleaning them from removing them permanently so they can't be rolled back.
|
||||
Internally, it performs the 'helm list --deleted' command to find all releases with the stats 'Status_DELETED',
|
||||
and then runs the 'helm delete --purge' command on those releases.
|
||||
|
||||
The prune command is designed to encourage a workflow of not immediately purging releases.
|
||||
This gives users the opportunity to 'rollback' a delete if necessary, and then 'prune' their releases
|
||||
when they are sure that they are not necessary anymore.
|
||||
|
||||
|
||||
```
|
||||
helm prune [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for prune
|
||||
--no-hooks Prevent hooks from running during deletion
|
||||
--timeout int Time in seconds to wait for any individual Kubernetes operation (like Jobs for hooks) (default 300)
|
||||
--tls Enable TLS for request
|
||||
--tls-ca-cert string Path to TLS CA certificate file (default "$HELM_HOME/ca.pem")
|
||||
--tls-cert string Path to TLS certificate file (default "$HELM_HOME/cert.pem")
|
||||
--tls-hostname string The server name used to verify the hostname on the returned certificates from the server
|
||||
--tls-key string Path to TLS key file (default "$HELM_HOME/key.pem")
|
||||
--tls-verify Enable TLS for request and verify remote
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
--debug Enable verbose output
|
||||
--home string Location of your Helm config. Overrides $HELM_HOME (default "~/.helm")
|
||||
--host string Address of Tiller. Overrides $HELM_HOST
|
||||
--kube-context string Name of the kubeconfig context to use
|
||||
--kubeconfig string Absolute path of the kubeconfig file to be used
|
||||
--tiller-connection-timeout int The duration (in seconds) Helm will wait to establish a connection to Tiller (default 300)
|
||||
--tiller-namespace string Namespace of Tiller (default "kube-system")
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [helm](helm.md) - The Helm package manager for Kubernetes.
|
||||
|
||||
###### Auto generated by spf13/cobra on 27-Jun-2019
|
Loading…
Reference in new issue