Day 30 Task: Kubernetes Architecture
Kashi Diggi
Actively seeking job opportunities in DevOps Engineer AWS | AWS Devops | Linux | Git & Github | Docker | Jenkins | Ansible | Kubernetes | Terraform | Grafana
Kubernetes Overview
With the widespread adoption of?containers among organizations, Kubernetes, the container-centric management software, has become a standard to deploy and operate containerized applications and is one of the most important parts of DevOps.
Originally developed at Google and released as open-source in 2014. Kubernetes builds on 15 years of running Google's containerized workloads and the valuable contributions from the open-source community. Inspired by Google’s internal cluster management system
Tasks
1.What is Kubernetes? Write in your own words and why do we call it k8s?
Kubernetes is an open-source platform that automates the deployment, scaling, and management of containerized applications. It was designed to simplify the process of running and managing containers in large-scale, multi-node environments.
The name "k8s" is simply a shorthand for "Kubernetes". The number 8 represents the number of letters skipped between the "K" and the "s" in the word "Kubernetes".
2.What are the benefits of using k8s?
The benefits of using Kubernetes (k8s) :
3. Explain the architecture of Kubernetes
The architecture of Kubernetes consists of several main components:
领英推荐
4. What is Control Plane?
The?Control Plane?manages the worker nodes and the Pods in the cluster. In production environments, the control plane usually runs across multiple computers and a cluster usually runs multiple nodes, providing fault-tolerance and high availability. Components of Control Plane includes API server, etcd, scheduler, and controller manager.
5. Write the difference between kubectl and kubelets
kubectl?is the command-line interface (CLI) tool for working with a Kubernetes cluster.?It communicates with the API server to perform various operations on the cluster, such as deploying applications, scaling resources, and inspecting logs.
Kubelet?is the technology that?applies, creates, updates, and destroys containers on a Kubernetes node
6. Explain the role of the API server.
When you interact with your Kubernetes cluster using the kubectl command-line interface, you are actually communicating with the master API Server component.
The API Server is the main management point of the entire cluster. In short, it processes REST operations, validates them, and updates the corresponding objects in etcd. The API Server serves up the?Kubernetes API and is intended to be a relatively simple server, with most business logic implemented in separate components or in plugins.
The API Server is also responsible for the authentication and authorization mechanism. All API clients should be authenticated in order to interact with the API Server.