We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Kubectl Explain

When you're not sure what a field does, kubectl explain prints its documentation right in the terminal:

kubectl explain deployment.spec.replicas

The 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.

Assignment

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.