DEV Community

Andrew
Andrew

Posted on

CKAD Daily Study Notes - 2026-02-03

CKAD Daily Study Notes πŸ“š

Todays Focus: Core API Objects

Pod Design Patterns

  • StatefulSet vs Deployment: When to use each
  • InitContainers: Setup tasks before app container
  • Multi-container pods: Design patterns and use cases

Essential Commands

# Pod creation and inspection
kubectl run nginx --image=nginx --port=80
kubectl get pods -o wide
kubectl describe pod <pod-name>
kubectl exec -it <pod> -- /bin/bash
kubectl logs <pod>

# Deployment management
kubectl create deployment web --image=nginx --replicas=3
kubectl set image deployment/web nginx=nginx:1.20
kubectl rollout status deployment/web
kubectl rollout history deployment/web
kubectl rollout undo deployment/web
Enter fullscreen mode Exit fullscreen mode

Quiz Yourself

  1. What happens when you delete a Pod in a Deployment?
  2. How do you force a deployment rollout?
  3. What's the difference between ReadinessProbe and LivenessProbe?
  4. How do you mount a ConfigMap as a volume?

Exam Strategy

  • 2 hours for 19 questions = ~6 min per question
  • Use imperative commands when possible (faster than YAML)
  • Master kubectl shortcuts:
  alias k=kubectl
  export do="--dry-run=client -o yaml"
  k run pod1 --image=nginx $do > pod.yaml
Enter fullscreen mode Exit fullscreen mode

Today's Goal

  • Practice 5 Pod-related scenarios
  • Time yourself on each
  • Review failures

You've got this! Keep grinding. πŸ’ͺ

Top comments (0)