Kubernetes overview

We began by explaining Kubernetes’ architecture. We described pods as the smallest unit in Kubernetes. They create a layer on top of containers and run one application within them. They’re deployed, created, and destroyed with deployment scripts. Then, we explained that nodes are of two types, the controller and worker nodes. The controller node houses the main components, while the worker node is responsible for carrying loads on the cluster. We described kubelet to be responsible for handling the communication between the controller and node. kubectl is the command line tool for running Kubernetes commands in the cluster.

We explained deployments as API objects used to manage the desired state of a set of replicas of a pod. In deployment, we covered:

  • Creating a deployment

  • ReplicaSet

  • Performing scaling

  • Rolling update and rollback

Get hands-on with 1200+ tech skills courses.