k8wiz
Argo CD
Medium
Syncing & Deployment

Which sync option would use `kubectl replace` instead of apply for resources?

Select your answer:

Show answer and explanation

Answer: Replace=true

Explanation

Replace=true makes Argo CD use kubectl replace, or create when the object doesn't exist, instead of apply. It helps with objects too large for the last-applied-configuration annotation, but it overwrites changes made by other tools.

Read more about Argo CD