Argo CD provides options to allow you to synchronize resources to the specified cluster on demand. This topic describes these options.
For more information, see Argo CD Sync Options.
Sync option | Description |
Prune | Specify whether to delete the subresources of an application in the cluster if the subresources cannot be found in the Git repository. |
Validate | Set to false to disable resource validation for some resources. |
CreateNamespace | Automatically create a namespace in the specified cluster during resource synchronization. |
ApplyOutOfSyncOnly | Synchronize only resources in the OutOfSync state to accelerate the synchronization process. |
PruneLast | Prune resources only during the final synchronization stage (other resources are deployed and run as normal). |
RespectIgnoreDifferences | Ignore the fields in |
ServerSideApply | Apply the changes on the server side instead of the client side. For more information, see ServerSideApply can also be used to patch existing resources by providing a partial YAML. |
PrunePropagationPolicy | The resource prune and propagation policy. Valid values:
Default value: foreground. |
Replace | Use |
References
For more information about how to use GitOps to create and deploy applications, see Application management or Use an ApplicationSet to create multiple applications.