Debug School

Cover image for Assignment #1 By Soumya

Posted on

Assignment #1 By Soumya

What is Kubernetes?

Kubernetes is an open source platform that automates Linux container operations. It is and orchestration platform for scheduling and automating the deployment, management, and scaling of containerized applications.

Why Do we need Kubernetes? Explain in 10 lines.

Below are some reasons why we need Kubernetes :

  1. Kubernetes is Self-healing.
  2. Kubernetes is having storage orchestration.
  3. Kubernetes can handle multiple container which can be running in a single node or in multiple nodes.
  4. Kubernetes is having automated rollouts and rollbacks.
  5. Load balancing is taken care by Kubernetes.
  6. High availability is maintained by Kubernetes.
  7. Kubernetes is a open source and easily available.
  8. Managing the scaling of containers and clusters.
  9. Deploying images and containers.
  10. Kubernetes is able to store the configuration and security files as well.

How Kubernetes Works?

  • Kubernetes works by Master and Worker.
  • Master is the virtual machine which is present in one of the network and manages the workers.
  • The workers are the nodes those contains one or more than one pods in it.
  • Pods are the place where the one or more than one container is running. To access the containers running inside the pods we need to access the pod IP.

Kubernetes Architecture. Explain each component with one line.

1.1 API Server : It is the Front-end to the control panel and exposes the APIs.
1.2 Scheduler : The scheduler is responsible for assigning work to the various nodes.
1.3 Cluster Storage : It is the persistent storage for cluster state and config.
1.4 Controller manager : The controller-manager is responsible for making sure that the shared state of the cluster is operating as expected.

2.1 Kubelet : It register nodes with cluster and instantiate a pod.
2.2 Container Engine : It is responsible for running of the container. Kubernetes supports multiple container engines and the default one is containerd.
2.3 Kube-Proxy : The Kube-proxy routes traffic coming into a node from the service. It forwards requests for work to the correct containers.

Image description

Top comments (0)