kubectl and kubeconfig · Question 12 of 12

How does --dry-run=server differ from --dry-run=client?

1 answer is correct. Hard Created with AI

Show answer

Answer

  • C With server, validation and admission run, but nothing is stored

Explanation

--dry-run=client only builds the object locally, for example to generate a manifest with -o yaml. --dry-run=server, by contrast, shows what a mutating admission controller would change or a validating one would reject.

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