astroctl application resync
Resync an application
Synopsis
Trigger an immediate GitOps sync for an application, reconciling what is deployed with the desired configuration.
A plain resync reapplies only resources that have drifted, and leaves a running application serving throughout.
--force is a stronger, more disruptive operation. It terminates any sync already in progress, reapplies every resource rather than only drifted ones, and falls back to deleting and recreating a resource when an update cannot be applied any other way. Use it when a resync is stuck or has failed to converge, not as a routine refresh.
astroctl application resync [flags]
Examples
# Resync an application by name
astroctl app resync -n myapp
# Force resync an application: terminates any in-progress sync and reapplies
# every resource. May delete and recreate resources that cannot be updated in
# place, so an application can briefly go down.
astroctl app resync -n myapp --force
# Resync using positional argument
astroctl app resync myapp --force
Options
--force Terminate any in-progress sync and reapply every resource, recreating resources that cannot be updated in place (may cause brief downtime)
-h, --help help for resync
Options inherited from parent commands
-n, --name string name of the application
-o, --output string Output format (json|yaml) (default "yaml")
SEE ALSO
- astroctl application - Manage applications