SlideShare a Scribd company logo
1 of 21
INTRODUCTION TO KUBERNETES
Muhammad Zaryab (UET Taxila)
HISTORY OF
KUBERNETES
• C o m e s f r o m ” P i o l o t “ o r
“ h e l m s m e n ”
• C o m m o n r e f f e r e n t o K 8 ’ s
• F o u n d e d b y j o e
B e d a , B r e n d a n s B u r n s a n d
C r i a g i n 2 0 1 4
• I t s d e v e l o p m e n t a n d d e s i g n
a r e h e a v i l y i n f l u e n c e d b y
G o o g l e B o r g S y s t e m
• K u b e r n e t e s V e r s i o n 1 . 0
r e l e a s e d o n 2 1 J u l y 2 0 1 5
• L a t e s t v e r s i o n 1 . 1 7
Kubernetes-Muhammad Zaryab 2
THE PROBLEM
3
HOW TO SOLVE
4
MORE PROBLEMS
Multiple Application Stack
Large deployment
Deployment / updating /Scheduling
Replication /Availability
Resilience
Storage
Ingress
Then why we built Docker ?
Kubernetes-Muhammad Zaryab 5
WE NEED AN ORCHESTRATION TOOL ..!
Availability : scale as defined in your desired state
Resilience : if a container exits / dies , a new one is created
Storage :local,NFC ,ISCSI , GCEP ,AWS EBS and more
Deployment: with Canary Pattern
Scheduling :with resource limitation
Updates :with rolling updates
Networking and cluster DNS
Srvice Discovery
Ingress
Kubernetes-Muhammad Zaryab 6
UNDERSTANDING
ORCHESTRATION
E n d t o e n d a u t o m a t i o n w o r k f l o w o r p r o c e s s t h a t
c o o r d i n a t e s m u l t i p l e l o w e r l e v e l a u t o m a t i o n t o
d e l i v e r a r e s o u r c e o r s e t o f r e s o u r c e s a s a s e r v i c e
c l o u d o r c h e s t r a t i o n i s d e l i v e r b y c l o u d m a n a g e m e n t
p l a t f o r m C M
Kubernetes-Muhammad Zaryab 7
Why Choose
KUBERNETES
• Deployment Anywhere
• It’s made in parts that are
exchangeable and optimizeable
• Carnary Deployment ,rolling
Updates,Events and more
• Relies on year of Experience
Kubernetes-Muhammad Zaryab 8
KUBERNETES IS A
FRAMEWORK FOR
BUILDING DISTRIBUTED
PLATFORMS
You Specify a “Desired State” and Cluster Adjust its
“Running State” to match that
Kubernetes-Muhammad Zaryab 9
KUBERNETES COMPONENTS
Kubernetes-Muhammad Zaryab 10
Kubernetes cluster
Kubernetes-Muhammad Zaryab 11
ANATOMY OF POD
C o l l e c t i o n o f C o n t a i n e r s , L i v e t o g e t h e r a n d D i e t o g e t h e r
• C o n t a i n e r e n g i n e c o u l d b e d o c k e r / R o c k e t
• K u b e r n e t e s m a n a g e s p o d s i n s t e a d o f o v e r l o a d i n g d i f f e r e n t
c o n t a i n e r
• M o r e o f a p h y s i c a l / V M f e e l i n s i d e a p o d
• P r o x i e s
• I n i t C o n t a i n e r s
• H e l p e r C o n t a i n e r
Kubernetes-Muhammad Zaryab 12
SO WHAT’S SO
COOL ABOUT
KUBERNETES
• Portable :public , Private
,hybrid,multi –cloud
• Extensible : modular
,pulgable
• Self-healing : auto –
replacement,auto restart,
• Auto replication,auto
scalling
Kubernetes-Muhammad Zaryab 13
A word about installation
• On mac you can use Brew
• Easy to use Google cloud CLI
• You can also need minikube
to run the setup Locally
Kubernetes-Muhammad Zaryab 14
KUBERNETES
BASIC MODULES
Kubernetes-Muhammad Zaryab 15
Kubernetes-Muhammad Zaryab 16
CREATING A CLUSTER
Kubernetes-Muhammad Zaryab 17
How to install Kubernetes on Windows 10
Step 1: Install Hyper-V. Windows have their own virtualization software
called Hyper-V which is something like VirtualBox on steroids. ...
1: Go to Control Panel -> Programs -> Programs and Features and click Turn Windows features on and
off on the left panel.
2: Check Hyper-V and Windows Hypervisor Platform
3: Click OK
Step 2: Install Docker for Windows. ...
1: Head straight to https://hub.docker.com/editions/community/docker-ce-desktop-
windows
2: Start downloading the installer
3: Follow the instructions using the MSI installer and setup Docker.
Kubernetes-Muhammad Zaryab 18
How to install Kubernetes on Windows 10
Step 3: Install Kubernetes on Windows. ...
After installing Docker on Windows, it's time to install & enable Kubernetes using the GUI
tool that it's provided by Docker.
1: Right click on the Docker tray icon
2: Click "Settings"
3: On the left panel click "Kubernetes"
4: Check everything and click "Apply"
Step 4: Install Kubernetes Dashboard.
Kubernetes-Muhammad Zaryab 19
20
REFERENCES
https://kubernetes.io/
https://rominirani.com/
https://en.wikipedia.org/
https://books.google.com.pk/
https://www.sciencedirect.com/
https://scholar.google.com/
Add a Footer 21

More Related Content

Similar to Introduction to Kubernetes

The Highs and Lows of Stateful Containers
The Highs and Lows of Stateful ContainersThe Highs and Lows of Stateful Containers
The Highs and Lows of Stateful ContainersC4Media
 
Cluster Lifecycle Landscape
Cluster Lifecycle LandscapeCluster Lifecycle Landscape
Cluster Lifecycle LandscapeMike Danese
 
Platform Clouds, Containers, Immutable Infrastructure Oh My!
Platform Clouds, Containers, Immutable Infrastructure Oh My!Platform Clouds, Containers, Immutable Infrastructure Oh My!
Platform Clouds, Containers, Immutable Infrastructure Oh My!Stuart Charlton
 
Achieving CI/CD with Kubernetes
Achieving CI/CD with KubernetesAchieving CI/CD with Kubernetes
Achieving CI/CD with KubernetesRamit Surana
 
The Return of the Dull Stack Engineer
The Return of the Dull Stack EngineerThe Return of the Dull Stack Engineer
The Return of the Dull Stack EngineerKris Buytaert
 
Consuming Cinder from Docker
Consuming Cinder from DockerConsuming Cinder from Docker
Consuming Cinder from DockerJohn Griffith
 
SUSE - performance analysis-with_ceph
SUSE - performance analysis-with_cephSUSE - performance analysis-with_ceph
SUSE - performance analysis-with_cephinwin stack
 
【IVS CTO Night & Day】Amazon Container Services
【IVS CTO Night & Day】Amazon Container Services【IVS CTO Night & Day】Amazon Container Services
【IVS CTO Night & Day】Amazon Container ServicesAmazon Web Services Japan
 
Kafka Summit SF 2017 - Running Streaming Apps on Docker
Kafka Summit SF 2017 - Running Streaming Apps on DockerKafka Summit SF 2017 - Running Streaming Apps on Docker
Kafka Summit SF 2017 - Running Streaming Apps on Dockerconfluent
 
SUGCON 2015: Docker Containers and Sitecore
SUGCON 2015: Docker Containers and Sitecore SUGCON 2015: Docker Containers and Sitecore
SUGCON 2015: Docker Containers and Sitecore Vasiliy Fomichev
 
CloudStack Container Service
CloudStack Container ServiceCloudStack Container Service
CloudStack Container ServiceShapeBlue
 
Microservices Delivery Platform. Tips & Tricks
Microservices Delivery Platform. Tips & TricksMicroservices Delivery Platform. Tips & Tricks
Microservices Delivery Platform. Tips & TricksAndrey Trubitsyn
 
Consuming Cinder from Docker
Consuming Cinder from DockerConsuming Cinder from Docker
Consuming Cinder from DockerTesora
 
CloudStack EU user group - Trillian
CloudStack EU user group - TrillianCloudStack EU user group - Trillian
CloudStack EU user group - TrillianShapeBlue
 
TechUG Glasgow talk 22/Feb/17 Configuration Management Best Practices
TechUG Glasgow talk 22/Feb/17 Configuration Management Best PracticesTechUG Glasgow talk 22/Feb/17 Configuration Management Best Practices
TechUG Glasgow talk 22/Feb/17 Configuration Management Best PracticesDag Sonstebo
 
Performance analysis with_ceph
Performance analysis with_cephPerformance analysis with_ceph
Performance analysis with_cephAlex Lau
 
Build and Deploy Cloud Native Camel Quarkus routes with Tekton and Knative
Build and Deploy Cloud Native Camel Quarkus routes with Tekton and KnativeBuild and Deploy Cloud Native Camel Quarkus routes with Tekton and Knative
Build and Deploy Cloud Native Camel Quarkus routes with Tekton and KnativeOmar Al-Safi
 
Saltconf16 william-cannon b
Saltconf16 william-cannon bSaltconf16 william-cannon b
Saltconf16 william-cannon bWilliam Cannon
 
Müssen es denn immer gleich Docker und Kubernetes sein?!
Müssen es denn immer gleich Docker und Kubernetes sein?!Müssen es denn immer gleich Docker und Kubernetes sein?!
Müssen es denn immer gleich Docker und Kubernetes sein?!inovex GmbH
 

Similar to Introduction to Kubernetes (20)

The Highs and Lows of Stateful Containers
The Highs and Lows of Stateful ContainersThe Highs and Lows of Stateful Containers
The Highs and Lows of Stateful Containers
 
Cluster Lifecycle Landscape
Cluster Lifecycle LandscapeCluster Lifecycle Landscape
Cluster Lifecycle Landscape
 
Platform Clouds, Containers, Immutable Infrastructure Oh My!
Platform Clouds, Containers, Immutable Infrastructure Oh My!Platform Clouds, Containers, Immutable Infrastructure Oh My!
Platform Clouds, Containers, Immutable Infrastructure Oh My!
 
The elements of kubernetes
The elements of kubernetesThe elements of kubernetes
The elements of kubernetes
 
Achieving CI/CD with Kubernetes
Achieving CI/CD with KubernetesAchieving CI/CD with Kubernetes
Achieving CI/CD with Kubernetes
 
The Return of the Dull Stack Engineer
The Return of the Dull Stack EngineerThe Return of the Dull Stack Engineer
The Return of the Dull Stack Engineer
 
Consuming Cinder from Docker
Consuming Cinder from DockerConsuming Cinder from Docker
Consuming Cinder from Docker
 
SUSE - performance analysis-with_ceph
SUSE - performance analysis-with_cephSUSE - performance analysis-with_ceph
SUSE - performance analysis-with_ceph
 
【IVS CTO Night & Day】Amazon Container Services
【IVS CTO Night & Day】Amazon Container Services【IVS CTO Night & Day】Amazon Container Services
【IVS CTO Night & Day】Amazon Container Services
 
Kafka Summit SF 2017 - Running Streaming Apps on Docker
Kafka Summit SF 2017 - Running Streaming Apps on DockerKafka Summit SF 2017 - Running Streaming Apps on Docker
Kafka Summit SF 2017 - Running Streaming Apps on Docker
 
SUGCON 2015: Docker Containers and Sitecore
SUGCON 2015: Docker Containers and Sitecore SUGCON 2015: Docker Containers and Sitecore
SUGCON 2015: Docker Containers and Sitecore
 
CloudStack Container Service
CloudStack Container ServiceCloudStack Container Service
CloudStack Container Service
 
Microservices Delivery Platform. Tips & Tricks
Microservices Delivery Platform. Tips & TricksMicroservices Delivery Platform. Tips & Tricks
Microservices Delivery Platform. Tips & Tricks
 
Consuming Cinder from Docker
Consuming Cinder from DockerConsuming Cinder from Docker
Consuming Cinder from Docker
 
CloudStack EU user group - Trillian
CloudStack EU user group - TrillianCloudStack EU user group - Trillian
CloudStack EU user group - Trillian
 
TechUG Glasgow talk 22/Feb/17 Configuration Management Best Practices
TechUG Glasgow talk 22/Feb/17 Configuration Management Best PracticesTechUG Glasgow talk 22/Feb/17 Configuration Management Best Practices
TechUG Glasgow talk 22/Feb/17 Configuration Management Best Practices
 
Performance analysis with_ceph
Performance analysis with_cephPerformance analysis with_ceph
Performance analysis with_ceph
 
Build and Deploy Cloud Native Camel Quarkus routes with Tekton and Knative
Build and Deploy Cloud Native Camel Quarkus routes with Tekton and KnativeBuild and Deploy Cloud Native Camel Quarkus routes with Tekton and Knative
Build and Deploy Cloud Native Camel Quarkus routes with Tekton and Knative
 
Saltconf16 william-cannon b
Saltconf16 william-cannon bSaltconf16 william-cannon b
Saltconf16 william-cannon b
 
Müssen es denn immer gleich Docker und Kubernetes sein?!
Müssen es denn immer gleich Docker und Kubernetes sein?!Müssen es denn immer gleich Docker und Kubernetes sein?!
Müssen es denn immer gleich Docker und Kubernetes sein?!
 

Recently uploaded

08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 

Recently uploaded (20)

08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 

Introduction to Kubernetes

  • 2. HISTORY OF KUBERNETES • C o m e s f r o m ” P i o l o t “ o r “ h e l m s m e n ” • C o m m o n r e f f e r e n t o K 8 ’ s • F o u n d e d b y j o e B e d a , B r e n d a n s B u r n s a n d C r i a g i n 2 0 1 4 • I t s d e v e l o p m e n t a n d d e s i g n a r e h e a v i l y i n f l u e n c e d b y G o o g l e B o r g S y s t e m • K u b e r n e t e s V e r s i o n 1 . 0 r e l e a s e d o n 2 1 J u l y 2 0 1 5 • L a t e s t v e r s i o n 1 . 1 7 Kubernetes-Muhammad Zaryab 2
  • 5. MORE PROBLEMS Multiple Application Stack Large deployment Deployment / updating /Scheduling Replication /Availability Resilience Storage Ingress Then why we built Docker ? Kubernetes-Muhammad Zaryab 5
  • 6. WE NEED AN ORCHESTRATION TOOL ..! Availability : scale as defined in your desired state Resilience : if a container exits / dies , a new one is created Storage :local,NFC ,ISCSI , GCEP ,AWS EBS and more Deployment: with Canary Pattern Scheduling :with resource limitation Updates :with rolling updates Networking and cluster DNS Srvice Discovery Ingress Kubernetes-Muhammad Zaryab 6
  • 7. UNDERSTANDING ORCHESTRATION E n d t o e n d a u t o m a t i o n w o r k f l o w o r p r o c e s s t h a t c o o r d i n a t e s m u l t i p l e l o w e r l e v e l a u t o m a t i o n t o d e l i v e r a r e s o u r c e o r s e t o f r e s o u r c e s a s a s e r v i c e c l o u d o r c h e s t r a t i o n i s d e l i v e r b y c l o u d m a n a g e m e n t p l a t f o r m C M Kubernetes-Muhammad Zaryab 7
  • 8. Why Choose KUBERNETES • Deployment Anywhere • It’s made in parts that are exchangeable and optimizeable • Carnary Deployment ,rolling Updates,Events and more • Relies on year of Experience Kubernetes-Muhammad Zaryab 8
  • 9. KUBERNETES IS A FRAMEWORK FOR BUILDING DISTRIBUTED PLATFORMS You Specify a “Desired State” and Cluster Adjust its “Running State” to match that Kubernetes-Muhammad Zaryab 9
  • 12. ANATOMY OF POD C o l l e c t i o n o f C o n t a i n e r s , L i v e t o g e t h e r a n d D i e t o g e t h e r • C o n t a i n e r e n g i n e c o u l d b e d o c k e r / R o c k e t • K u b e r n e t e s m a n a g e s p o d s i n s t e a d o f o v e r l o a d i n g d i f f e r e n t c o n t a i n e r • M o r e o f a p h y s i c a l / V M f e e l i n s i d e a p o d • P r o x i e s • I n i t C o n t a i n e r s • H e l p e r C o n t a i n e r Kubernetes-Muhammad Zaryab 12
  • 13. SO WHAT’S SO COOL ABOUT KUBERNETES • Portable :public , Private ,hybrid,multi –cloud • Extensible : modular ,pulgable • Self-healing : auto – replacement,auto restart, • Auto replication,auto scalling Kubernetes-Muhammad Zaryab 13
  • 14. A word about installation • On mac you can use Brew • Easy to use Google cloud CLI • You can also need minikube to run the setup Locally Kubernetes-Muhammad Zaryab 14
  • 18. How to install Kubernetes on Windows 10 Step 1: Install Hyper-V. Windows have their own virtualization software called Hyper-V which is something like VirtualBox on steroids. ... 1: Go to Control Panel -> Programs -> Programs and Features and click Turn Windows features on and off on the left panel. 2: Check Hyper-V and Windows Hypervisor Platform 3: Click OK Step 2: Install Docker for Windows. ... 1: Head straight to https://hub.docker.com/editions/community/docker-ce-desktop- windows 2: Start downloading the installer 3: Follow the instructions using the MSI installer and setup Docker. Kubernetes-Muhammad Zaryab 18
  • 19. How to install Kubernetes on Windows 10 Step 3: Install Kubernetes on Windows. ... After installing Docker on Windows, it's time to install & enable Kubernetes using the GUI tool that it's provided by Docker. 1: Right click on the Docker tray icon 2: Click "Settings" 3: On the left panel click "Kubernetes" 4: Check everything and click "Apply" Step 4: Install Kubernetes Dashboard. Kubernetes-Muhammad Zaryab 19