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 CP node. How do the worker nodes differ?
- What command did we use to bootstrap a Kubernetes cluster?
- What is the difference between imperative and declarative Deployments in Kubernetes?
- What is the
kubectl
command for deploying a pod? How about the command 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? - How do you scale out a Deployment in Kubernetes? Can you think of the different ways (commands) in which to accomplish the task?
- How do you delete all resources related to a Deployment in Kubernetes?