This document provides an introduction to Kubernetes including its history, components, and how it can be installed on Windows 10. It discusses that Kubernetes originated from the Greek word for "helmsman" or "pilot" and was founded in 2014. It was heavily influenced by Google's Borg system. The document outlines some of Kubernetes' key components like pods, nodes, controllers and describes how it allows for deployment, scheduling, availability, updates and more through orchestration. It also provides basic steps for installing Kubernetes on Windows 10 by first installing Hyper-V and Docker, then enabling Kubernetes through the Docker GUI tool.
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