How kubernetes works? Explain each components with Short Summary

DevOps

Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Kubernates works with many components

  • It has cluster
    • Master
      • Nodes

Kubernates master acts as incharge.

Nodes AKA minions acts as “Doing the work”

  • Master has
    • api server —which recives the request
    • Controller —whcih watches the changes and maintain the desired state
    • etcd — which acts as a storage device(store values in key-value pair
    • Scheduler–which assign works to nodes
  • Node –It can contain the single pod, or multiple pods..
    • Kubelet –registers nodes with cluster, instantiates the pod
    • Container –pulling the docker images
    • kube proxy — it provided the ip addresses to all pods(all containes within the pod have the same ip address
  • All pods can communicate with each other