Interview Prep/GitOps & Argo CD/The Application CRD & Sync Policies

What is the difference between `destination.server` and `destination.name`?

BeginnerConceptThe Application CRD & Sync Policies
Answer

server is the API server URL (https://kubernetes.default.svc); name is the cluster name from the cluster Secret (in-cluster, prod-eu). Use one, not both. name is friendlier and survives an endpoint change (for example an EKS cluster recreated with a new URL, as long as you update the Secret), so it is the better choice in ApplicationSets and app-of-apps.

All GitOps & Argo CD questions Roadmap: Argo CD (GitOps)

More on The Application CRD & Sync Policies