SlideShare ist ein Scribd-Unternehmen logo
1 von 17
Presented By:
Himanshu Rajput
Software Consultant
Kubernetes
Architecture
Agenda
➢A quick introduction to Kubernetes
➢Architecture
➢Kubernetes components
➢Kubernetes terminology
➢Networking
➢Demo
Introduction
➢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 first developed
by Google & later donated to CNCF.
➢Based on learnings from Borg Project, which Google uses to deploy and
scale their internal applications (e.g: GMail, YouTube etc).
➢Gives you the freedom to take advantage of on-premises, hybrid, or public
cloud infrastructure, letting you move workloads to anywhere you want.
Components
Addons03 ● Web UI (Dashboard)
Node Components02
● Kube-proxy
● Container Runtime
● Kubelet
Master Components01
● Kube-api server
● Kube-scheduler
● Kube-controller-manager
● Etcd
Architecture
Master Components
➢Kube-api server
○ 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.
➢kube-controller-manager
○ Component on the master that runs controllers.
○ 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.
○ Controllers such as Node controller, Replication controller, Endpoints controller
etc.
Master Components
➢Kube-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.
➢Etcd
○ etcd is a distributed key-value store which stores the cluster state.
○ It can be part of the Kubernetes Master, or, it can be configured externally.
○ etcd is written in the Go programming language. In Kubernetes, besides storing
the cluster state. It is also used to store configuration details such as subnets,
ConfigMaps, Secrets, etc.
Node Components
➢Container runtime:
○ To run and manage a container’s lifecycle, we need a container runtime
on the worker node such as Docker, rkt etc
➢Kubelet:
○ It is an agent which communicates with the Master node and executes on
nodes or the worker nodes. It gets the Pod specifications through the API
server and executes the containers associated with the Pod and ensures
that the containers described in those Pod are running and healthy.
Node Components
➢Kube-proxy
○ Kube-proxy runs on each node to deal with individual host sub-netting and
ensure that the services are available to external parties.
○ 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
Terminology
➢Pods
○ Collection of containers. Smallest unit of deployment.
➢Services
○ Collection of pods. Exposed as an endpoint.
➢Replicasets
○ Ensure scalability and availability
➢Deployment
○ Creates replica sets and pods for you
➢Node
○ Machine which run workloads
Networking
➢There are 4 distinct networking problems to solve:
○ Highly-coupled container-to-container communications
○ Pod-to-Pod communications
○ Pod-to-Service communications
○ External-to-Service communications
Installation options
➢Local-machine solutions
○ Minikube
○ Minishift
○ Vagrant
➢Hosted solutions
○ Amazon Elastic Container Service for Kubernetes
○ DigitalOcean Kubernetes
○ Google Kubernetes Engine
○ OpenShift Online
○ ...many more
➢Baremetal solutions
○ Kubespray
○ Kubeadm
○ Kops with AWS
References
➢https://kubernetes.io/docs/home/
➢https://www.youtube.com/user/janakirammsv/featured
➢https://github.com/kelseyhightower/kubernetes-the-hard-way
Thank You !

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Kubernetes
KubernetesKubernetes
Kubernetes
 
An overview of the Kubernetes architecture
An overview of the Kubernetes architectureAn overview of the Kubernetes architecture
An overview of the Kubernetes architecture
 
Kubernetes Monitoring & Best Practices
Kubernetes Monitoring & Best PracticesKubernetes Monitoring & Best Practices
Kubernetes Monitoring & Best Practices
 
Kubernetes Introduction
Kubernetes IntroductionKubernetes Introduction
Kubernetes Introduction
 
Kubernetes Concepts And Architecture Powerpoint Presentation Slides
Kubernetes Concepts And Architecture Powerpoint Presentation SlidesKubernetes Concepts And Architecture Powerpoint Presentation Slides
Kubernetes Concepts And Architecture Powerpoint Presentation Slides
 
Introduction to Kubernetes Workshop
Introduction to Kubernetes WorkshopIntroduction to Kubernetes Workshop
Introduction to Kubernetes Workshop
 
Kubernetes: A Short Introduction (2019)
Kubernetes: A Short Introduction (2019)Kubernetes: A Short Introduction (2019)
Kubernetes: A Short Introduction (2019)
 
Hands-On Introduction to Kubernetes at LISA17
Hands-On Introduction to Kubernetes at LISA17Hands-On Introduction to Kubernetes at LISA17
Hands-On Introduction to Kubernetes at LISA17
 
Introduction to kubernetes
Introduction to kubernetesIntroduction to kubernetes
Introduction to kubernetes
 
Kubernetes a comprehensive overview
Kubernetes   a comprehensive overviewKubernetes   a comprehensive overview
Kubernetes a comprehensive overview
 
Kubernetes - introduction
Kubernetes - introductionKubernetes - introduction
Kubernetes - introduction
 
Kubernetes Architecture and Introduction
Kubernetes Architecture and IntroductionKubernetes Architecture and Introduction
Kubernetes Architecture and Introduction
 
01. Kubernetes-PPT.pptx
01. Kubernetes-PPT.pptx01. Kubernetes-PPT.pptx
01. Kubernetes-PPT.pptx
 
Kubernetes
KubernetesKubernetes
Kubernetes
 
Karpenter
KarpenterKarpenter
Karpenter
 
Kubernetes dealing with storage and persistence
Kubernetes  dealing with storage and persistenceKubernetes  dealing with storage and persistence
Kubernetes dealing with storage and persistence
 
Introduction to Kubernetes
Introduction to KubernetesIntroduction to Kubernetes
Introduction to Kubernetes
 
Kubernetes architecture
Kubernetes architectureKubernetes architecture
Kubernetes architecture
 
A brief study on Kubernetes and its components
A brief study on Kubernetes and its componentsA brief study on Kubernetes and its components
A brief study on Kubernetes and its components
 
Kubernetes Workshop
Kubernetes WorkshopKubernetes Workshop
Kubernetes Workshop
 

Ähnlich wie Kubernetes Architecture

Kubernetes for Beginners
Kubernetes for BeginnersKubernetes for Beginners
Kubernetes for Beginners
DigitalOcean
 
4. CNCF kubernetes Comparison of-existing-cni-plugins-for-kubernetes
4. CNCF kubernetes Comparison of-existing-cni-plugins-for-kubernetes4. CNCF kubernetes Comparison of-existing-cni-plugins-for-kubernetes
4. CNCF kubernetes Comparison of-existing-cni-plugins-for-kubernetes
Juraj Hantak
 
kubernetesssssssssssssssssssssssssss.pdf
kubernetesssssssssssssssssssssssssss.pdfkubernetesssssssssssssssssssssssssss.pdf
kubernetesssssssssssssssssssssssssss.pdf
bchiriamina2
 

Ähnlich wie Kubernetes Architecture (20)

Intro to Kubernetes
Intro to KubernetesIntro to Kubernetes
Intro to Kubernetes
 
Scalable Spark deployment using Kubernetes
Scalable Spark deployment using KubernetesScalable Spark deployment using Kubernetes
Scalable Spark deployment using Kubernetes
 
Kubernetes for Beginners
Kubernetes for BeginnersKubernetes for Beginners
Kubernetes for Beginners
 
Kubernetes #1 intro
Kubernetes #1   introKubernetes #1   intro
Kubernetes #1 intro
 
WSO2 Kubernetes Reference Architecture - Nov 2017
WSO2 Kubernetes Reference Architecture - Nov 2017WSO2 Kubernetes Reference Architecture - Nov 2017
WSO2 Kubernetes Reference Architecture - Nov 2017
 
First steps with kubernetes
First steps with kubernetesFirst steps with kubernetes
First steps with kubernetes
 
Nugwc k8s session-16-march-2021
Nugwc k8s session-16-march-2021Nugwc k8s session-16-march-2021
Nugwc k8s session-16-march-2021
 
DCSF19 How Docker Simplifies Kubernetes for the Masses
DCSF19 How Docker Simplifies Kubernetes for the Masses  DCSF19 How Docker Simplifies Kubernetes for the Masses
DCSF19 How Docker Simplifies Kubernetes for the Masses
 
Ultimate Guide to Microservice Architecture on Kubernetes
Ultimate Guide to Microservice Architecture on KubernetesUltimate Guide to Microservice Architecture on Kubernetes
Ultimate Guide to Microservice Architecture on Kubernetes
 
Kubernetes - how to orchestrate containers
Kubernetes - how to orchestrate containersKubernetes - how to orchestrate containers
Kubernetes - how to orchestrate containers
 
4. CNCF kubernetes Comparison of-existing-cni-plugins-for-kubernetes
4. CNCF kubernetes Comparison of-existing-cni-plugins-for-kubernetes4. CNCF kubernetes Comparison of-existing-cni-plugins-for-kubernetes
4. CNCF kubernetes Comparison of-existing-cni-plugins-for-kubernetes
 
Kubernetes in Docker
Kubernetes in DockerKubernetes in Docker
Kubernetes in Docker
 
Comparison of existing cni plugins for kubernetes
Comparison of existing cni plugins for kubernetesComparison of existing cni plugins for kubernetes
Comparison of existing cni plugins for kubernetes
 
Getting started with kubernetes
Getting started with kubernetesGetting started with kubernetes
Getting started with kubernetes
 
kubernetesssssssssssssssssssssssssss.pdf
kubernetesssssssssssssssssssssssssss.pdfkubernetesssssssssssssssssssssssssss.pdf
kubernetesssssssssssssssssssssssssss.pdf
 
Kubernetes intro
Kubernetes introKubernetes intro
Kubernetes intro
 
Container Orchestration using kubernetes
Container Orchestration using kubernetesContainer Orchestration using kubernetes
Container Orchestration using kubernetes
 
MicroServices with Containers, Kubernetes & ServiceMesh
MicroServices with Containers, Kubernetes & ServiceMeshMicroServices with Containers, Kubernetes & ServiceMesh
MicroServices with Containers, Kubernetes & ServiceMesh
 
Kubernetes 101
Kubernetes 101Kubernetes 101
Kubernetes 101
 
Introduction to kubernetes
Introduction to kubernetesIntroduction to kubernetes
Introduction to kubernetes
 

Mehr von Knoldus Inc.

Mehr von Knoldus Inc. (20)

Supply chain security with Kubeclarity.pptx
Supply chain security with Kubeclarity.pptxSupply chain security with Kubeclarity.pptx
Supply chain security with Kubeclarity.pptx
 
Mastering Web Scraping with JSoup Unlocking the Secrets of HTML Parsing
Mastering Web Scraping with JSoup Unlocking the Secrets of HTML ParsingMastering Web Scraping with JSoup Unlocking the Secrets of HTML Parsing
Mastering Web Scraping with JSoup Unlocking the Secrets of HTML Parsing
 
Akka gRPC Essentials A Hands-On Introduction
Akka gRPC Essentials A Hands-On IntroductionAkka gRPC Essentials A Hands-On Introduction
Akka gRPC Essentials A Hands-On Introduction
 
Entity Core with Core Microservices.pptx
Entity Core with Core Microservices.pptxEntity Core with Core Microservices.pptx
Entity Core with Core Microservices.pptx
 
Introduction to Redis and its features.pptx
Introduction to Redis and its features.pptxIntroduction to Redis and its features.pptx
Introduction to Redis and its features.pptx
 
GraphQL with .NET Core Microservices.pdf
GraphQL with .NET Core Microservices.pdfGraphQL with .NET Core Microservices.pdf
GraphQL with .NET Core Microservices.pdf
 
NuGet Packages Presentation (DoT NeT).pptx
NuGet Packages Presentation (DoT NeT).pptxNuGet Packages Presentation (DoT NeT).pptx
NuGet Packages Presentation (DoT NeT).pptx
 
Data Quality in Test Automation Navigating the Path to Reliable Testing
Data Quality in Test Automation Navigating the Path to Reliable TestingData Quality in Test Automation Navigating the Path to Reliable Testing
Data Quality in Test Automation Navigating the Path to Reliable Testing
 
K8sGPTThe AI​ way to diagnose Kubernetes
K8sGPTThe AI​ way to diagnose KubernetesK8sGPTThe AI​ way to diagnose Kubernetes
K8sGPTThe AI​ way to diagnose Kubernetes
 
Introduction to Circle Ci Presentation.pptx
Introduction to Circle Ci Presentation.pptxIntroduction to Circle Ci Presentation.pptx
Introduction to Circle Ci Presentation.pptx
 
Robusta -Tool Presentation (DevOps).pptx
Robusta -Tool Presentation (DevOps).pptxRobusta -Tool Presentation (DevOps).pptx
Robusta -Tool Presentation (DevOps).pptx
 
Optimizing Kubernetes using GOLDILOCKS.pptx
Optimizing Kubernetes using GOLDILOCKS.pptxOptimizing Kubernetes using GOLDILOCKS.pptx
Optimizing Kubernetes using GOLDILOCKS.pptx
 
Azure Function App Exception Handling.pptx
Azure Function App Exception Handling.pptxAzure Function App Exception Handling.pptx
Azure Function App Exception Handling.pptx
 
CQRS Design Pattern Presentation (Java).pptx
CQRS Design Pattern Presentation (Java).pptxCQRS Design Pattern Presentation (Java).pptx
CQRS Design Pattern Presentation (Java).pptx
 
ETL Observability: Azure to Snowflake Presentation
ETL Observability: Azure to Snowflake PresentationETL Observability: Azure to Snowflake Presentation
ETL Observability: Azure to Snowflake Presentation
 
Scripting with K6 - Beyond the Basics Presentation
Scripting with K6 - Beyond the Basics PresentationScripting with K6 - Beyond the Basics Presentation
Scripting with K6 - Beyond the Basics Presentation
 
Getting started with dotnet core Web APIs
Getting started with dotnet core Web APIsGetting started with dotnet core Web APIs
Getting started with dotnet core Web APIs
 
Introduction To Rust part II Presentation
Introduction To Rust part II PresentationIntroduction To Rust part II Presentation
Introduction To Rust part II Presentation
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
Configuring Workflows & Validators in JIRA
Configuring Workflows & Validators in JIRAConfiguring Workflows & Validators in JIRA
Configuring Workflows & Validators in JIRA
 

Kürzlich hochgeladen

Kürzlich hochgeladen (20)

The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
 
BUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptxBUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptx
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfAzure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
Pharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodologyPharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodology
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 

Kubernetes Architecture

  • 1. Presented By: Himanshu Rajput Software Consultant Kubernetes Architecture
  • 2. Agenda ➢A quick introduction to Kubernetes ➢Architecture ➢Kubernetes components ➢Kubernetes terminology ➢Networking ➢Demo
  • 3. Introduction ➢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 first developed by Google & later donated to CNCF. ➢Based on learnings from Borg Project, which Google uses to deploy and scale their internal applications (e.g: GMail, YouTube etc). ➢Gives you the freedom to take advantage of on-premises, hybrid, or public cloud infrastructure, letting you move workloads to anywhere you want.
  • 4. Components Addons03 ● Web UI (Dashboard) Node Components02 ● Kube-proxy ● Container Runtime ● Kubelet Master Components01 ● Kube-api server ● Kube-scheduler ● Kube-controller-manager ● Etcd
  • 6. Master Components ➢Kube-api server ○ 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. ➢kube-controller-manager ○ Component on the master that runs controllers. ○ 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. ○ Controllers such as Node controller, Replication controller, Endpoints controller etc.
  • 7. Master Components ➢Kube-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. ➢Etcd ○ etcd is a distributed key-value store which stores the cluster state. ○ It can be part of the Kubernetes Master, or, it can be configured externally. ○ etcd is written in the Go programming language. In Kubernetes, besides storing the cluster state. It is also used to store configuration details such as subnets, ConfigMaps, Secrets, etc.
  • 8. Node Components ➢Container runtime: ○ To run and manage a container’s lifecycle, we need a container runtime on the worker node such as Docker, rkt etc ➢Kubelet: ○ It is an agent which communicates with the Master node and executes on nodes or the worker nodes. It gets the Pod specifications through the API server and executes the containers associated with the Pod and ensures that the containers described in those Pod are running and healthy.
  • 9. Node Components ➢Kube-proxy ○ Kube-proxy runs on each node to deal with individual host sub-netting and ensure that the services are available to external parties. ○ 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
  • 10. Terminology ➢Pods ○ Collection of containers. Smallest unit of deployment. ➢Services ○ Collection of pods. Exposed as an endpoint. ➢Replicasets ○ Ensure scalability and availability ➢Deployment ○ Creates replica sets and pods for you ➢Node ○ Machine which run workloads
  • 11.
  • 12.
  • 13. Networking ➢There are 4 distinct networking problems to solve: ○ Highly-coupled container-to-container communications ○ Pod-to-Pod communications ○ Pod-to-Service communications ○ External-to-Service communications
  • 14.
  • 15. Installation options ➢Local-machine solutions ○ Minikube ○ Minishift ○ Vagrant ➢Hosted solutions ○ Amazon Elastic Container Service for Kubernetes ○ DigitalOcean Kubernetes ○ Google Kubernetes Engine ○ OpenShift Online ○ ...many more ➢Baremetal solutions ○ Kubespray ○ Kubeadm ○ Kops with AWS

Hinweis der Redaktion

  1. Note: First “Right Click” on the Gradient background, go to “Order” option and “Send it to Back”, then insert your picture into “Image Placeholder”, “Right Click” on the picture and again go to “Order” option and “Send it to Back” to get the “Gradient” effect. <number>
  2. <number>
  3. <number>
  4. <number>
  5. <number>
  6. <number>
  7. <number>
  8. <number>