Debug School

Sumit Aggarwal
Sumit Aggarwal

Posted on

Day 3 Kubernetes

Today I got to learn in-depth about following topics:

  1. Kubernetes architecture,
    Kubernetes follow master and worker based architecture, where the cluster have multiple master nodes to avoid single point of failure. These master nodes manages the worker nodes which actually performs the work i.e. run containers

  2. What services/components does master and worker nodes need to perform their duties

Master Node contains:
Api-server which handles communication between workstation and Kubernetes cluster as well as communication between master Node components
Controller Manager which gather different stats from worker nodes with the help of multiple controllers
Etcd to store the cluster information
Scheduler to assign works based on current state to worker nodes as per the info provided by api-server

Worker node contains:
Kubelet an agent that makes Suresh containers are running in a pod and are in health state
Container runtime which helps in running containers
Kube proxy helps managing the network on node

  1. How Kubernetes api-server can be accessed by workstation

Kubectl allows the user to interact with Kubernetes cluster and requests for resources from api-server

  1. What are pods
    They are the smallest logical unit which are maintained in Kubernetes. A single pod can have multiple containers running inside it. All the containers in a pod share all the resources assigned to a pod such as Cpu, memory, network, storage.

  2. How Kubernetes help overcoming challenges while managing containers in production application env
    It helps in the maintaing the desired resources by implementing replace methodology in case of failures. It also help in overcoming the networking issues.

Top comments (0)