helm delete --purge my-release
或者
helm del --purge my-release
彻底清除 my-release
helm delete [flags] RELEASE-NAME [...]
--description string Specify a description for the release
--dry-run Simulate a delete
-h, --help help for delete
--no-hooks Prevent hooks from running during deletion
--purge Remove the release from the store and make its name free for later use
--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
参考链接:http://www.coderdocument.com/docs/helm/v2/helm_commands/helm_delete.html
网友评论