Maxunavailable — Certified Kubernetes App Developer (CKAD) Practice Questions
maxUnavailable is a rolling update parameter that sets the maximum number of pods that can be unavailable, meaning not in a Ready state, at any point during a rolling update. Like maxSurge, it accepts an absolute number or a percentage, and setting it to zero guarantees that capacity never drops below the desired replica count at the expense of a slower rollout. CKAD candidates must understand the interplay between maxUnavailable and maxSurge to configure deployment strategies that meet availability and speed requirements in exam tasks.
Free questions on maxunavailable
A Deployment's rolling update strategy allows updating Pods gradually. What two fields control this behavior?
Free question · medium · full answer + explanation
More maxunavailable questions in the full bank
- What controls rolling update behavior? Unlock answer & explanation →
- You have a Kubernetes Deployment that runs a stateless web application. During a rolling update, you want to ensure that at least 3 Pods are always available and no more than 5 Pods exist at any time. The Deployment has a desired replica count of 4. Which combination of maxUnavailable and maxSurge values should you configure in the rolling update strategy? Unlock answer & explanation →
- A Deployment named `web-app` is running three replicas. A developer wants to update the container image to version 2.0 and ensure that at most one Pod is unavailable during the rolling update. Which combination of Deployment strategy fields achieves this? Unlock answer & explanation →