Skip to main content

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 terminates any sync already in progress and reapplies every resource rather than only drifted ones. It still uses AstroPulse's safe server-side apply policy: it never switches to client-side apply or delete-and-recreate behavior. Use it when a resync is stuck or has failed to converge, not as a routine refresh.

Terminal
astroctl application resync [application-name] [flags]

Examples​

Terminal

# Resync an application by name
astroctl app resync -n myapp

# Force resync an application: terminates any in-progress sync and reapplies
# every resource using AstroPulse's safe server-side apply policy.
astroctl app resync -n myapp --force

# Resync using positional argument
astroctl app resync myapp --force

Options​

Terminal
--force Terminate any in-progress sync and reapply every resource with safe server-side apply
-h, --help help for resync

Options inherited from parent commands​

Terminal
-n, --name string name of the application
-o, --output string Output format (table|json|yaml) (default "table")

SEE ALSO​