***** Kubernetes Certification Training: https://www.edureka.co/kubernetes-certification *****
This Edureka tutorial on "What is Kubernetes" will give you an introduction to one of the most popular Devops tool in the market - Kubernetes, and its importance in today's IT processes. This tutorial is ideal for beginners who want to get started with Kubernetes & DevOps. The following topics are covered in this training session:
1. Need for Kubernetes
2. What is Kubernetes and What it's not
3. How does Kubernetes work?
4. Use-Case: Kubernetes @ Pokemon Go
5. Hands-on: Deployment with Kubernetes
DevOps Tutorial Blog Series: https://goo.gl/P0zAfF
2. KUBERNETES CERTIFICATION TRAINING www.edureka.co/kubernetes-certification
Topics For Today’s DevOps Training
Need for Kubernetes1
What exactly it is & what its not?2
How does Kubernetes work?3
Use-Case: Kubernetes @ Pokemon Go4
Hands-on: Deployment with Kubernetes5
3. KUBERNETES CERTIFICATION TRAINING www.edureka.co/kubernetes-certification
Containers Are Good…
Both Linux Containers & Docker Containers
isolate the application from the host.
FASTER , RELIABLE , EFFICIENT , LIGHT -WEIGHT & SCALABLE .
4. KUBERNETES CERTIFICATION TRAINING www.edureka.co/kubernetes-certification
Damn! Container Problems…
Both Linux Containers & Docker Containers
isolate the application from the host.
FASTER , RELIABLE , EFFICIENT , LIGHT -WEIGHT & SCALABLE .
But…..Not
easily Scalable…
5. KUBERNETES CERTIFICATION TRAINING www.edureka.co/kubernetes-certification
Damn! Container Problems…
Both Linux Containers & Docker Containers
isolate the application from the host.
FASTER , RELIABLE , EFFICIENT , LIGHT -WEIGHT & SCALABLE .
But…..Not
easily Scalable…
6. KUBERNETES CERTIFICATION TRAINING www.edureka.co/kubernetes-certification
Damn! Container Problems…
Both Linux Containers & Docker Containers
isolate the application from the host.
FASTER , RELIABLE , EFFICIENT , LIGHT -WEIGHT & SCALABLE .
But…..Not
easily Scalable…
7. KUBERNETES CERTIFICATION TRAINING www.edureka.co/kubernetes-certification
Damn! Container Problems…
Both Linux Containers & Docker Containers
isolate the application from the host.
FASTER , RELIABLE , EFFICIENT , LIGHT -WEIGHT & SCALABLE .
But…..Not
easily Scalable…
8. KUBERNETES CERTIFICATION TRAINING www.edureka.co/kubernetes-certification
Problems With Scaling Up The Containers
It was not
Scalable because…
Containers could not communicate with each other
Containers had to be deployed appropriately
Containers had to be managed carefully
Auto scaling was not possible
Distributing traffic was still challenging
1
2
3
4
5
9. KUBERNETES CERTIFICATION TRAINING www.edureka.co/kubernetes-certification
How Does Software Development Take Place?
So, What Is Needed?
10. KUBERNETES CERTIFICATION TRAINING www.edureka.co/kubernetes-certification
A Container Management Tool !!!
Kubernetes is an open-source Container Management tool which automates
container deployment, container (de)scaling & container load balancing.
Benefit: Works brilliantly with all cloud vendors: Public, Hybrid & On-Premises.
• Written on Golang, it has a huge community because it was first
developed by Google & later donated to CNCF
• Can group ‘n’ no of containers into one logical unit for managing
& deploying them easily
More About Kubernetes
Reference: https://kubernetes.io/
11. KUBERNETES CERTIFICATION TRAINING www.edureka.co/kubernetes-certification
Features Of Kubernetes
Automatic Binpacking
Self Healing
Horizontal Scaling
Service Discovery &
Load Balancing
Automatic Rollbacks
& Rollouts
Secret & Configuration
Management
Storage Orchestration
Batch Execution
3
2
1
64
5
87
12. KUBERNETES CERTIFICATION TRAINING www.edureka.co/kubernetes-certification
How Does Software Development Take Place?
Uncovering Few Myths About
13. KUBERNETES CERTIFICATION TRAINING www.edureka.co/kubernetes-certification
Kubernetes ‘IS NOT’
To be compared
vs. Docker
For containerizing
apps For applications with
simple architecture
14. KUBERNETES CERTIFICATION TRAINING www.edureka.co/kubernetes-certification
Kubernetes ‘ACTUALLY IS’
Best soln. for scaling
up Containers
A Container
Orchestration
platform Backed by huge
Community
Robust & Reliable
15. KUBERNETES CERTIFICATION TRAINING www.edureka.co/kubernetes-certification
How Does Software Development Take Place?
Kubernetes
vs.
Docker ??
Kubernetes
vs.
Docker Swarm ??
16. KUBERNETES CERTIFICATION TRAINING www.edureka.co/kubernetes-certification
Kubernetes vs. Docker Swarm
FEATURES Kubernetes Docker Swarm
Installation &
Cluster configuration
Complicated & time consuming Easy & fast
GUI GUI available GUI not available
Scalability
Scaling up is slow compared to Swarm; but
guarantees stronger cluster state
Scaling up is faster than K8S;
but cluster strength not as robust
Load Balancing
Load balancing requires manual service
configuration
Provides built in load balancing technique
Updates & Rollbacks
Process scheduling to maintain services
while updating
Progressive updates and service health
monitoring throughout the update
Data Volumes Only shared with containers in same Pod Can be shared with any other container
Logging & Monitoring Inbuilt logging & monitoring tools Only 3rd party logging & monitoring tools
17. KUBERNETES CERTIFICATION TRAINING www.edureka.co/kubernetes-certification
Kubernetes vs. Docker Swarm Mindshare
Reference: https://platform9.com/blog/kubernetes-docker-swarm-compared/
18. KUBERNETES CERTIFICATION TRAINING www.edureka.co/kubernetes-certification
How Does Software Development Take Place?
Pokemon Go Using Kubernetes
19. KUBERNETES CERTIFICATION TRAINING www.edureka.co/kubernetes-certification
Kubernetes @ Pokemon GO
Pokemon Go is an augmented reality game developed by Niantic for Android & iOS devices.
• 500+ million downloads, 20+ million daily active users
• Initially launched only in NA, Australia & New Zealand
• Inspired users to walk over 5.4 billion miles in a year
• Surpassed engineering expectations by 50 times
KEY STATS:-
“We believe that people are healthier when they go outside and have a reason to be connected to others.”
- Edward Wu, Director of Software Engineering, Niantic Labs
20. KUBERNETES CERTIFICATION TRAINING www.edureka.co/kubernetes-certification
Backend Architecture Of Pokemon Go Container
Cloud Dataflow
21. KUBERNETES CERTIFICATION TRAINING www.edureka.co/kubernetes-certification
MapReduce & Cloud DataFlow For Scaling-Up
Cloud Dataflow
x5
22. KUBERNETES CERTIFICATION TRAINING www.edureka.co/kubernetes-certification
Easy Scaling Of Containers Using Kubernetes
Cloud Dataflow
x5
23. KUBERNETES CERTIFICATION TRAINING www.edureka.co/kubernetes-certification
Easy Scaling Of Containers Using Kubernetes
x50
• Biggest challenge for most applications is horizontal
scaling
• But for Pokemon Go, vertical scaling was also a major
challenge, because of real-time activity in gaming
environment from millions of users world-wide
• Niantic were prepared for traffic disasters of upto x5
times
CHALLENGE
24. KUBERNETES CERTIFICATION TRAINING www.edureka.co/kubernetes-certification
Easy Scaling Of Containers Using Kubernetes
x50
• Biggest challenge for most applications is horizontal
scaling
• But for Pokemon Go, vertical scaling was also a major
challenge, because of real-time activity in gaming
environment from millions of users world-wide
• Niantic were prepared for traffic disasters of upto x5
times
CHALLENGE
• Thanks to Kubernetes, Niantic were able to handle x50
times traffic
SOLUTION
25. KUBERNETES CERTIFICATION TRAINING www.edureka.co/kubernetes-certification
How Does Software Development Take Place?
Architecture Of
KUBERNETES
27. KUBERNETES CERTIFICATION TRAINING www.edureka.co/kubernetes-certification
Working Of Kubernetes
Kubernetes
Master
→Master controls the cluster;
and the nodes in it
→Nodes host 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
→ Replication Controller is Master’s resource to
ensure that requested no. of pods are running on
nodes always
→ Service is an object on Master that provides load
balancing across a replicated group of PODS