Declarative and imperative management · Question 12 of 12

A Deployment is controlled by a HorizontalPodAutoscaler, and the manifest in the repository contains replicas: 2. GitOps syncs continuously. What applies?

2 answers are correct. Hard Created with AI

Show answer

Answer

  • C With every sync, replicas can jump to 2, after which the HPA scales again
  • D You should leave spec.replicas out of the manifest or exclude the field from reconciliation

Explanation

In Argo CD, ignoreDifferences for /spec/replicas helps. If the field is missing from the manifest, the default value 1 applies when the object is first created.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications