

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 4
click for more info
Not enough gems
Cost: 6 gems
1: The Control Plane
incomplete
2: Labels
incomplete
3: Dry Run
incomplete
4: Kubectl Explain
incomplete
5: Rollouts
incomplete
6: Rollbacks
incomplete
7: API Deployment
incomplete
8: Thrashing Pods
incomplete
This lesson's interactive features are locked, please to keep using them
When you're not sure what a field does, kubectl explain prints its documentation right in the terminal:
kubectl explain deployment.spec.replicasThe argument is a path through the YAML, where each dot represents a level of nesting. It only knows about the fields Kubernetes defines, so it can't go any deeper than matchLabels: the app key inside it is a label you chose.
Read the docs for deployment.spec.template. Notice the FIELDS section at the bottom: those are the fields you can nest under template.
Submit the shell checks.