Assignment 3 by Nallagatla Sarvani [25-05-2022]
Limited Time Offer!
For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!
What is Kubernetes?
Kubernetes is an open-source container for automating software deployment, scaling, and management. Kubernetes originally designed by Google, Kubernetes isĀ a portable, extensible, open-source platform for managing containerized workloads and services. Kubernetes is a system that manages containers where a container could be explained as a lightweight virtual machine. To build an application you need to build a bunch of containers and then use Kubernetes to manage those containers. Kubernetes provides an easy way to scale your application, compared to virtual machines. It keeps code operational and speeds up the delivery process. Kubernetes API allows automating a lot of resource management and provisioning tasks. Kubernetes, also known as K8s, is an open-source system for automating deployment, scaling, and management of containerized applications.
5 reasons of using kubernetes
Kubernets has elaborate security precautions
portability and flexibility
multi cloud capability
Increased developer productivity
Optimizing the It costs
Kubernetes Components
API server: All the services like managing resources and functionalities handled in api server.
ETCD: Etcd is a distributed key-value storeof Kubernetes. It stores and replicates the Kubernetes cluster state.To run etcd, you first need to have a Kubernetes cluster and the command-line tool configured to communicate.And used for storing all data of kubernetes cluster.
Schedular:The schedulerās responsibility is to assign pods to nodes within your cluster. The scheduler will use information such as compute requests and limits defined within your workload.For assigning container to wporker also this schedular component helpful
Controller mgmr:
The Kubernetes controller manager is a collection of controllers bundled within a single binary and run in a single process.
I. Node controller:Ā Responsible for identifying changes in nodes within the cluster
II. Replication controller:Ā Responsible for maintaining replications of objects in the cluster
III. Endpoint controller: Responsible for provisioning of endpoints
Kube proxy: Used for connecting networking services.