Understanding The Kubernetes Architecture With A Use-Case - Edureka
Understanding The Kubernetes Architecture With A Use-Case - Edureka
Samarpit
Containers have become the de nitive way to develop applications because they provide packages that contain everything you
need to run your applications. In this blog, we will discuss Kubernetes architecture and the moving parts of Kubernetes and also
what are the key elements, what are the roles and responsibilities of them in Kubernetes architecture.
Kubernetes: An Overview
Kubernetes is an open-source Container Management tool which automates container deployment, container (de)scaling &
container load balancing.
Written on Golang, it has a huge community because it was rst developed by Google & later donated
to CNCF
Can group ‘n’ no of containers into one logical unit for managing & deploying them
If you would favor a video explanation on Kubernetes Architecture, then you can go through the below video.
This video will give you an introduction to popular DevOps tool – Kubernetes, and will deep dive into Kubernetes Architecture
and its working.
Master nodes
Worker/Slave nodes
Distributed key-value store(etcd.)
Master Node
It is the entry point for all administrative tasks which is responsible for managing the Kubernetes cluster. There can be more than
one master node in the cluster to check for fault tolerance. More to
Subscribe than
ourone master node
Newsletter, putspersonalized
and get the system in a High Availability
recommendations.
×
mode, in which one of them will be the main node which we perform all the tasks.
Sign up with Google
For managing the cluster state, it uses etcd in which all the master nodes connect to it.
Explore Curriculum
Performs all the administrative tasks through the API server within the master node.
In this REST commands are sent to the API server which validates and processes the requests.
After requesting, the resulting state of the cluster is stored in the distributed key-value store.
Scheduler:
The scheduler schedules the tasks to slave nodes. It stores the resource usage information for each slave node.
It schedules the work in the form of Pods and Services.
Before scheduling the task, the scheduler also takes into account the quality of the service requirements, data locality,
a nity, anti-a nity, etc.
Controller manager:
Now you have understood the functioning of Master node. Let’s seetowhat
Subscribe our is the Worker/Minions
Newsletter, node and itsrecommendations.
and get personalized components. ×
Worker Node (formerly minions)
Sign up with Google
It is a physical server or you can say a VM which runs the applications using Pods (a pod scheduling unit) which is controlled by
the master node. On a physical server (worker/slave node), pods are scheduled. For accessing the applications from the external
Signup with Facebook
world, we connect to nodes.
Container runtime:
Kubelet:
Kube-proxy:
vOps Training
CERTIFICATION
TRAINING DEVOPS ENGINEER
TRAINING CERTIFICATION
TRAINING GIT AND GIT
Kube-proxy runs on each node to deal with individual host sub-netting and ensure that the services are available to external
parties.
It serves as a network proxy and a load balancer for a service on a single worker node and manages the network routing for
TCP and UDP packets.
It is the network proxy which runs on each worker node and listens to the API server for each Service endpoint
creation/deletion.
For each Service endpoint, kube-proxy sets up the routes so that it can reach to it.
Pods
A pod is one or more containers that logically go together. Pods run on nodes. Pods run together as a logical unit. So they have
the same shared content. They all share the same IP address but can reach other Pods via localhost, as well as shared storage.
Pods don’t need to all run on the same machine as containers can span more than one machine. One node can run multiple
pods.
Main Issue: There was no unit-of-deployment which created a gap between the development and the operations teams.
Solution:
They used a blue-green deployment mechanism to reduce the complexity of handling multiple concurrent versions. (As there’s
always only one version of the application running in the background)
In this, a component called “Deployer” that orchestrated the deployment was created by their team by open sourcing
their implementation under the Apache License as part of the Amdatu umbrella project. This mechanism performed the health
checking on the pods before re-con guring the load balancer because they wanted each component that was deployed to
provide a health check.
So, that’s the Kubernetes architecture in a simple fashion. So that brings an end to this blog on Kubernetes Architecture. Do look
Signup with Facebook
out for other blogs in this series which will explain the various other aspects of Kubernetes.
Got a question for us? Please mention it in the comments section and we will get backhave
to you. FREE WEBINAR
Already an account? Sign in.
Kubernetes Tutorial in 60 Minutes
https://www.edureka.co/blog/kubernetes-architecture/ 5/8
07/05/2021 Understanding the Kubernetes Architecture with a Use-Case | Edureka
Continuous Integration With DevOps Tutorial For Beginners DevOps is Going to Replace Ansible Tutorial For
Jenkins SDLC! Learn Why – Ansible Playbook
‹›
Maven Interview Questions: What is Continuous Git Tutorial – Commands And Top Puppet Interview
Everything You Need To Know Integration? Operations In Git Questions For 2020 –
Need To Know Abou
‹›
Comments 0 Comments
DevOps Certi cation AWS Certi ed DevOps Kubernetes Certi cation Git and GitHub
Training Engineer Training Training
95k Enrolled Learners 5k Enrolled Learners 7k Enrolled Learners 4k Enrolled Learners
Weekend/Weekday Weekend Weekend Weekend
Live Class Live Class Live Class Self Paced
‹›
Browse Categories
Arti cial Intelligence BI and Visualization Big Data Blockchain Cloud Computing Cyber Security Data Science
Data Warehousing and ETL Databases Digital Marketing Enterprise Front End Web Development Mobile Development
Operating Systems Programming & Frameworks Project Management and Methodologies Robotic Process Automation Software Testing
TRENDING CERTIFICATION COURSES TRENDING MASTERS COURSES
Big Data Hadoop Certi cation Training Cloud Architect Masters Program
Tableau Training & Certi cation Big Data Architect Masters Program
Python Certi cation Training for Data Science Machine Learning Engineer Masters Program
Selenium Certi cation Training Full Stack Web Developer Masters Program
Robotic Process Automation Training using UiPath Data Analyst Masters Program
Apache Spark and Scala Certi cation Training Test Automation Engineer Masters Program
Microsoft Power BI Training Post-Graduate Program in Arti cial Intelligence & Machine Learning
Online Java Course and Training Post-Graduate Program in Big Data Engineering
About us Careers
Community
DOWNLOAD APP
Sitemap
×
Blog Sitemap
CATEGORIES
CATEGORIES
Signup with Facebook
FREE WEBINAR
Already have an account? Sign in.
Kubernetes Tutorial in 60 Minutes
https://www.edureka.co/blog/kubernetes-architecture/ 7/8
07/05/2021 Understanding the Kubernetes Architecture with a Use-Case | Edureka
Cloud Computing DevOps Big Data Data Science BI and Visualization Programming & Frameworks Software Testing
Project Management and Methodologies Robotic Process Automation Frontend Development Data Warehousing and ETL Arti cial Intelligence
Blockchain Databases Cyber Security Mobile Development Operating Systems Architecture & Design Patterns Digital Marketing
Spring tutorial PHP interview questions Inheritance in Java Polymorphism in Java Spring interview questions Pointers in C Linux commands
Android tutorial JavaScript tutorial jQuery tutorial SQL interview questions MySQL tutorial Machine learning tutorial Python tutorial
What is machine learning Ethical hacking tutorial SQL injection AWS certi cation career opportunities AWS tutorial What Is cloud computing
What is blockchain Hadoop tutorial What is arti cial intelligence Node Tutorial Collections in Java Exception handling in java
Python Programming Language Python interview questions Multithreading in Java ReactJS Tutorial Data Science vs Big Data vs Data Analyt…
Software Testing Interview Questions R Tutorial Java Programs JavaScript Reserved Words and Keywor… Implement thread.yield() in Java: Exam…
Implement Optical Character Recogniti… All you Need to Know About Implemen…
© 2021 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved. Terms & Conditions
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of
MongoDB, Inc.