|
| 1 | +# TAGLINE |
| 2 | + |
| 3 | +Suspend reconciliation of Flux resources |
| 4 | + |
| 5 | +# TLDR |
| 6 | + |
| 7 | +**Suspend a Kustomization** |
| 8 | + |
| 9 | +```flux suspend kustomization podinfo``` |
| 10 | + |
| 11 | +**Suspend all Kustomizations** in the current namespace |
| 12 | + |
| 13 | +```flux suspend kustomization --all``` |
| 14 | + |
| 15 | +**Suspend a HelmRelease** |
| 16 | + |
| 17 | +```flux suspend helmrelease podinfo``` |
| 18 | + |
| 19 | +**Suspend a GitRepository source** |
| 20 | + |
| 21 | +```flux suspend source git my-repo``` |
| 22 | + |
| 23 | +**Suspend an ImageUpdateAutomation** |
| 24 | + |
| 25 | +```flux suspend image update my-automation``` |
| 26 | + |
| 27 | +# SYNOPSIS |
| 28 | + |
| 29 | +**flux** **suspend** _kind_ [_name_ ...] [_options_] |
| 30 | + |
| 31 | +# DESCRIPTION |
| 32 | + |
| 33 | +**flux suspend** disables reconciliation of a Flux custom resource. Controllers stop applying Git, Helm, OCI, or image-automation changes for that object until it is resumed with `flux resume`. |
| 34 | + |
| 35 | +The resource name is required unless **--all** is set, which suspends every matching object in the namespace (default `flux-system`). Multiple names may be given in one invocation. |
| 36 | + |
| 37 | +Short kind aliases such as `ks` for kustomization and `hr` for helmrelease are accepted. |
| 38 | + |
| 39 | +# KINDS |
| 40 | + |
| 41 | +**kustomization** |
| 42 | +> Suspend a Kustomization. |
| 43 | +
|
| 44 | +**helmrelease** |
| 45 | +> Suspend a HelmRelease. |
| 46 | +
|
| 47 | +**source git**, **source helm**, **source oci**, **source bucket**, **source chart** |
| 48 | +> Suspend a GitRepository, HelmRepository, OCIRepository, Bucket, or HelmChart. |
| 49 | +
|
| 50 | +**image policy**, **image repository**, **image update** |
| 51 | +> Suspend ImagePolicy, ImageRepository, or ImageUpdateAutomation objects. |
| 52 | +
|
| 53 | +**alert**, **alert-provider**, **receiver** |
| 54 | +> Suspend notification Alerts, Providers, and Receivers. |
| 55 | +
|
| 56 | +# PARAMETERS |
| 57 | + |
| 58 | +**--all** |
| 59 | +> Suspend all resources of the given kind in the namespace. |
| 60 | +
|
| 61 | +**-n**, **--namespace** _ns_ |
| 62 | +> Namespace scope for the CLI request (default `flux-system`). |
| 63 | +
|
| 64 | +**--timeout** _duration_ |
| 65 | +> Timeout for the operation (default `5m0s`). |
| 66 | +
|
| 67 | +**--kubeconfig** _file_ |
| 68 | +> Path to the kubeconfig file. |
| 69 | +
|
| 70 | +**--context** _name_ |
| 71 | +> Kubeconfig context to use. |
| 72 | +
|
| 73 | +# CAVEATS |
| 74 | + |
| 75 | +Suspension is stored on the live cluster object. GitOps will restore the previous spec if a source still defines `spec.suspend: false` (or omits it) and a controller reconciles that source. Cluster access via kubectl is required. |
| 76 | + |
| 77 | +# INSTALL |
| 78 | + |
| 79 | +```apk: sudo apk add flux``` |
| 80 | + |
| 81 | +```brew: brew install flux``` |
| 82 | + |
| 83 | +```nix: nix profile install nixpkgs#flux``` |
| 84 | + |
| 85 | +<!-- packages: 2026-10-09 --> |
| 86 | + |
| 87 | +# SEE ALSO |
| 88 | + |
| 89 | +[flux](/man/flux)(1), [flux-check](/man/flux-check)(1), [flux-create](/man/flux-create)(1), [flux-bootstrap](/man/flux-bootstrap)(1) |
| 90 | + |
| 91 | +# RESOURCES |
| 92 | + |
| 93 | +```[Source code](https://github.com/fluxcd/flux2)``` |
| 94 | + |
| 95 | +```[Documentation](https://fluxcd.io/flux/cmd/flux_suspend/)``` |
| 96 | + |
| 97 | +<!-- verified: 2026-10-09 --> |
0 commit comments