Dockers and Kubernetes
Presented by-
V Gayathri
ECM D1
21311A1948
CONTENTS
Introduction to dockers
Why do we need it?
How does it work?
Architecture
Pros
Cons
Introduction to Kubernetes
Application
Docker
Deployment and Scaling
How it works?
Architecture
Pros and cons
Conclusion
Bibliography
WHAT IS DOCKER ?
Docker is an open source containerization platform.
It enables developers to package applications into
containers—standardized executable components
combining application source code with the operating
system (OS) libraries and dependencies required to run
that code in any environment.
WHY DO WE NEED IT ?
DEVELOPMENT PRODUCTION
THIS IS WHERE PROBLEM
ARISES
The Reason could be due to:
• Dependencies
• Libraries and versions
• Framework
• OS Level features
• Microservices
That the developers machine has but not
there in the production environment.
This is where docker comes into the scene
We need a standardized way to package the application with its
dependencies and deploy it on any environment
That’s why Docker is a tool designed to make it easier to Create, Deploy
and Run applications by using containers.
HOW DOES DOCKER WORK ?
Docker packages an application and all its
dependencies in a virtual container that can
run on any Linux Server
Each container runs as an isolated process in
user space and take up less space than regular
VMs due to their layered architecture.
PROS CONS
Return on Investment and Cost Containers don't run at bare-metal
Savings. speeds.
Rapid Deployment Persistent data storage is complicated.
CI Efficiency Some developers find that switching to
Continuous Integration Docker containers can have quite a
It will always work the same steep learning curve.
regardless of its environment.
Kubernetes is a system that manages containers
(containerized applications) where a container could
be explained as a lightweight virtual machine. To build
an application you need to build a bunch of containers
and then use Kubernetes to manage those containers
DOCKER TO PACKAGE
Huh I need to create
more instances
DEPLOYED SCALING – 3 Servers to 40 Servers?
This is where Kubernetes comes into play
Kubernetes is an open source container orchestration platform that automates
deploying , managing and scaling containerizes applications.
HOW DOES KUBERNETES WORK ?
It consists of a set of worker machines called nodes that run containerized
applications.
Every cluster has at least one
worker node hence if a node fails
your application will be accessible
from the other nodes as in a cluster
multiple nodes are grouped
PROS CONS
Using Kubernetes and its huge ecosystem The transition to Kubernetes can be
can improve your productivity cumbersome
Kubernetes and a cloud-native tech stack Kubernetes can be an overkill for simple
attracts talent applications
can be cheaper than its alternatives
Kubernetes helps to make your
application run more stable
CONCLUSION
Containers are the foundation of modern applications. Docker provides the
toolset to easily create container images of your applications, and Kubernetes
gives you the platform to run it all.
To find out more about how your applications work on Kubernetes, watch this
short video by Brendan Burns on How Kubernetes works.
Here is a great walkthough that uses a Python voting application and a Redis
cache to help you get started with the Kubernetes concepts.
Now that you know the basic pieces of the puzzle and have a better idea of what
containers, Docker, and Kubernetes are all about, you can learn more at
Kubernetes Learning Path.
BIBLIOGRAPHY
• Wikipedia
• Linkedin
• Twitter @codechips & @reactjs1
• devspace.cloud