Kubernetes Fundamentals
1. What is the primary scheduling unit in Kubernetes?
2. What is the role of the kubelet on a Kubernetes node?
3. Why should you use a Deployment rather than scheduling Pods directly?
4. How does a Kubernetes Service know which Pods to route traffic to?
5. When you run kubectl apply with a new container image version, what does Kubernetes do by default?
6. What does the CrashLoopBackOff status on a Pod indicate?
7. What two changes are required to use a locally built Docker image with a local Kubernetes cluster?
8. Why usually we prefer the declarative approach over the imperative approach for managing Kubernetes objects?
9. What is the purpose of the port vs. targetPort fields in a Kubernetes Service definition?
10. What is a key difference between running Kubernetes locally vs. on a cloud provider, regarding Services?
11. What is the default state of a readiness probe when a container first starts?
12. What does Kubernetes do when a liveness probe fails past its threshold?
13. Which two probe settings together determine how long a liveness probe must keep failing before Kubernetes restarts the Pod?
14. Which probe type is recommended for a non-HTTP TCP service such as an SMTP server?
15. Why should external dependencies like a database generally not be checked inside a liveness probe?
16. What is the main prerequisite for achieving zero downtime during a rolling update?
17. If maxUnavailable is set to 0 during a rolling update, what must be true of maxSurge?
18. Which rollout strategy is not natively supported by Kubernetes Deployments?
19. What is the trade-off of setting a high maxSurge value during a rolling update?
20. How does the Recreate rollout strategy behave?