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
4 years ago
|
## flux uninstall
|
||
5 years ago
|
|
||
|
Uninstall the toolkit components
|
||
|
|
||
|
### Synopsis
|
||
|
|
||
5 years ago
|
The uninstall command removes the namespace, cluster roles, cluster role bindings and CRDs from the cluster.
|
||
5 years ago
|
|
||
|
```
|
||
4 years ago
|
flux uninstall [flags]
|
||
5 years ago
|
```
|
||
|
|
||
|
### Examples
|
||
|
|
||
|
```
|
||
|
# Dry-run uninstall of all components
|
||
4 years ago
|
flux uninstall --dry-run --namespace=flux-system
|
||
5 years ago
|
|
||
|
# Uninstall all components and delete custom resource definitions
|
||
4 years ago
|
flux uninstall --resources --crds --namespace=flux-system
|
||
5 years ago
|
|
||
|
```
|
||
|
|
||
|
### Options
|
||
|
|
||
|
```
|
||
5 years ago
|
--crds removes all CRDs previously installed
|
||
|
--dry-run only print the object that would be deleted
|
||
|
-h, --help help for uninstall
|
||
4 years ago
|
--resources removes custom resources such as Kustomizations, GitRepositories and HelmRepositories (default true)
|
||
5 years ago
|
-s, --silent delete components without asking for confirmation
|
||
5 years ago
|
```
|
||
|
|
||
|
### Options inherited from parent commands
|
||
|
|
||
|
```
|
||
5 years ago
|
--kubeconfig string path to the kubeconfig file (default "~/.kube/config")
|
||
4 years ago
|
-n, --namespace string the namespace scope for this operation (default "flux-system")
|
||
5 years ago
|
--timeout duration timeout for this operation (default 5m0s)
|
||
|
--verbose print generated objects
|
||
5 years ago
|
```
|
||
|
|
||
|
### SEE ALSO
|
||
|
|
||
4 years ago
|
* [flux](flux.md) - Command line utility for assembling Kubernetes CD pipelines
|
||
5 years ago
|
|