Questions
Here are a few questions for refreshing or pondering upon some of the concepts you've learned in this chapter:
- Enumerate some of the essential services of a Kubernetes Control Plane node. How do the worker nodes differ?
- What command did we use to bootstrap a Kubernetes cluster?
- What is the preferred CLI for managing an EKS cluster? How about the CLI for managing AKS clusters? How are these CLI tools different from
kubectl
? - What is the difference between imperative and declarative deployments in Kubernetes?
- What is the
kubectl
command for deploying a Pod? How about for creating a deployment? - What is the
kubectl
command to access the shell within a Pod container? - What is the
kubectl
command to query all resources related to a deployment? - You exposed a deployment using a ClusterIP service type. Can you access the service outside the Kubernetes cluster? Why?
- How do you scale out a deployment in Kubernetes? Can you think of the different...