Puzzles
34 short YAML puzzles, each tied to a lesson. Spot the line with the bug, fill in a manifest's blanks, or predict what the cluster does. Your first answer is the one that counts; after a miss you can try again or ask for the answer.
Spot the bug
A manifest with one mistake in it. Pick the line that is wrong.
16 puzzles
- The port flag that would not start, not solved
Lesson: Containers in Kubernetes terms
Difficulty 1 of 3
- A release label in the selector, not solved
Lesson: Namespaces, labels and annotations
Difficulty 1 of 3
- The autoscaler that keeps losing, not solved
Lesson: Declarative management and server-side apply
Difficulty 2 of 3
- Two versions, one etcd, not solved
Lesson: Custom resources and operators
Difficulty 2 of 3
- Two containers, one port, not solved
Lesson: Pod anatomy
Difficulty 2 of 3
- Warming a cache that is not there yet, not solved
Lesson: Init containers and native sidecars
Difficulty 2 of 3
- A failure policy the API refuses, not solved
Lesson: Jobs and CronJobs
Difficulty 2 of 3
- Six replicas, one zone constraint, uneven zones, not solved
Lesson: Topology spread constraints
Difficulty 2 of 3
- A grant in the wrong place, not solved
Lesson: Gateway API and the frozen Ingress API
Difficulty 2 of 3
- The port the policy sees, not solved
Lesson: NetworkPolicies
Difficulty 2 of 3
- A projected volume the API server refuses, not solved
Lesson: Volumes inside a pod
Difficulty 2 of 3
- A restore that comes back empty, not solved
Lesson: Snapshots, clones and volume attributes
Difficulty 2 of 3
- A release role that cannot see Deployments, not solved
Lesson: RBAC
Difficulty 1 of 3
- A sidecar injector that locks itself out, not solved
Lesson: Admission control and policy
Difficulty 3 of 3
- An allowed-registries policy with two holes, not solved
Lesson: Image supply chain
Difficulty 2 of 3
- Two autoscalers, one CPU, not solved
Lesson: Right-sizing and in-place resize
Difficulty 2 of 3
Complete the manifest
A manifest with blanks. Type what each one needs for the manifest to do its job.
5 puzzles
- Status apart, database fixed, not solved
Lesson: Custom resources and operators
Difficulty 2 of 3
- Hand a log file to a sidecar, not solved
Lesson: Pod anatomy
Difficulty 1 of 3
- A ten percent canary, not solved
Lesson: Gateway API and the frozen Ingress API
Difficulty 1 of 3
- A pod the restricted level admits, not solved
Lesson: Pod security: securityContext and Pod Security Admission
Difficulty 2 of 3
- Pull a pinned image from a private registry, not solved
Lesson: Image supply chain
Difficulty 1 of 3
Predict the outcome
A manifest or a command, and a question: what does the cluster do with it?
13 puzzles
- Switching a Deployment to latest, not solved
Lesson: Containers in Kubernetes terms
Difficulty 2 of 3
- One peer or two, not solved
Lesson: Namespaces, labels and annotations
Difficulty 2 of 3
- What the merge leaves behind, not solved
Lesson: Declarative management and server-side apply
Difficulty 2 of 3
- What the scheduler reserves, not solved
Lesson: Init containers and native sidecars
Difficulty 3 of 3
- A slow run under Forbid, not solved
Lesson: Jobs and CronJobs
Difficulty 3 of 3
- Five replicas spread by hostname on kx, not solved
Lesson: Topology spread constraints
Difficulty 3 of 3
- An egress policy that blocks ingress, not solved
Lesson: NetworkPolicies
Difficulty 2 of 3
- Fast scratch space with a memory limit, not solved
Lesson: Volumes inside a pod
Difficulty 2 of 3
- Switching to a volume attributes class that does not exist, not solved
Lesson: Snapshots, clones and volume attributes
Difficulty 2 of 3
- A ClusterRole bound in one namespace, not solved
Lesson: RBAC
Difficulty 2 of 3
- A Deployment in an enforcing namespace, not solved
Lesson: Pod security: securityContext and Pod Security Admission
Difficulty 1 of 3
- A replica limit that kubectl scale walks past, not solved
Lesson: Admission control and policy
Difficulty 2 of 3
- More CPU headroom for a Guaranteed pod, not solved
Lesson: Right-sizing and in-place resize
Difficulty 2 of 3