Skip to content

Recapping what we’ve done

Course: Kubernetes Part 2 - chapter 2

Ref - https://projects.100xdevs.com/tracks/kubernetes-1/Kubernetes-Part-1-1

Cluster

A kubernetes cluster is a bunch of machines that work together to help you deploy your app

Nodes

Each machine in your cluster is called a node

Nodes are of two types

  1. Master node (control plane) - Exposes an API that the developer can use to deploy pods
  2. Worker node - Actually run the pods
Pods

The smallest execution unit inside a kubernetes cluseter. A pod can run one or more containers


Replicasets

They let you create multiple pods (replicas).

It also takes care of bringing them back up if they ever go down/are killed

Deployment

A deployment creates

Services

Services let you expose your pods to other pods/over the internet

They are of three types

  1. ClusterIP
  2. NodePort
  3. Loadbalancer — Creates a loadbalancer outside the kubernetes cluster Nodeport

Loadbalancer