Question 280
At Northstar finance, in an isolated training cluster during a scheduled maintenance rehearsal: A new custom resource definition manifest at ./crds/invoice-api.yaml must be validated against the live API server before installation. Work only within the stated target and verify before declaring success. Which operational control most directly prevents this failure or configuration drift?
Explanation
Correct Answer
Review CRD compatibility, webhooks and conversion versions during API extension upgrades. This reduces recurrence of the specific operational failure. It reinforces the action: Run kubectl apply --dry-run=server -f ./crds/invoice-api.yaml and review validation failures before any actual apply. The relevant mechanism is: Server-side dry-run evaluates admission and resource schema without persisting the CRD when supported by the relevant admission stack.
Incorrect Answers
This routine guards against another mechanism: A Namespace supplies a scope for namespaced resources while its metadata labels support policy and inventory selectors. The recurring exposure in the current case is: Server-side dry-run evaluates admission and resource schema without persisting the CRD when supported by the relevant admission stack. The matching preventive check is “Review CRD compatibility, webhooks and conversion versions during API extension upgrades”.
The suggested review tracks a different technical risk: Upgrade plan reports reachable upgrade targets and version skew considerations without applying a new control-plane version. Here the sustained control must address: Server-side dry-run evaluates admission and resource schema without persisting the CRD when supported by the relevant admission stack. Choose “Review CRD compatibility, webhooks and conversion versions during API extension upgrades”.
That safeguard is relevant to: The snapshot-status tool inspects backup metadata without modifying the running etcd member or performing a restore. The current failure instead follows from: Server-side dry-run evaluates admission and resource schema without persisting the CRD when supported by the relevant admission stack. Its prevention measure is “Review CRD compatibility, webhooks and conversion versions during API extension upgrades”.