Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Document preview thumbnail
Vista previa 2 fuera de 9 páginas
Examen

Certified Kubernetes Administrator (CKA) Last-Minute Cheat Sheet | Exam-Focused Commands & YAML Reference.

Document preview thumbnail
Vista previa 2 fuera de 9 páginas

Pass the Certified Kubernetes Administrator (CKA) exam with confidence using this ultimate, high-yield Last-Minute Cheat Sheet. Designed for rapid recall under tight exam pressure, this practical, command-heavy guide skips the dense theory and focuses strictly on the exact commands, YAML templates, troubleshooting workflows, and hidden exam traps that save valuable minutes. What’s Included: Exam Survival Basics: Context-switching hygiene, shell aliases ($do), and Vim whitespace configurations to prevent silent YAML breaks. Cluster Architecture & Upgrades: Step-by-step kubeadm upgrade sequences (control plane vs. workers), etcd backup/restore procedures (etcdctl), and static pod management. Workloads & Scheduling: Deployments, rolling updates, DaemonSets with control plane tolerations, manual scheduling via nodeName, taints/tolerations, and node/pod anti-affinity patterns. Services & Networking: Service types (ClusterIP, NodePort, LoadBalancer), ingress controller routing, and critical NetworkPolicy ingress/egress YAML nesting (AND vs. OR logic). Storage & Persistent Volumes: PV/PVC binding mechanics, access modes (RWO, ROX, RWX, RWOP), StorageClasses, and WaitForFirstConsumer behaviors. Troubleshooting & Debugging: Systematic triage for broken kubelets, crashed control plane static pods, crashed containers, networking/DNS resolution (netshoot), and quick JSONPath / custom-columns querying tricks. Perfect for your final review stretch before the exam to lock down critical command syntax and avoid common time-wasting mistakes!

Vista previa del contenido

CKA Last-Minute
Cheat Sheet
A practical, exam-focused reference for commands, YAML patterns, troubleshooting, and the
small details that can cost you time.



How to use this guide
Use it as a quick-reference document rather than a theory guide. The goal is to help you recognize the task, reach for the right
command or YAML pattern, and verify the result before moving on.



1 2 3
Set the context Scaffold instead of typing from Verify before you move on
scratch




CKA Last-Minute Cheat Sheet Page 1

, CKA Ultimate Last-Minute Cheat Sheet
The stuff you actually need at 11pm the night before the exam
A quick note before you dive in: this isn't a "concepts" refresher. You already know what a Pod is. This is meant for quick recall:
commands, YAML patterns, and the small gotchas that can quietly cost you time. Read it once before the exam, then keep it
nearby for fast lookups.



0. Exam Survival Basics (read this first)
• **Set your context per task.** Every question tells you which cluster/context to use. First command, every single time:

kubectl config use-context <context-name>


Easy point to lose: switching to the wrong context can make an otherwise correct command affect the wrong cluster.
• **Set an alias and autocomplete immediately** (first 30 seconds of the exam):

alias k=kubectl
source <(kubectl completion bash)
complete -F __start_kubectl k
export do="--dry-run=client -o yaml"


$do saves you enormous amounts of typing — You will use it repeatedly while building resources. to scaffold YAML instead of
hand-writing it.
• **Vim setup** (if you're not using it, set it in `~/.vimrc` before you start):

set expandtab
set tabstop=2
set shiftwidth=2


YAML is whitespace-sensitive. Tab characters will silently break things and cost you time you don't have.
• **Always use `-o yaml --dry-run=client` to generate a base**, then edit rather than freehand. Freehand YAML under time pressure
is where mistakes live.
• **Bookmark kubernetes.io/docs in your browser** before the exam starts. You get one tab to the official docs (and your own
notes if allowed by your provider). Know the URL structure so you can jump straight to "Configure Liveness Probes" instead of
searching.



1. Cluster Architecture, Installation & Configuration
kubeadm cluster bootstrap (control plane)
# On the control plane node
kubeadm init --pod-network-cidr=10.244.0.0/16 --apiserver-advertise-address=<CP_IP>

# Standard post-init steps (kubeadm prints these, don't skip them)
mkdir -p $HOME/.kube
cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
chown $(id -u):$(id -g) $HOME/.kube/config

# Install a CNI (Flannel example — pick whatever the task specifies)
kubectl apply -f https://raw.githubusercontent.com/flannel-io/flannel/master/Documentation/kube-flannel.yml


Get the join command again if you lost it:

kubeadm token create --print-join-command


Join a worker node:

kubeadm join <CP_IP>:6443 --token <token> --discovery-token-ca-cert-hash sha256:<hash>



kubeadm cluster upgrade (this WILL be on the exam)
Order matters: control plane first, then workers, one node at a time.




CKA Last-Minute Cheat Sheet Page 2

Información del documento

Subido en
28 de agosto de 2026
Número de páginas
9
Escrito en
2026/2027
Tipo
Examen
Contiene
Preguntas y respuestas
$11.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Vendido
0
Seguidores
0
Artículos
7
Última venta
-



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes