Application sync options
When you manage applications by using GitOps, Argo CD provides sync options that you can customize as needed to control how resources are synchronized to the target cluster. This topic briefly describes the main sync options.
For more information, see Argo CD Sync Options.
|
Sync options |
Description |
|
Prune |
Specifies whether to delete child resources of an application that exist in the cluster but not in the Git repository. |
|
Validate |
Setting the value to false skips the validation of certain resources. |
|
CreateNamespace |
During the resource synchronization phase, automatically creates the specified Namespace in the target cluster. |
|
ApplyOutOfSyncOnly |
Synchronizes only the resources in the OutOfSync state, which can speed up synchronization. |
|
PruneLast |
Prunes resources only in the last phase of the synchronization operation, when all other resources have been deployed and are healthy. |
|
RespectIgnoreDifferences |
For fields that are configured to be ignored in |
|
ServerSideApply |
Applies resources on the server side instead of the client side. For more information, see A partial YAML can also be provided to patch existing resources. |
|
PrunePropagationPolicy |
The resource pruning propagation policy. Valid values:
The default value is foreground. |
|
Replace |
During the synchronization process, resources are synchronized by using |
References
To create and deploy applications by using GitOps, see Application management or Use an ApplicationSet to create multiple applications.