Interview Prep/GitOps & Argo CD/Manifest Generation & ComparisonError

The repo-server logs `Error: unknown command "kustomize" for "argocd"` or a plugin app shows `couldn't find cmp-server plugin`.

AdvancedTroubleshootingManifest Generation & ComparisonError
Answer

Likely causes → The Application references a plugin that is not installed as a sidecar, the sidecar is crash-looping, or the plugin name (including version suffix) does not match.

Diagnose →

kubectl -n argocd get pod -l app.kubernetes.io/name=argocd-repo-server -o jsonpath='{.items[0].spec.containers[*].name}'
kubectl -n argocd logs deploy/argocd-repo-server -c <plugin-sidecar>

Fix → Install or fix the CMP sidecar with its plugin.yaml; reference it as plugin.name: <name>-<version> when a version is set, or let discovery match it.

Prevent → Version and test plugin sidecars as part of the Argo CD deployment.

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

More on Manifest Generation & ComparisonError