Interview Prep/GitOps & Argo CD/Repo Structure, Flux, Scaling & DR

How do you handle CRDs and their custom resources in the same Application?

AdvancedConceptRepo Structure, Flux, Scaling & DR
Answer

Put CRDs in an earlier wave (or a separate Application in an earlier wave of the app-of-apps), add SkipDryRunOnMissingResource=true for the CRs, and use ServerSideApply=true because CRDs are often too large for client-side apply. Protect CRDs from pruning (Prune=false), since deleting a CRD deletes every CR of that kind cluster-wide. Many charts offer crds.enabled/installCRDs; platform teams often manage CRDs separately from the operator to control upgrades.

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

More on Repo Structure, Flux, Scaling & DR