+ All Categories
Home > Technology > Introduction to Kubernetes - Docker Global Mentor Week 2016

Introduction to Kubernetes - Docker Global Mentor Week 2016

Date post: 08-Jan-2017
Category:
Upload: opsta
View: 300 times
Download: 5 times
Share this document with a friend
19
Introduction to Kubernetes Jirayut Nimsaeng (Dear) DevOps & Cloud Architect | Kaidee Docker in Thai Meetup Kaidee | November 17, 2016
Transcript

Introduction to Kubernetes

Jirayut Nimsaeng (Dear)DevOps & Cloud Architect | Kaidee

Docker in Thai MeetupKaidee | 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

Imag

e R

egis

try

Monitor / LoggingContainer 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

Serviceselector: 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

PodVolume

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


Recommended