Difference between revisions of "Helm uninstall"

From wikieduonline
Jump to navigation Jump to search
 
(39 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
 +
* https://helm.sh/docs/helm/helm_uninstall/
  
  helm uninstall grafana
+
  [[helm uninstall --help]]
  release "grafana" uninstalled
+
  helm uninstall [[RELEASE_NAME]]
 +
[[helm uninstall -n]] your-namespace [[RELEASE_NAME]]
  
  helm uninstall grafana
+
  --cascade string      Must be "background", "orphan", or "foreground". Selects the deletion cascading strategy for the dependents. Defaults to background. (default "background")
  W1205 23:27:05.513426  48468 warnings.go:70] policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+
+
 
  W1205 23:27:05.536697  48468 warnings.go:70] policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+
+
[[--dry-run]]              simulate a uninstall
  release "grafana" uninstalled
+
 
 +
[[--debug]]
 +
 
 +
[[helm uninstall --keep-history]] XXXXX
 +
 
 +
[[helm uninstall grafana]]
 +
[[helm uninstall kibana]]
 +
[[helm uninstall elasticsearch]]
 +
[[helm uninstall argocd]]
 +
 
 +
  [[helm uninstall argocd]]
 +
These resources were kept due to the resource policy:
 +
[CustomResourceDefinition] applications.[[argoproj.io]]
 +
[CustomResourceDefinition] applicationsets.argoproj.io
 +
  [CustomResourceDefinition] appprojects.argoproj.io
 +
 
 +
helm uninstall  my-name
 +
  release "my-name" uninstalled
 +
 
 +
helm uninstall mygrafana
 +
release "mygrafana" uninstalled
 +
 
 +
helm uninstall [[sentinelone]]
 +
Starting delete for "sentinelone-uninstall-agent-job" Job
 +
jobs.batch "sentinelone-uninstall-agent-job" not found
 +
creating 1 resource(s)
 +
Watching for changes to Job sentinelone-uninstall-agent-job with timeout of 5m0s
 +
Add/Modify event for sentinelone-uninstall-agent-job: ADDED
 +
sentinelone-uninstall-agent-job: Jobs active: 0, jobs failed: 0, jobs succeeded: 0
 +
Error: timed out waiting for the condition
 +
 
 +
== Error ==
 +
helm uninstall my-test
 +
Error: uninstall: Release not loaded: my-test: [[release: not found]]
 +
 
 +
[[helm uninstall elasticsearch]]
 +
[[Error: uninstall]]: [[Release not loaded]]: elasticsearch: [[release]]: not found
  
 
  helm uninstall
 
  helm uninstall
Line 17: Line 55:
 
* <code>[[helm list]]</code>
 
* <code>[[helm list]]</code>
 
* <code>[[helm delete]]</code>
 
* <code>[[helm delete]]</code>
* <code>[[helm install]]</code>
+
* <code>[[helm delete my-release --purge]]</code>
 +
* <code>[[helm install]]</code>: <code>[[helm install --set persistence.enabled=true grafana grafana/grafana]]</code>
 +
* [[Persistence]]
 +
* [[Error: INSTALLATION FAILED: cannot re-use a name that is still in use]]
 +
* [[Error: uninstall: Release not loaded: sentinelone: release: not found]]
  
 
== See also ==
 
== See also ==
 
* {{helm uninstall}}
 
* {{helm uninstall}}
* {{helm}}
 
  
 
[[Category:Helm]]
 
[[Category:Helm]]

Latest revision as of 10:48, 11 April 2024

helm uninstall --help
helm uninstall RELEASE_NAME
helm uninstall -n your-namespace RELEASE_NAME
--cascade string       Must be "background", "orphan", or "foreground". Selects the deletion cascading strategy for the dependents. Defaults to background. (default "background")
--dry-run              simulate a uninstall
--debug 
helm uninstall --keep-history XXXXX
helm uninstall grafana
helm uninstall kibana
helm uninstall elasticsearch
helm uninstall argocd
helm uninstall argocd
These resources were kept due to the resource policy:
[CustomResourceDefinition] applications.argoproj.io
[CustomResourceDefinition] applicationsets.argoproj.io
[CustomResourceDefinition] appprojects.argoproj.io
helm uninstall  my-name
release "my-name" uninstalled
helm uninstall mygrafana
release "mygrafana" uninstalled
helm uninstall sentinelone
Starting delete for "sentinelone-uninstall-agent-job" Job
jobs.batch "sentinelone-uninstall-agent-job" not found
creating 1 resource(s)
Watching for changes to Job sentinelone-uninstall-agent-job with timeout of 5m0s
Add/Modify event for sentinelone-uninstall-agent-job: ADDED
sentinelone-uninstall-agent-job: Jobs active: 0, jobs failed: 0, jobs succeeded: 0
Error: timed out waiting for the condition

Error[edit]

helm uninstall my-test
Error: uninstall: Release not loaded: my-test: release: not found
helm uninstall elasticsearch
Error: uninstall: Release not loaded: elasticsearch: release: not found
helm uninstall
Error: "helm uninstall" requires at least 1 argument 

Usage:  helm uninstall RELEASE_NAME [...] [flags]

Related[edit]

See also[edit]

Advertising: