← DevOps / Cloud Platform ready
Lesson 4 of 28
Module 1 · Recall check
quiz
Checking sign-in…
1. A Deployment's `selector.matchLabels` doesn't match any of its Pod template's labels. What happens?
2. You scale a Deployment from 2 replicas to 5. Where does Kubernetes record that new desired state?
3. Why use a `Service` in front of a set of Pods instead of hitting Pod IPs directly?
4. In your `kind-config.yaml` you set `hostPort: 9898` mapping to `containerPort: 30080`. Why did that specific number (30080) need to match the Service?
5. Which command gives the quickest read on WHY a Pod is stuck in `Pending`?