SlideShare ist ein Scribd-Unternehmen logo
1 von 28
Downloaden Sie, um offline zu lesen
Kubernetes
Presented by:
Diana Chiu
Jiayin Liu
Rahul Malhotra
Meet Maniar
Nidhi Patel
Guided by: Omar Abdul Wahab
COEN 424/6313 Programming on the Cloud
Background
"Google's Borg system is a cluster manager that runs hundreds of thousands
of jobs, from many thousands of different applications, across a number of
clusters each with up to tens of thousands of machines."
- Abstarct of Google’s Borg Paper
What is Kubernetes?
•The name kubernetes originated from Greek, which means “helmsman” or “Pilot.”
•It is also known as K8s where K is the first character and last 8 letters are replaced by substring
“ubernete”.
● Kubernetes are originally developed by Google in 2014 and now, it is a part of the Cloud Native
Computing Foundation project. It is written in go language.
● It is used to group multiple containers into one unit in order to facilitate management and
deployment of multiple containers.
Container Orchestration
First, what is container?
- One kind of way to deliver and package multiple applications with High-performing , scalable
applications on any kind of infrastructure.
Need to deploy containers over cluster for large scalable applications. At production stage of the
application, we need to ensure that our application should run as per following:
- Fault-tolerant
- On-demand scalability
- Optimal resource use
- Inter-application communication
- Accessibility from external environment
- Fast update/rollback
Container Orchestration is used to meet all above requirements
Container Orchestrators
Kubernetes, Docker Swarm, Amazon ECS, etc...
What can a container orchestrator do?
- Bind hosts to a cluster
- Assign and schedule containers to run on
hosts
- Help communication between containers
running on different hosts
- Bind similar container to manage them as
services
- Keep track of usage and storage
- Enable secure access to apps in containers
Ref : https://coderise.io/wp-content/uploads/2018/01/orchestration-1073x550.png
Docker proved to be all of the
following:
● Faster
● Reliable
● Efficient
● Light-weight
● Scalable
But...Docker
Swarm was not
easily Scalable..
It was not
scalable
because….
● Container could not
communicate with each
other
● Container had to be
deployed appropriately
● Containers had to be
managed carefully
● Auto scaling was not
possible
● Distributing traffic was
still challenging
How does Kubernetes Work
https://upload.wikimedia.org/wikipedia/commons/thumb/b/be/Kubernetes.png/600px-
Master: Controls the cluster and
nodes in it.
Nodes: Hold the containers inside
them; containers are inside separate
PODS.
PODS : are logical collection of
containers which need to interact
with each other for an application
Ref : https://d1jnx9ba8s6j9r.cloudfront.net/blog/wp-content/uploads/2018/05/kubernetes-architecture-
768x345.png
Wait, What are the basic components?
How should I define states of cluster?
Reference: https://www.edureka.co/blog/kubernetes-vs-docker/
One can set desired
cluster using two
methods:
1. Command Line
Interface(CLI)
-It uses kubectl to
serve the purpose.
2. Kubernetes API.
-It uses API
directly to
communicate with
the cluster and set
or change desired
cluster sets.
All right. What is Master Node then?
- API server
- Controller Manager
- Scheduler
- etcd
API Server: is management and communication center for master node and its object such as
pods, services, volumes and others. The server takes REST commands from user/operator, then
executes requests
Controller Manager : manages and attempting to change the current state of the cluster to the
desired state
Scheduler : schedules work mainly for worker nodes. The scheduler has information of workers’
resource usage and constraints. It schedules the work in terms of Pod and Service
etcd : is an operator consists of key value for storing cluster states and mainly manages to
maintain healthy state of the cluster
What about Worker Node?
- Container runtime
 Executes & manages container
images
- Kubelet
 Communicates with Master
Node, run containers
- Kube-proxy
 It runs on each node and
provides networking services on
each node.
Kubernetes Objects
• Unit of deployment, group of containers
deployed on the same hostPod
• Logical interface of service/microserviceService
• Preserves container dataVolume
• Virtual clusterNamespace
Ref: https://blog.csdn.net/M2l0ZgSsVc7r69eFdTj/article/details/79329738
Kubernetes VS Docker Swarm
Similarities
- Open source projects
- Various storage options
- Load balancing and DNS
- Monitoring
- Support high availability
Differences
Scalability:
- Kubernetes
 Provides strong cluster state health guarantee
 Slower scaling & deployment rate
- Docker Swarm
 Deploy container faster compared to Kubernetes
 Fast on-demand scaling for smaller cluster
Application Definition:
- Kubernetes
 Application deployed as pods + deployment + services
 Deployment replicated in multiple nodes
- Docker Swarm
 Application deployed as services (microservices)
Auto-scaling:
- Kubernetes: available
- Docker Swarm: Not directly available
Overall...
Kubernetes:
- Higher complexity, flexible but complex installation, stable support for high demand and large
scale application
Docker Swarm:
- Simple solution for smaller scale application, quick setup
Features of Kubernetes
Automatic
binpacking
Self- Healing
Horizontal
scaling
Service
discovery and
Load Balancing
Automatic
rollouts and
rollbacks
Secrets and
configuration
management
Storage
orchestration
Batch
execution
Advantages of Kubernetes
Deals with
large data
volume
Auto-scaling
Analyzes server
load to scale
up/down
Logging and
monitoring
Quickly analyze
logs to debug
failures
Monitoring keeps
Master constantly
aware of Worker
Nodes health
Provides GUI
Limitations of Kubernetes
•Management tools need to be
installed separately
Complex
installation and
setup procedures
•Newly created process takes
time to initialize before
becoming available to user
Long process
initialization &
slower container
management
Demo
● Please follow the link mentioned here to understand working of Kubernetes.
https://www.dropbox.com/s/h67wxttmcb83kd6/final-demo-2018-11-20_01.06.20.mp4?raw=1
References
[1]"Compare Kubernetes vs Docker Swarm", Platform9, 2018. [Online]. Available:
https://platform9.com/blog/kubernetes-docker-swarm-compared/. [Accessed: 31- Oct- 2018].
[2]"Production-Grade Container Orchestration", Kubernetes.io, 2018. [Online]. Available: https://kubernetes.io.
[Accessed: 31- Oct- 2018].
[3]S. Ravindra, M. Fredrickson and S. Dyer, "Kubernetes vs. Docker Swarm: What’s the Difference?", The New
Stack, 2018. [Online]. Available: https://thenewstack.io/kubernetes-vs-docker-swarm-whats-the-difference/.
[Accessed: 31- Oct- 2018].
[4]"Understanding the Kubernetes Architecture with a Use-Case", Edureka Blog, 2018. [Online]. Available:
https://www.edureka.co/blog/kubernetes-architecture/. [Accessed: 31- Oct- 2018].
Thank You

Weitere ähnliche Inhalte

Was ist angesagt?

Docker 101 - all about Docker containers
Docker 101 - all about Docker containers Docker 101 - all about Docker containers
Docker 101 - all about Docker containers
Ian Lumb
 

Was ist angesagt? (20)

How Kubernetes helps Devops
How Kubernetes helps DevopsHow Kubernetes helps Devops
How Kubernetes helps Devops
 
Multi-Container Apps spanning Docker, Mesos and OpenStack
Multi-Container Apps spanning Docker, Mesos and OpenStackMulti-Container Apps spanning Docker, Mesos and OpenStack
Multi-Container Apps spanning Docker, Mesos and OpenStack
 
Power of Choice in Docker EE 2.0 - Anoop - Docker - CC18
Power of Choice in Docker EE 2.0 - Anoop - Docker - CC18Power of Choice in Docker EE 2.0 - Anoop - Docker - CC18
Power of Choice in Docker EE 2.0 - Anoop - Docker - CC18
 
Google Cloud Container Security Quick Overview
Google Cloud Container Security Quick OverviewGoogle Cloud Container Security Quick Overview
Google Cloud Container Security Quick Overview
 
Kubernetes Networking - Sreenivas Makam - Google - CC18
Kubernetes Networking - Sreenivas Makam - Google - CC18Kubernetes Networking - Sreenivas Makam - Google - CC18
Kubernetes Networking - Sreenivas Makam - Google - CC18
 
Getting started with google kubernetes engine
Getting started with google kubernetes engineGetting started with google kubernetes engine
Getting started with google kubernetes engine
 
Kubernates : An Small introduction for Beginners by Rajiv Vishwkarma
Kubernates : An Small introduction for Beginners by Rajiv VishwkarmaKubernates : An Small introduction for Beginners by Rajiv Vishwkarma
Kubernates : An Small introduction for Beginners by Rajiv Vishwkarma
 
Kubecon seattle 2018 recap - Application Deployment aspects
Kubecon seattle 2018 recap - Application Deployment aspectsKubecon seattle 2018 recap - Application Deployment aspects
Kubecon seattle 2018 recap - Application Deployment aspects
 
Introduction to kubernetes
Introduction to kubernetesIntroduction to kubernetes
Introduction to kubernetes
 
Nugwc k8s session-16-march-2021
Nugwc k8s session-16-march-2021Nugwc k8s session-16-march-2021
Nugwc k8s session-16-march-2021
 
Cloud Native Landscape (CNCF and OCI)
Cloud Native Landscape (CNCF and OCI)Cloud Native Landscape (CNCF and OCI)
Cloud Native Landscape (CNCF and OCI)
 
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
 
Google Cloud Platform and Kubernetes
Google Cloud Platform and KubernetesGoogle Cloud Platform and Kubernetes
Google Cloud Platform and Kubernetes
 
Docker and containerization
Docker and containerizationDocker and containerization
Docker and containerization
 
Gentle introduction to containers and kubernetes
Gentle introduction to containers and kubernetesGentle introduction to containers and kubernetes
Gentle introduction to containers and kubernetes
 
"Kubernetes as Driver of Generic IT Automation"
"Kubernetes as Driver of Generic IT Automation""Kubernetes as Driver of Generic IT Automation"
"Kubernetes as Driver of Generic IT Automation"
 
Kubernetes Basics
Kubernetes BasicsKubernetes Basics
Kubernetes Basics
 
Container World 2017!
Container World 2017!Container World 2017!
Container World 2017!
 
Kubernetes - how to orchestrate containers
Kubernetes - how to orchestrate containersKubernetes - how to orchestrate containers
Kubernetes - how to orchestrate containers
 
Docker 101 - all about Docker containers
Docker 101 - all about Docker containers Docker 101 - all about Docker containers
Docker 101 - all about Docker containers
 

Ähnlich wie Kubernetes: https://youtu.be/KnjnQj-FvfQ

Ähnlich wie Kubernetes: https://youtu.be/KnjnQj-FvfQ (20)

Kubernetes 101
Kubernetes 101Kubernetes 101
Kubernetes 101
 
Kubernetes is all you need
Kubernetes is all you needKubernetes is all you need
Kubernetes is all you need
 
Introduction to containers, k8s, Microservices & Cloud Native
Introduction to containers, k8s, Microservices & Cloud NativeIntroduction to containers, k8s, Microservices & Cloud Native
Introduction to containers, k8s, Microservices & Cloud Native
 
What is the Difference Between Kubernetes and Docker?
What is the Difference Between Kubernetes and Docker?What is the Difference Between Kubernetes and Docker?
What is the Difference Between Kubernetes and Docker?
 
Cloud technology with practical knowledge
Cloud technology with practical knowledgeCloud technology with practical knowledge
Cloud technology with practical knowledge
 
Docker & kubernetes
Docker & kubernetesDocker & kubernetes
Docker & kubernetes
 
Best online kubernetes course in H2KInfosys.pdf
Best online kubernetes course in H2KInfosys.pdfBest online kubernetes course in H2KInfosys.pdf
Best online kubernetes course in H2KInfosys.pdf
 
Multi-Cloud Orchestration for Kubernetes with Cloudify - Webinar Presentation
Multi-Cloud Orchestration for Kubernetes with Cloudify - Webinar PresentationMulti-Cloud Orchestration for Kubernetes with Cloudify - Webinar Presentation
Multi-Cloud Orchestration for Kubernetes with Cloudify - Webinar Presentation
 
Multi-Cloud Orchestration for Kubernetes with Cloudify
Multi-Cloud Orchestration for Kubernetes with CloudifyMulti-Cloud Orchestration for Kubernetes with Cloudify
Multi-Cloud Orchestration for Kubernetes with Cloudify
 
Evaluating Serverless Machine Learning Performance On Google Cloud Run.pptx
Evaluating Serverless Machine Learning Performance On Google Cloud Run.pptxEvaluating Serverless Machine Learning Performance On Google Cloud Run.pptx
Evaluating Serverless Machine Learning Performance On Google Cloud Run.pptx
 
Modern big data and machine learning in the era of cloud, docker and kubernetes
Modern big data and machine learning in the era of cloud, docker and kubernetesModern big data and machine learning in the era of cloud, docker and kubernetes
Modern big data and machine learning in the era of cloud, docker and kubernetes
 
Kubernetes: A Top Notch Automation Solution
Kubernetes: A Top Notch Automation SolutionKubernetes: A Top Notch Automation Solution
Kubernetes: A Top Notch Automation Solution
 
6 Steps Functionality Hacks To Kubernetes - 2023 Update.pdf
6 Steps Functionality Hacks To Kubernetes - 2023 Update.pdf6 Steps Functionality Hacks To Kubernetes - 2023 Update.pdf
6 Steps Functionality Hacks To Kubernetes - 2023 Update.pdf
 
Kubernetes Vs. Docker Swarm: Comparing the Best Container Orchestration Tool ...
Kubernetes Vs. Docker Swarm: Comparing the Best Container Orchestration Tool ...Kubernetes Vs. Docker Swarm: Comparing the Best Container Orchestration Tool ...
Kubernetes Vs. Docker Swarm: Comparing the Best Container Orchestration Tool ...
 
Better code, faster with kubernetes in google cloud
Better code, faster with kubernetes in google cloudBetter code, faster with kubernetes in google cloud
Better code, faster with kubernetes in google cloud
 
Scalable Spark deployment using Kubernetes
Scalable Spark deployment using KubernetesScalable Spark deployment using Kubernetes
Scalable Spark deployment using Kubernetes
 
Kubernetes - An introduction
Kubernetes - An introductionKubernetes - An introduction
Kubernetes - An introduction
 
Docker and Kubernetes Training - India
Docker and Kubernetes Training - IndiaDocker and Kubernetes Training - India
Docker and Kubernetes Training - India
 
Google Cloud Platform Kubernetes Workshop IYTE
Google Cloud Platform Kubernetes Workshop IYTEGoogle Cloud Platform Kubernetes Workshop IYTE
Google Cloud Platform Kubernetes Workshop IYTE
 
Docker Swarm vs. Kubernetes Which is the best
Docker Swarm vs. Kubernetes Which is the bestDocker Swarm vs. Kubernetes Which is the best
Docker Swarm vs. Kubernetes Which is the best
 

Kürzlich hochgeladen

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Kürzlich hochgeladen (20)

Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 

Kubernetes: https://youtu.be/KnjnQj-FvfQ

  • 1. Kubernetes Presented by: Diana Chiu Jiayin Liu Rahul Malhotra Meet Maniar Nidhi Patel Guided by: Omar Abdul Wahab COEN 424/6313 Programming on the Cloud
  • 2. Background "Google's Borg system is a cluster manager that runs hundreds of thousands of jobs, from many thousands of different applications, across a number of clusters each with up to tens of thousands of machines." - Abstarct of Google’s Borg Paper
  • 3. What is Kubernetes? •The name kubernetes originated from Greek, which means “helmsman” or “Pilot.” •It is also known as K8s where K is the first character and last 8 letters are replaced by substring “ubernete”. ● Kubernetes are originally developed by Google in 2014 and now, it is a part of the Cloud Native Computing Foundation project. It is written in go language. ● It is used to group multiple containers into one unit in order to facilitate management and deployment of multiple containers.
  • 4. Container Orchestration First, what is container? - One kind of way to deliver and package multiple applications with High-performing , scalable applications on any kind of infrastructure.
  • 5. Need to deploy containers over cluster for large scalable applications. At production stage of the application, we need to ensure that our application should run as per following: - Fault-tolerant - On-demand scalability - Optimal resource use - Inter-application communication - Accessibility from external environment - Fast update/rollback Container Orchestration is used to meet all above requirements
  • 6. Container Orchestrators Kubernetes, Docker Swarm, Amazon ECS, etc... What can a container orchestrator do? - Bind hosts to a cluster - Assign and schedule containers to run on hosts - Help communication between containers running on different hosts - Bind similar container to manage them as services - Keep track of usage and storage - Enable secure access to apps in containers Ref : https://coderise.io/wp-content/uploads/2018/01/orchestration-1073x550.png
  • 7. Docker proved to be all of the following: ● Faster ● Reliable ● Efficient ● Light-weight ● Scalable But...Docker Swarm was not easily Scalable..
  • 8. It was not scalable because…. ● Container could not communicate with each other ● Container had to be deployed appropriately ● Containers had to be managed carefully ● Auto scaling was not possible ● Distributing traffic was still challenging
  • 9. How does Kubernetes Work https://upload.wikimedia.org/wikipedia/commons/thumb/b/be/Kubernetes.png/600px-
  • 10. Master: Controls the cluster and nodes in it. Nodes: Hold the containers inside them; containers are inside separate PODS. PODS : are logical collection of containers which need to interact with each other for an application Ref : https://d1jnx9ba8s6j9r.cloudfront.net/blog/wp-content/uploads/2018/05/kubernetes-architecture- 768x345.png Wait, What are the basic components?
  • 11. How should I define states of cluster?
  • 12. Reference: https://www.edureka.co/blog/kubernetes-vs-docker/ One can set desired cluster using two methods: 1. Command Line Interface(CLI) -It uses kubectl to serve the purpose. 2. Kubernetes API. -It uses API directly to communicate with the cluster and set or change desired cluster sets.
  • 13. All right. What is Master Node then? - API server - Controller Manager - Scheduler - etcd
  • 14. API Server: is management and communication center for master node and its object such as pods, services, volumes and others. The server takes REST commands from user/operator, then executes requests Controller Manager : manages and attempting to change the current state of the cluster to the desired state Scheduler : schedules work mainly for worker nodes. The scheduler has information of workers’ resource usage and constraints. It schedules the work in terms of Pod and Service etcd : is an operator consists of key value for storing cluster states and mainly manages to maintain healthy state of the cluster
  • 15. What about Worker Node? - Container runtime  Executes & manages container images - Kubelet  Communicates with Master Node, run containers - Kube-proxy  It runs on each node and provides networking services on each node.
  • 16. Kubernetes Objects • Unit of deployment, group of containers deployed on the same hostPod • Logical interface of service/microserviceService • Preserves container dataVolume • Virtual clusterNamespace
  • 17.
  • 19. Kubernetes VS Docker Swarm Similarities - Open source projects - Various storage options - Load balancing and DNS - Monitoring - Support high availability
  • 20. Differences Scalability: - Kubernetes  Provides strong cluster state health guarantee  Slower scaling & deployment rate - Docker Swarm  Deploy container faster compared to Kubernetes  Fast on-demand scaling for smaller cluster
  • 21. Application Definition: - Kubernetes  Application deployed as pods + deployment + services  Deployment replicated in multiple nodes - Docker Swarm  Application deployed as services (microservices) Auto-scaling: - Kubernetes: available - Docker Swarm: Not directly available
  • 22. Overall... Kubernetes: - Higher complexity, flexible but complex installation, stable support for high demand and large scale application Docker Swarm: - Simple solution for smaller scale application, quick setup
  • 23. Features of Kubernetes Automatic binpacking Self- Healing Horizontal scaling Service discovery and Load Balancing Automatic rollouts and rollbacks Secrets and configuration management Storage orchestration Batch execution
  • 24. Advantages of Kubernetes Deals with large data volume Auto-scaling Analyzes server load to scale up/down Logging and monitoring Quickly analyze logs to debug failures Monitoring keeps Master constantly aware of Worker Nodes health Provides GUI
  • 25. Limitations of Kubernetes •Management tools need to be installed separately Complex installation and setup procedures •Newly created process takes time to initialize before becoming available to user Long process initialization & slower container management
  • 26. Demo ● Please follow the link mentioned here to understand working of Kubernetes. https://www.dropbox.com/s/h67wxttmcb83kd6/final-demo-2018-11-20_01.06.20.mp4?raw=1
  • 27. References [1]"Compare Kubernetes vs Docker Swarm", Platform9, 2018. [Online]. Available: https://platform9.com/blog/kubernetes-docker-swarm-compared/. [Accessed: 31- Oct- 2018]. [2]"Production-Grade Container Orchestration", Kubernetes.io, 2018. [Online]. Available: https://kubernetes.io. [Accessed: 31- Oct- 2018]. [3]S. Ravindra, M. Fredrickson and S. Dyer, "Kubernetes vs. Docker Swarm: What’s the Difference?", The New Stack, 2018. [Online]. Available: https://thenewstack.io/kubernetes-vs-docker-swarm-whats-the-difference/. [Accessed: 31- Oct- 2018]. [4]"Understanding the Kubernetes Architecture with a Use-Case", Edureka Blog, 2018. [Online]. Available: https://www.edureka.co/blog/kubernetes-architecture/. [Accessed: 31- Oct- 2018].