Header Ads

Kubernetes - Introduction

What is Kubernetes:
Kubernetes is an open-source system for automating deployment,scaling,and management of containerized applications.It groups containers that make up an application into logical units for easy management and discovery.


Prerequisite to start with Kubernetes and assignments: You should have basic idea about docker containers.

Basic docker commands handson : run,exec,stop,kill,start

How to create docker image : build,push with Docker file

How can pass memory param to run docker container : adding CPU core and ram memory limit to docker container.

Why to choose Kubernetes for my application :

1.Auto scaling.

2.High availability.

3.Open source software support.

4.Ability to handle more than 1000+ deployments in single cluster.

5.Load balancing.

6.Run anywhere.

7.Ability to handle resource limits such as CPU core and ram memory.

8.Easy to expand cluster capacity.

Key Component of Kubernetes:
1.etcd: Consistent and highly-available key value store used as Kubernetes backing store for all cluster data.

2.API Server : The API server is a component of the Kubernetes control plane that exposes the Kubernetes API.The API server is the front end for the Kubernetes control plane.

3.Scheduler : Control plane component that watches for newly created Pods with no assigned node, and selects a node for them to run on.

4.controller manager : Control Plane component that runs controller processes.
Logically,each controller is a separate process, but to reduce complexity, they are all compiled into a single binary and run in a single process.

These controllers include: Node controller,Replication controller,Endpoints controller,Service Account & Token controller.

5.container runtime : The container runtime is the software that is responsible for running containers.

6.Kubelet : An agent that runs on each node in the cluster. It makes sure that containers are running in a Pod.

7.kubelet proxy : kube-proxy is a network proxy that runs on each node in your cluster, implementing part of the Kubernetes Service concept. kube-proxy maintains network rules on nodes.

Advantages of Kubernetes:
1.Reducing resource costs.
2.Ease-of-use and portability.
3.scalability and modularity.
4.Outstanding community and industry support.
5.Rich feature set.
6.Ongoing development and new innovations.

No comments:

Powered by Blogger.