mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-08 08:47:27 +00:00
1.4 KiB
1.4 KiB
tk uninstall
Uninstall the toolkit components
Synopsis
The uninstall command removes the namespace, cluster roles, cluster role bindings and CRDs.
tk uninstall [flags]
Examples
# Dry-run uninstall of all components
uninstall --dry-run --namespace=gitops-system
# Uninstall all components and delete custom resource definitions
uninstall --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
--kustomizations removes all kustomizations previously installed
-s, --silent delete components without asking for confirmation
Options inherited from parent commands
--components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller])
--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 - Command line utility for assembling Kubernetes CD pipelines