PREP WITH PROOF
Menu
CERTIFICATION STUDY GUIDES / PRACTICAL GUIDE

CKAD Study Guide: Kubernetes Rolling Updates and Rollbacks

Prepare for CKAD with a timed Kubernetes Deployment lab covering rolling updates, readiness, rollback, and maxSurge and maxUnavailable choices.

THE QUICK ANSWER

For CKAD, practice editing a Deployment, monitoring a rolling update, and recovering a stalled release. Trace old and new ReplicaSets, find the first cause shown by the new Pods, and verify recovery with both rollout status and a representative application request.

Set up a repeatable CKAD deployment practice session

Use the Certified Kubernetes Application Developer curriculum and mark application deployment objectives separately from design, observability, configuration, and networking. For this lab, use a disposable namespace in a local or otherwise authorized training cluster. Start with a Demo Deployment you know works, a stable image with two approved version tags, and a Service that points to the application. Keep a known-good manifest so you can reset the fixture.

Write a 20-minute practice brief. Spend the first five minutes inspecting the Deployment specification and current Pods. Use the next ten minutes for a planned update and a deliberately stalled one. Use the final five minutes to restore the service and capture evidence. Once the steps are familiar, repeat with a different namespace and workload name so you have to read the task rather than rely on memorized values.

Predict rolling-update capacity with four replicas

Set the Deployment to four replicas, a rolling update strategy, maxSurge of one, and maxUnavailable of zero. In normal rollout calculations this lets the controller bring up one extra replica while preserving four available replicas before it scales down eligible old replicas. A terminating Pod can temporarily affect what you see in the cluster, so interpret a snapshot alongside status and events.

Compare the settings with maxSurge zero and maxUnavailable one. That configuration allows an old replica to become unavailable to make room for a replacement when the controller cannot create an extra replica. Explain how each policy changes capacity during a planned rollout. If the cluster cannot schedule a fifth Pod, the first plan may stall until placement or capacity constraints are addressed. Check what the requirement says about minimum availability and spare resources.

Observe a healthy Kubernetes rollout

Update the application container to the second known-good image and observe the Deployment. Use kubectl rollout status for progress and inspect the ReplicaSets and Pods in the target namespace. Identify the newer ReplicaSet, track its ready replicas, and check when the old group scales down. Confirm that the Service still selects the appropriate Pod labels and exercise the application while the release progresses.

Define what success means in your practice environment. A completed rollout indicates that the Deployment reached its expected state. A successful application request provides additional evidence from the client perspective. If a question asks you to verify a change, record both the requested resource property and the observable workload behavior. Include the image version and enough context to reproduce the check.

Diagnose a stalled update before choosing the rollback

In the sandbox, run a second update with a nonexistent tag for the training image. Watch rollout status with a bounded timeout. Inspect the newly created Pod and its events for the image-pull failure, while checking that the previous workload still serves traffic. Note why this failure occurs before the container can pass a readiness check.

Compare that with a revision that starts successfully but stays unready because the readiness probe uses the wrong port. The container can run while failing to become an available workload replica. Use the Pod status and events to separate the two cases. If the task asks you to restore the previous revision, inspect rollout history and use the appropriate undo operation, then check the deployed image and the client request again.

Review what rollback can and cannot recover

Explain which revisions are retained by the Deployment and review the Pod-template change you intend to restore. A Deployment rollback does not reverse a change made independently to a shared ConfigMap, a Service, or external application data. In a real release, confirm that the old application remains compatible with those dependencies before calling recovery complete.

For one last timed drill, introduce a bad probe, diagnose it, and recover in the requested namespace without touching neighboring resources. Write down the three observations you used: what changed, why the replacement became unavailable, and what confirmed restored behavior. Rework a different failure next time and compare the evidence you would look for first.

KEEP THESE THREE THINGS

Your next steps

  1. Predict surge and availability limits before changing a Deployment.
  2. Inspect Pod events to distinguish pull, startup, and readiness failures.
  3. Verify the restored Deployment and the application after rollback.

Sources & official resources

Linked resources checked on 2026-11-26. Technical behavior and provider guidance can change; check the documentation for the version you use.

About this guide and its recommendations

Published by Prep With Proof with AI-assisted drafting. Study routines and examples are editorial suggestions, not official exam instructions or claims of a learner's personal results. Cited provider facts are linked; ownership of recommended Prep With Proof products is disclosed. No competitor endorsement or guaranteed certification outcome is implied.

Suggest a correction →