mirror of https://github.com/fluxcd/flux2.git
				
				
				
			
			You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			47 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Markdown
		
	
			
		
		
	
	
			47 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Markdown
		
	
## tk uninstall
 | 
						|
 | 
						|
Uninstall the toolkit components
 | 
						|
 | 
						|
### Synopsis
 | 
						|
 | 
						|
The uninstall command removes the namespace, cluster roles, cluster role bindings and CRDs from the cluster.
 | 
						|
 | 
						|
```
 | 
						|
tk uninstall [flags]
 | 
						|
```
 | 
						|
 | 
						|
### Examples
 | 
						|
 | 
						|
```
 | 
						|
  # Dry-run uninstall of all components
 | 
						|
  tk uninstall --dry-run --namespace=gitops-system
 | 
						|
 | 
						|
  # Uninstall all components and delete custom resource definitions
 | 
						|
  tk uninstall --resources --crds --namespace=gitops-system
 | 
						|
 | 
						|
```
 | 
						|
 | 
						|
### Options
 | 
						|
 | 
						|
```
 | 
						|
      --crds        removes all CRDs previously installed
 | 
						|
      --dry-run     only print the object that would be deleted
 | 
						|
  -h, --help        help for uninstall
 | 
						|
      --resources   removes custom resources such as Kustomizations, GitRepositories and HelmRepositories
 | 
						|
  -s, --silent      delete components without asking for confirmation
 | 
						|
```
 | 
						|
 | 
						|
### Options inherited from parent commands
 | 
						|
 | 
						|
```
 | 
						|
      --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
 | 
						|
      --namespace string    the namespace scope for this operation (default "gitops-system")
 | 
						|
      --timeout duration    timeout for this operation (default 5m0s)
 | 
						|
      --verbose             print generated objects
 | 
						|
```
 | 
						|
 | 
						|
### SEE ALSO
 | 
						|
 | 
						|
* [tk](tk.md)	 - Command line utility for assembling Kubernetes CD pipelines
 | 
						|
 |