KEMBAR78
Introduction to Kubernetes - Docker Global Mentor Week 2016 | PDF
Introduction to Kubernetes
Jirayut Nimsaeng (Dear)
DevOps & Cloud Architect | Kaidee
Docker in Thai Meetup
Kaidee | November 17, 2016
$ WHOAMI
● Jirayut Nimsaeng (Dear)
● DevOps and Cloud Architect at
● Interested in Open Source and
Cloud Automation
Application Environment
Physical Infrastructure
Host OS Host OS Host OS
Network Storage
Orchestration
DevOps Tools:
Build Automation, Version Control, Configuration Management
ImageRegistry
Monitor/Logging
Container Container Container
Source: Janakiram MSV
Orchestration Tools
What is Kubernetes?
● Kubernetes is an open-source system for automating
deployment, scaling, and management of containerized
applications.
● The name Kubernetes originates from Greek, meaning
“helmsman” or “pilot”
● K8s is an abbreviation derived by replacing the 8 letters
“ubernete” with 8.
Kubernetes Architecture
Source: Janakiram MSV
Kubernetes Concept
Pod
Container
Apache
Pod
index.php
Pod
Container
PHP-FPM
index.php
Container
Nginx
Replication Controller / Replication Set
Replication Controller / Replication Set
Pod 1
Container
Apache
index.php
Pod 2
Container
Apache
index.php
Service
Replication Controller / Replication Set
Pod 1 Pod 2
Service
161.246.23.75:80
Label
Node 1
Pod
label:
app=foo
Service
selector: app=bar
161.246.23.75:80
Node 2
Pod
label:
app=bar
Pod
label:
app=foo
Pod
label:
app=bar
Persistent Volume
Node 1
Pod
Service
161.246.23.75:80
Node 2
Pod
Volume
Namespace 1
Namespace
Replication Controller
/ Replication Set
Pod 1 Pod 2
Service
161.246.23.75:80
Namespace 2
Replication Controller
/ Replication Set
Pod 1 Pod 2
Service
161.246.23.75:80
Rolling Update (1)
Node 1
Pod
10.0.1.5
Service
161.246.23.75:80
Node 2
Pod
10.0.2.4
Rolling Update (2)
Node 1
Pod
10.0.1.5
Service
161.246.23.75:80
Node 2
Pod
10.0.2.4
Pod
10.0.1.6
Rolling Update (3)
Node 1
Service
161.246.23.75:80
Node 2
Pod
10.0.2.4
Pod
10.0.1.6
Rolling Update (4)
Node 1
Service
161.246.23.75:80
Node 2
Pod
10.0.1.6
Pod
10.0.2.5
Demo
Introduction to Kubernetes - Docker Global Mentor Week 2016

Introduction to Kubernetes - Docker Global Mentor Week 2016