SlideShare a Scribd company logo
1 of 33
Download to read offline
Kubernetes Architecture
2 ‫ي‬ ‫ب‬ ‫بال‬ ‫ت‬ ‫ي‬ ‫ز‬ ‫ب‬ ‫ي‬ ‫ك‬
‫اﻟﺷﺎﻋري‬ ‫ﻋﺑداﻟﻌﻠﯾم‬ ‫وﻟﯾد‬
@walidshaari
https://www.linkedin.com/in/walidshaari
https://github.com/walidshaari
background image credit: https://commons.wikimedia.org/wiki/File:Social_Network_Analysis_Visualization.png
Most of the non-original slides were collected and through the awesome @Kubernauts
https://twitter.com/kubernauts/status/1273683673662074886
>kubectl get plan
1. Quick review of last meetup ‫اﻟﻣﺎﺿﻲ‬ ‫ﻟﻠﻘﺎء‬ ‫ﺳرﯾﻌﺔ‬ ‫ﻣراﺟﻌﺔ‬
2. Step back and try to look at the bigger picture ‫واﻟﻛﯾوﺑرﻧﺗﯾس‬ ‫اﻟﺣﺎوﯾﺎت‬ ‫ﺗﻘﻧﯾﺔ‬ ‫ﻣﻛﺎﻧﺔ‬
3. why we are doing this? what is the end goal? ‫اﻟﻔواﺋد؟‬ ‫ﻣﺎھﻲ‬ ‫ﻟﻣﺎذا؟‬
4. Can we expand our minds about the container possibility and its use cases for our learning
Journey?
5. Expose and debate the Kubernetes architecture ‫ﻛﯾوﺑرﻧﺗﯾس‬ ‫ﻟﻌﻣﺎرة‬ ‫ﻋﻣﻠﯾﺔ‬ ‫ﻣﻧﺎﻗﺷﺔ‬
a. via what gets created when you provision a cluster ‫ﻛﻠﺳﺗر‬ ‫إﻧﺷﺎء‬ ‫ﺧﻼل‬ ‫ﻣن‬
b. What happens when you provision a simple primitive ‫ﺑﺳﯾط‬ ‫ﺗطﺑﯾق‬ ‫إﻧﺷﺎء‬ ‫ﻋﻧد‬ ‫ﯾﺣدث‬ ‫ﻣﺎذا‬
>kubectl get user
‫ي‬ ‫ا‬ ‫ال‬ ‫ي‬ ‫ال‬ ‫ب‬ ‫ي‬ ‫ل‬
@walidshaari
https://www.linkedin.com/in/walidshaari
https://github.com/walidshaari/Kubernetes-Certified-Administrator
● Analytics Infrastructure engineer
● Deployed and Supported large scale distributed HPC Linux clusters
● Configuration management evaluation and deployment project in 2014
● Advocating open source, automation, containers and Kubernetes
● Leading SAudi eastern province “Sharqaya” Dammam Docker, and AWS meetups
• Standardized packaging for software and
dependencies
• Isolate apps from each other
• Share the same host OS kernel
• Utilizes Linux Kernel features (e.g.
namespace, cgroups, apparmor, selinux)
• Microsoft have Windows Native Containers
• Lightweight application virtualization
• Consolidate 100s of applications per host
compared to 10s per vm
Review: containers? ‫ت‬ ‫يا‬ ‫ا‬ ‫ا‬
Build, distribute, and run applications almost anywhere
‫ت‬ ‫ي‬ ‫ز‬ ‫ب‬ ‫ي‬ ‫ك‬
5
https://twitter.com/kelseyhightower/status/935252923721793536
https://twitter.com/VMwareDesign/status/1257400427630530562
Application Delivery
‫ت‬ ‫ا‬ ‫ت‬ ‫ي‬ ‫ب‬ ‫ت‬ ‫ال‬ ‫ة‬ ‫ت‬
App
Application Portability
Ap
p
App
App
App
App
App
FOCUS ON CORE MISSION
‫ة‬ ‫ي‬ ‫أساس‬‫ال‬ ‫ة‬ ‫بالمهم‬ ‫ز‬ ‫ي‬ ‫ك‬ ‫ت‬ ‫ال‬
Less time spent on
Infrastructure
More time to concentrate on new
initiatives, activities and projects
More resources freed for
innovation
Virtualization
Operating System
Hardware
Application
Functions
Containers
Runtime
Types of Cloud Computing
Virtualization
Operating System
Hardware
Application
Functions
Containers
Runtime
Virtualization
Operating System
Hardware
Application
Functions
Containers
Runtime
Customer Managed
Customer Managed unit of scale
Provider Operated and Managed
Infrastructure as a Service
FaaS
Platform as a Service Function as a Service
PaaSIaaS
Example Enterprise Kubernetes
Infrastructure
Gitlab/Github/Bitbucket Services
Application source code
Domain Name Servers
Service and host discovery
EFK Stack
Audits and logs
Prometheus &
Grafana
Monitoring
Infrastructure
Control plane
Application nodes
Microsoft Active Directory
Corporate authentication and
authorization
Nexus Repository
Application artifacts repository integration
Enterprise NFS/ISCSI filers
Persistent Dynamic storage
HA Proxy
Service routing and Load balancing
Red Hat Satellite & Nexus
Registry
System and application package
life cycle management
https://landscape.cncf.io/
Ecosystem
Kubernetes’ High-Level Architecture Overview
Creating a single worker node cluster
https://asciinema.org/a/24jLJkCjDmmOeAGdyu6ul9Mci
https://asciinema.org/a/24jLJkCjDmmOeAGdyu6ul9Mci
Controller watch loop
‫اﻟﺗﺣﻛم‬ ‫دورة‬
Replica Controller
-..-.-..-.-.-..-.
Desired State:
apiVersion: apps/v1
kind: Deployment
metadata:
name: coredns
labels:
app: nginx
spec:
replicas: 2
=-...-.-=..
Current State
-
Source: Kubernetes effect by Bilgin Ibryam
Application dependency on Kubernetesprimitives
Scott McCarty Twitter: @fatherlinux Blog: bit.ly/fatherlinux
REGISTRY
Better than virtual appliance market places :-)
Defines a standard way to:
● Find images
● Run images
● Build new images
● Share images
● Pull images
● Introspect images
● Shell into running container
● Etc, etc, etc
Kubernetes’ High-Level Architecture Overview
Source: https://www.weave.works/blog/what-does-production-ready-really-mean-for-a-kubernetes-cluster
Kubernetes Components
Source: https://kubernetes.io/docs/concepts/overview/components/#master-components
A Typical Flow: How K8s API works
Source: https://blog.heptio.com/core-kubernetes-jazz-improv-over-orchestration-a7903ea92ca
Running the container image in Kubernetes
Source: Kubernetes in Action book by Marko Lukša
https://azure.microsoft.com/en-us/resources/kubernetes-learning-path/
‫؟‬ ‫ب‬ ‫ا‬ ‫ز‬ ‫ا‬
ً‫ا‬‫ﺷﻛر‬
https://www.katacoda.com
Inside Kind control-plane container
https://asciinema.org/a/348641
https://twitter.com/Chuckernetes/status/1169690858578481153/photo/1
Kubernetes Component Flow
Source: https://medium.com/payscale-tech/imperative-vs-declarative-a-kubernetes-tutorial-4be66c5d8914
Kubernetes Component Flow
Source: https://medium.com/cloud-heroes/exploring-the-flexibility-of-kubernetes-9f65db2360a0
VMs vs. Containers
Comparing Containers and VMs
Containers are an app
level construct
VMs are an infrastructure level
construct to turn one machine
into many servers
Containers and VMs together
Containers and VMs together provide a tremendous amount of
flexibility for IT to optimally deploy and manage apps.
How to build an event driven, dynamically reconfigurable microservices platform by Sven
Beauprez:

More Related Content

What's hot

C1 oracle's cloud computing strategy your strategy-your cloud_your choice
C1   oracle's cloud computing strategy your strategy-your cloud_your choiceC1   oracle's cloud computing strategy your strategy-your cloud_your choice
C1 oracle's cloud computing strategy your strategy-your cloud_your choice
Dr. Wilfred Lin (Ph.D.)
 

What's hot (20)

2016-09-eclipse-iot-cf-summit
2016-09-eclipse-iot-cf-summit2016-09-eclipse-iot-cf-summit
2016-09-eclipse-iot-cf-summit
 
Conquering Disaster Recovery Challenges and Out-of-Control Data with the Hybr...
Conquering Disaster Recovery Challenges and Out-of-Control Data with the Hybr...Conquering Disaster Recovery Challenges and Out-of-Control Data with the Hybr...
Conquering Disaster Recovery Challenges and Out-of-Control Data with the Hybr...
 
Cloud computing 1
Cloud computing  1Cloud computing  1
Cloud computing 1
 
As a Service: Cloud Foundry on OpenStack - Lessons Learnt
As a Service: Cloud Foundry on OpenStack - Lessons LearntAs a Service: Cloud Foundry on OpenStack - Lessons Learnt
As a Service: Cloud Foundry on OpenStack - Lessons Learnt
 
Oracle database in cloud, dr in cloud and overview of oracle database 18c
Oracle database in cloud, dr in cloud and overview of oracle database 18cOracle database in cloud, dr in cloud and overview of oracle database 18c
Oracle database in cloud, dr in cloud and overview of oracle database 18c
 
Organizing open stack-meetup-in-china
Organizing open stack-meetup-in-chinaOrganizing open stack-meetup-in-china
Organizing open stack-meetup-in-china
 
Watson on bluemix
Watson on bluemixWatson on bluemix
Watson on bluemix
 
Docker 101
Docker 101Docker 101
Docker 101
 
Cloud foundry integration-with-openstack-and-docker-bangalorecf-meetup
Cloud foundry integration-with-openstack-and-docker-bangalorecf-meetupCloud foundry integration-with-openstack-and-docker-bangalorecf-meetup
Cloud foundry integration-with-openstack-and-docker-bangalorecf-meetup
 
Openstack Cloud Management and Automation Using Red Hat Cloudforms 4.0
Openstack Cloud  Management and Automation Using Red Hat Cloudforms 4.0Openstack Cloud  Management and Automation Using Red Hat Cloudforms 4.0
Openstack Cloud Management and Automation Using Red Hat Cloudforms 4.0
 
Migrating Existing ASP.NET Web Applications to Microsoft Azure
Migrating Existing ASP.NET Web Applications to Microsoft AzureMigrating Existing ASP.NET Web Applications to Microsoft Azure
Migrating Existing ASP.NET Web Applications to Microsoft Azure
 
Understanding IaaS Requirements & Design Cloud
Understanding IaaS Requirements & Design CloudUnderstanding IaaS Requirements & Design Cloud
Understanding IaaS Requirements & Design Cloud
 
Introduction to Platform-as-a-Service and Cloud Foundry
Introduction to Platform-as-a-Service and Cloud FoundryIntroduction to Platform-as-a-Service and Cloud Foundry
Introduction to Platform-as-a-Service and Cloud Foundry
 
Cloud Foundry and OpenStack - A Marriage Made in Heaven! (Cloud Foundry Summi...
Cloud Foundry and OpenStack - A Marriage Made in Heaven! (Cloud Foundry Summi...Cloud Foundry and OpenStack - A Marriage Made in Heaven! (Cloud Foundry Summi...
Cloud Foundry and OpenStack - A Marriage Made in Heaven! (Cloud Foundry Summi...
 
C1 oracle's cloud computing strategy your strategy-your cloud_your choice
C1   oracle's cloud computing strategy your strategy-your cloud_your choiceC1   oracle's cloud computing strategy your strategy-your cloud_your choice
C1 oracle's cloud computing strategy your strategy-your cloud_your choice
 
Banking and Docker Datacenter - How Containers Drive Agility
Banking and Docker Datacenter - How Containers Drive AgilityBanking and Docker Datacenter - How Containers Drive Agility
Banking and Docker Datacenter - How Containers Drive Agility
 
12 factor app - Core Guidelines To Cloud Ready Solutions
12 factor app - Core Guidelines To Cloud Ready Solutions12 factor app - Core Guidelines To Cloud Ready Solutions
12 factor app - Core Guidelines To Cloud Ready Solutions
 
Kubernetes 101
Kubernetes 101Kubernetes 101
Kubernetes 101
 
Connect your datacenter to Microsoft Azure
Connect your datacenter to Microsoft AzureConnect your datacenter to Microsoft Azure
Connect your datacenter to Microsoft Azure
 
Kubernetes Basics - ICP Workshop Batch II
Kubernetes Basics - ICP Workshop Batch IIKubernetes Basics - ICP Workshop Batch II
Kubernetes Basics - ICP Workshop Batch II
 

Similar to K8s architecture meetup2- k8saraby

Similar to K8s architecture meetup2- k8saraby (20)

GitOps - Operation By Pull Request
GitOps - Operation By Pull RequestGitOps - Operation By Pull Request
GitOps - Operation By Pull Request
 
Cloud-Native Operations with Kubernetes and CI/CD
Cloud-Native Operations with Kubernetes and CI/CDCloud-Native Operations with Kubernetes and CI/CD
Cloud-Native Operations with Kubernetes and CI/CD
 
Working with kubernetes
Working with kubernetesWorking with kubernetes
Working with kubernetes
 
Kubernetes extensibility
Kubernetes extensibilityKubernetes extensibility
Kubernetes extensibility
 
DevOps with Kubernetes and Helm - Jenkins World Edition
DevOps with Kubernetes and Helm - Jenkins World EditionDevOps with Kubernetes and Helm - Jenkins World Edition
DevOps with Kubernetes and Helm - Jenkins World Edition
 
Spring Boot on Kubernetes/OpenShift
Spring Boot on Kubernetes/OpenShiftSpring Boot on Kubernetes/OpenShift
Spring Boot on Kubernetes/OpenShift
 
04_Azure Kubernetes Service: Basic Practices for Developers_GAB2019
04_Azure Kubernetes Service: Basic Practices for Developers_GAB201904_Azure Kubernetes Service: Basic Practices for Developers_GAB2019
04_Azure Kubernetes Service: Basic Practices for Developers_GAB2019
 
Kubernetes Architecture - beyond a black box - Part 1
Kubernetes Architecture - beyond a black box - Part 1Kubernetes Architecture - beyond a black box - Part 1
Kubernetes Architecture - beyond a black box - Part 1
 
Implementing AKS on the Enterprise
Implementing AKS on the EnterpriseImplementing AKS on the Enterprise
Implementing AKS on the Enterprise
 
A Love Story with Kubevirt and Backstage from Cloud Native NoVA meetup Feb 2024
A Love Story with Kubevirt and Backstage from Cloud Native NoVA meetup Feb 2024A Love Story with Kubevirt and Backstage from Cloud Native NoVA meetup Feb 2024
A Love Story with Kubevirt and Backstage from Cloud Native NoVA meetup Feb 2024
 
Kubernetes meetup 101
Kubernetes meetup 101Kubernetes meetup 101
Kubernetes meetup 101
 
Training and serving Tensorflow with Kubernetes on Azure
Training and serving Tensorflow with Kubernetes on AzureTraining and serving Tensorflow with Kubernetes on Azure
Training and serving Tensorflow with Kubernetes on Azure
 
DevOpsDaysRiga 2018: Andrew Martin - Continuous Kubernetes Security
DevOpsDaysRiga 2018: Andrew Martin - Continuous Kubernetes Security DevOpsDaysRiga 2018: Andrew Martin - Continuous Kubernetes Security
DevOpsDaysRiga 2018: Andrew Martin - Continuous Kubernetes Security
 
DCSF 19 Kubernetes and Container Storage Interface Update
DCSF 19 Kubernetes and Container Storage Interface UpdateDCSF 19 Kubernetes and Container Storage Interface Update
DCSF 19 Kubernetes and Container Storage Interface Update
 
KubeCon USA 2017 brief Overview - from Kubernetes meetup Bangalore
KubeCon USA 2017 brief Overview - from Kubernetes meetup BangaloreKubeCon USA 2017 brief Overview - from Kubernetes meetup Bangalore
KubeCon USA 2017 brief Overview - from Kubernetes meetup Bangalore
 
Kubernetes on on on on on on on on on on on on on on Azure Deck.pptx
Kubernetes on on on on on on on on on on on on on on Azure Deck.pptxKubernetes on on on on on on on on on on on on on on Azure Deck.pptx
Kubernetes on on on on on on on on on on on on on on Azure Deck.pptx
 
Oscon 2017: Build your own container-based system with the Moby project
Oscon 2017: Build your own container-based system with the Moby projectOscon 2017: Build your own container-based system with the Moby project
Oscon 2017: Build your own container-based system with the Moby project
 
On the way to Azure: monitoring and analytics based on Elastic stack
On the way to Azure: monitoring and analytics based on Elastic stackOn the way to Azure: monitoring and analytics based on Elastic stack
On the way to Azure: monitoring and analytics based on Elastic stack
 
Bring-your-ML-Project-into-Production-v2.pdf
Bring-your-ML-Project-into-Production-v2.pdfBring-your-ML-Project-into-Production-v2.pdf
Bring-your-ML-Project-into-Production-v2.pdf
 
DevOps in Age of Kubernetes
DevOps in Age of KubernetesDevOps in Age of Kubernetes
DevOps in Age of Kubernetes
 

More from Walid Shaari

Network Automation Journey, A systems engineer NetOps perspective
Network Automation Journey, A systems engineer NetOps perspectiveNetwork Automation Journey, A systems engineer NetOps perspective
Network Automation Journey, A systems engineer NetOps perspective
Walid Shaari
 

More from Walid Shaari (16)

Towards-cloud-native-HPC.pdf
Towards-cloud-native-HPC.pdfTowards-cloud-native-HPC.pdf
Towards-cloud-native-HPC.pdf
 
Aws ug dxb 2021 container series iv
Aws ug dxb 2021 container series  ivAws ug dxb 2021 container series  iv
Aws ug dxb 2021 container series iv
 
Open hybrid cloud
Open hybrid cloudOpen hybrid cloud
Open hybrid cloud
 
Okd wg kubecon marathon azure & vsphere
Okd wg kubecon marathon azure & vsphereOkd wg kubecon marathon azure & vsphere
Okd wg kubecon marathon azure & vsphere
 
Pydata 2020 containers meetup
Pydata  2020 containers meetup Pydata  2020 containers meetup
Pydata 2020 containers meetup
 
Dammam aws user group meetup
Dammam aws user group meetupDammam aws user group meetup
Dammam aws user group meetup
 
Bahrain ch9 introduction to docker 5th birthday
Bahrain ch9 introduction to docker 5th birthday Bahrain ch9 introduction to docker 5th birthday
Bahrain ch9 introduction to docker 5th birthday
 
IAU workshop 2018 day one
IAU workshop 2018 day oneIAU workshop 2018 day one
IAU workshop 2018 day one
 
Containers - Portable, repeatable user-oriented application delivery. Build, ...
Containers - Portable, repeatable user-oriented application delivery. Build, ...Containers - Portable, repeatable user-oriented application delivery. Build, ...
Containers - Portable, repeatable user-oriented application delivery. Build, ...
 
Network Automation Journey, A systems engineer NetOps perspective
Network Automation Journey, A systems engineer NetOps perspectiveNetwork Automation Journey, A systems engineer NetOps perspective
Network Automation Journey, A systems engineer NetOps perspective
 
Kick starting Network Automation
Kick starting Network AutomationKick starting Network Automation
Kick starting Network Automation
 
Docker Dhahran November 2017 meetup
Docker Dhahran November 2017 meetupDocker Dhahran November 2017 meetup
Docker Dhahran November 2017 meetup
 
Containers - Portable, repeatable user-oriented application delivery. Build, ...
Containers - Portable, repeatable user-oriented application delivery. Build, ...Containers - Portable, repeatable user-oriented application delivery. Build, ...
Containers - Portable, repeatable user-oriented application delivery. Build, ...
 
Docker Dhahran Nov 2016 meetup
Docker Dhahran Nov 2016 meetupDocker Dhahran Nov 2016 meetup
Docker Dhahran Nov 2016 meetup
 
What HPC can learn from DevOps?
What HPC can learn from DevOps?What HPC can learn from DevOps?
What HPC can learn from DevOps?
 
Docker 101 @KACST Saudi HPC 2016
Docker 101  @KACST Saudi HPC 2016Docker 101  @KACST Saudi HPC 2016
Docker 101 @KACST Saudi HPC 2016
 

Recently uploaded

21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx
rahulmanepalli02
 
Microkernel in Operating System | Operating System
Microkernel in Operating System | Operating SystemMicrokernel in Operating System | Operating System
Microkernel in Operating System | Operating System
Sampad Kar
 
Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..
MaherOthman7
 
Final DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manualFinal DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manual
BalamuruganV28
 
ALCOHOL PRODUCTION- Beer Brewing Process.pdf
ALCOHOL PRODUCTION- Beer Brewing Process.pdfALCOHOL PRODUCTION- Beer Brewing Process.pdf
ALCOHOL PRODUCTION- Beer Brewing Process.pdf
Madan Karki
 
Seizure stage detection of epileptic seizure using convolutional neural networks
Seizure stage detection of epileptic seizure using convolutional neural networksSeizure stage detection of epileptic seizure using convolutional neural networks
Seizure stage detection of epileptic seizure using convolutional neural networks
IJECEIAES
 
electrical installation and maintenance.
electrical installation and maintenance.electrical installation and maintenance.
electrical installation and maintenance.
benjamincojr
 
Online crime reporting system project.pdf
Online crime reporting system project.pdfOnline crime reporting system project.pdf
Online crime reporting system project.pdf
Kamal Acharya
 

Recently uploaded (20)

21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx
 
Microkernel in Operating System | Operating System
Microkernel in Operating System | Operating SystemMicrokernel in Operating System | Operating System
Microkernel in Operating System | Operating System
 
Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..
 
Vip ℂall Girls Karkardooma Phone No 9999965857 High Profile ℂall Girl Delhi N...
Vip ℂall Girls Karkardooma Phone No 9999965857 High Profile ℂall Girl Delhi N...Vip ℂall Girls Karkardooma Phone No 9999965857 High Profile ℂall Girl Delhi N...
Vip ℂall Girls Karkardooma Phone No 9999965857 High Profile ℂall Girl Delhi N...
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptx
 
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
 
Diploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdfDiploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdf
 
Final DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manualFinal DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manual
 
Geometric constructions Engineering Drawing.pdf
Geometric constructions Engineering Drawing.pdfGeometric constructions Engineering Drawing.pdf
Geometric constructions Engineering Drawing.pdf
 
Insurance management system project report.pdf
Insurance management system project report.pdfInsurance management system project report.pdf
Insurance management system project report.pdf
 
Dynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptxDynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptx
 
ALCOHOL PRODUCTION- Beer Brewing Process.pdf
ALCOHOL PRODUCTION- Beer Brewing Process.pdfALCOHOL PRODUCTION- Beer Brewing Process.pdf
ALCOHOL PRODUCTION- Beer Brewing Process.pdf
 
"United Nations Park" Site Visit Report.
"United Nations Park" Site  Visit Report."United Nations Park" Site  Visit Report.
"United Nations Park" Site Visit Report.
 
Seizure stage detection of epileptic seizure using convolutional neural networks
Seizure stage detection of epileptic seizure using convolutional neural networksSeizure stage detection of epileptic seizure using convolutional neural networks
Seizure stage detection of epileptic seizure using convolutional neural networks
 
electrical installation and maintenance.
electrical installation and maintenance.electrical installation and maintenance.
electrical installation and maintenance.
 
Introduction to Artificial Intelligence and History of AI
Introduction to Artificial Intelligence and History of AIIntroduction to Artificial Intelligence and History of AI
Introduction to Artificial Intelligence and History of AI
 
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...
 
Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2
 
Online crime reporting system project.pdf
Online crime reporting system project.pdfOnline crime reporting system project.pdf
Online crime reporting system project.pdf
 
Introduction to Arduino Programming: Features of Arduino
Introduction to Arduino Programming: Features of ArduinoIntroduction to Arduino Programming: Features of Arduino
Introduction to Arduino Programming: Features of Arduino
 

K8s architecture meetup2- k8saraby

  • 1. Kubernetes Architecture 2 ‫ي‬ ‫ب‬ ‫بال‬ ‫ت‬ ‫ي‬ ‫ز‬ ‫ب‬ ‫ي‬ ‫ك‬ ‫اﻟﺷﺎﻋري‬ ‫ﻋﺑداﻟﻌﻠﯾم‬ ‫وﻟﯾد‬ @walidshaari https://www.linkedin.com/in/walidshaari https://github.com/walidshaari background image credit: https://commons.wikimedia.org/wiki/File:Social_Network_Analysis_Visualization.png Most of the non-original slides were collected and through the awesome @Kubernauts https://twitter.com/kubernauts/status/1273683673662074886
  • 2. >kubectl get plan 1. Quick review of last meetup ‫اﻟﻣﺎﺿﻲ‬ ‫ﻟﻠﻘﺎء‬ ‫ﺳرﯾﻌﺔ‬ ‫ﻣراﺟﻌﺔ‬ 2. Step back and try to look at the bigger picture ‫واﻟﻛﯾوﺑرﻧﺗﯾس‬ ‫اﻟﺣﺎوﯾﺎت‬ ‫ﺗﻘﻧﯾﺔ‬ ‫ﻣﻛﺎﻧﺔ‬ 3. why we are doing this? what is the end goal? ‫اﻟﻔواﺋد؟‬ ‫ﻣﺎھﻲ‬ ‫ﻟﻣﺎذا؟‬ 4. Can we expand our minds about the container possibility and its use cases for our learning Journey? 5. Expose and debate the Kubernetes architecture ‫ﻛﯾوﺑرﻧﺗﯾس‬ ‫ﻟﻌﻣﺎرة‬ ‫ﻋﻣﻠﯾﺔ‬ ‫ﻣﻧﺎﻗﺷﺔ‬ a. via what gets created when you provision a cluster ‫ﻛﻠﺳﺗر‬ ‫إﻧﺷﺎء‬ ‫ﺧﻼل‬ ‫ﻣن‬ b. What happens when you provision a simple primitive ‫ﺑﺳﯾط‬ ‫ﺗطﺑﯾق‬ ‫إﻧﺷﺎء‬ ‫ﻋﻧد‬ ‫ﯾﺣدث‬ ‫ﻣﺎذا‬
  • 3. >kubectl get user ‫ي‬ ‫ا‬ ‫ال‬ ‫ي‬ ‫ال‬ ‫ب‬ ‫ي‬ ‫ل‬ @walidshaari https://www.linkedin.com/in/walidshaari https://github.com/walidshaari/Kubernetes-Certified-Administrator ● Analytics Infrastructure engineer ● Deployed and Supported large scale distributed HPC Linux clusters ● Configuration management evaluation and deployment project in 2014 ● Advocating open source, automation, containers and Kubernetes ● Leading SAudi eastern province “Sharqaya” Dammam Docker, and AWS meetups
  • 4. • Standardized packaging for software and dependencies • Isolate apps from each other • Share the same host OS kernel • Utilizes Linux Kernel features (e.g. namespace, cgroups, apparmor, selinux) • Microsoft have Windows Native Containers • Lightweight application virtualization • Consolidate 100s of applications per host compared to 10s per vm Review: containers? ‫ت‬ ‫يا‬ ‫ا‬ ‫ا‬ Build, distribute, and run applications almost anywhere
  • 5. ‫ت‬ ‫ي‬ ‫ز‬ ‫ب‬ ‫ي‬ ‫ك‬ 5 https://twitter.com/kelseyhightower/status/935252923721793536 https://twitter.com/VMwareDesign/status/1257400427630530562
  • 6. Application Delivery ‫ت‬ ‫ا‬ ‫ت‬ ‫ي‬ ‫ب‬ ‫ت‬ ‫ال‬ ‫ة‬ ‫ت‬ App Application Portability Ap p App App App App App
  • 7. FOCUS ON CORE MISSION ‫ة‬ ‫ي‬ ‫أساس‬‫ال‬ ‫ة‬ ‫بالمهم‬ ‫ز‬ ‫ي‬ ‫ك‬ ‫ت‬ ‫ال‬ Less time spent on Infrastructure More time to concentrate on new initiatives, activities and projects More resources freed for innovation
  • 8. Virtualization Operating System Hardware Application Functions Containers Runtime Types of Cloud Computing Virtualization Operating System Hardware Application Functions Containers Runtime Virtualization Operating System Hardware Application Functions Containers Runtime Customer Managed Customer Managed unit of scale Provider Operated and Managed Infrastructure as a Service FaaS Platform as a Service Function as a Service PaaSIaaS
  • 9. Example Enterprise Kubernetes Infrastructure Gitlab/Github/Bitbucket Services Application source code Domain Name Servers Service and host discovery EFK Stack Audits and logs Prometheus & Grafana Monitoring Infrastructure Control plane Application nodes Microsoft Active Directory Corporate authentication and authorization Nexus Repository Application artifacts repository integration Enterprise NFS/ISCSI filers Persistent Dynamic storage HA Proxy Service routing and Load balancing Red Hat Satellite & Nexus Registry System and application package life cycle management
  • 12. Creating a single worker node cluster https://asciinema.org/a/24jLJkCjDmmOeAGdyu6ul9Mci
  • 14. Controller watch loop ‫اﻟﺗﺣﻛم‬ ‫دورة‬ Replica Controller -..-.-..-.-.-..-. Desired State: apiVersion: apps/v1 kind: Deployment metadata: name: coredns labels: app: nginx spec: replicas: 2 =-...-.-=.. Current State -
  • 15. Source: Kubernetes effect by Bilgin Ibryam Application dependency on Kubernetesprimitives
  • 16. Scott McCarty Twitter: @fatherlinux Blog: bit.ly/fatherlinux REGISTRY Better than virtual appliance market places :-) Defines a standard way to: ● Find images ● Run images ● Build new images ● Share images ● Pull images ● Introspect images ● Shell into running container ● Etc, etc, etc
  • 17. Kubernetes’ High-Level Architecture Overview Source: https://www.weave.works/blog/what-does-production-ready-really-mean-for-a-kubernetes-cluster
  • 19. A Typical Flow: How K8s API works Source: https://blog.heptio.com/core-kubernetes-jazz-improv-over-orchestration-a7903ea92ca
  • 20. Running the container image in Kubernetes Source: Kubernetes in Action book by Marko Lukša
  • 24.
  • 25.
  • 26. Inside Kind control-plane container https://asciinema.org/a/348641
  • 28. Kubernetes Component Flow Source: https://medium.com/payscale-tech/imperative-vs-declarative-a-kubernetes-tutorial-4be66c5d8914
  • 29. Kubernetes Component Flow Source: https://medium.com/cloud-heroes/exploring-the-flexibility-of-kubernetes-9f65db2360a0
  • 31. Comparing Containers and VMs Containers are an app level construct VMs are an infrastructure level construct to turn one machine into many servers
  • 32. Containers and VMs together Containers and VMs together provide a tremendous amount of flexibility for IT to optimally deploy and manage apps.
  • 33. How to build an event driven, dynamically reconfigurable microservices platform by Sven Beauprez: