flux-suspend
Suspend reconciliation of Flux resources
TLDR
SYNOPSIS
flux suspend kind [name ...] [options]
DESCRIPTION
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`.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.Short kind aliases such as `ks` for kustomization and `hr` for helmrelease are accepted.
PARAMETERS
--all
Suspend all resources of the given kind in the namespace.-n, --namespace ns
Namespace scope for the CLI request (default `flux-system`).--timeout duration
Timeout for the operation (default `5m0s`).--kubeconfig file
Path to the kubeconfig file.--context name
Kubeconfig context to use.
KINDS
kustomization
Suspend a Kustomization.helmrelease
Suspend a HelmRelease.source git, source helm, source oci, source bucket, source chart
Suspend a GitRepository, HelmRepository, OCIRepository, Bucket, or HelmChart.image policy, image repository, image update
Suspend ImagePolicy, ImageRepository, or ImageUpdateAutomation objects.alert, alert-provider, receiver
Suspend notification Alerts, Providers, and Receivers.
INSTALL
CAVEATS
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.
SEE ALSO
flux(1), flux-check(1), flux-create(1), flux-bootstrap(1)
