SlideShare a Scribd company logo
Technical Manager @ Titansoft
William Yeh 葉秉哲 
給 RD 的 Kubernetes 初體驗
… with a series of hands-on labs
PhD in Computer Science, NCTU, Taiwan

CSPO (Certified Scrum Product Owner) from Scrum Alliance

PSM I (Professional Scrum Master I) from Scrum.org

Technical manager @ Titansoft (since Mar 2019)

Server director & Scrum master @ Gogolook

Active speaker and trainer for software
architecture, DevOps, agile, and theory of
constraints
Agenda
Containers

Microservices

Cloud
Containers

Microservices

Cloud
Agenda Labs
1.0 — 3.0

4.0 — 5.0

6.0 — 7.0
Agenda
Know promising trends

Adopt gradually

Prepare mindset
Goals
Containers

Microservices

Cloud
Labs
1.0 — 3.0

4.0 — 5.0

6.0 — 7.0
Lab material
For each revision, pay attention to:

1. image versions

2. diff in code and configuration
Use git log -p or GitHub to see diff between revisions.
Lab material
https://github.com/William-Yeh/
workshop-cloud2019
or http://bit.ly/lab-cloud2019
for short
1. Open browser

2. Git clone to your laptop
GKE Setup🄌
a - Redeem Google Cloud coupon

b - Create project in GCP

c - Create GKE cluster
Redeem coupon
Please follow steps in your handout
NOW!
Create Project in GCP
https://github.com/William-Yeh/
workshop-cloud2019/

gke-steps.md
or, https://
console.cloud.google.com/
projectselector2/kubernetes
Create GKE cluster
https://github.com/William-Yeh/
workshop-cloud2019/

gke-steps.md
Containers
1.0 - Legacy

2.0 - Docker

3.0 - Frontend/backend separation
❶
Why containers?
Lab material
https://github.com/William-Yeh/
workshop-cloud2019
or http://bit.ly/lab-cloud2019
for short
Switch to version 1.0 for now!
Lab # 1.0 Legacy
app
runtime
OS kernel
app
runtime
OS kernel
app
runtime
OS kernel
Boundary of application packaging:

pros and cons
traditional deployment way
container
virtual machine
Lab # 2.0 Docker
Lab # 3.0 Frontend/backend separation
app
runtime
OS kernel
app
runtime
OS kernel
app
runtime
OS kernel
Recap:

containers as application packaging units
traditional deployment way
container
virtual machine
Microservices
4.0 - Local Kubernetes

4.1 - Kubernetes dashboard

5.0 - Configuration
❷
Why make services micro?
pros?
cons?
Lab material
4.0 - Local Kubernetes

4.1 - Kubernetes dashboard

5.0 - Configuration
For each revision, pay attention to:

1. image versions

2. diff in code and configuration
Kubernetes Terminology
“Kubernetes 101: Pods, Nodes, Containers,
and Clusters”

Author: Daniel Sanche

Date: 2018-01-02

URL: https://medium.com/google-cloud/kubernetes-101-pods-
nodes-containers-and-clusters-c1509e409e16

(or http://bit.ly/post-k8s-101 for short)
Container
Pod
Container
Any examples?
• Shared volumes

• IPC

• Network
https://linchpiner.github.io/k8s-multi-container-pods.html
Multi-Container Pods in Kubernetes
Pod
Container
Deployment & Replicalabel
selector
_v2
Service
label
selector
3
label
_v2
Service
container
pod
deployment
service
3
Kubernetes Terminology
Learn by doing!
Lab material
4.0 - Local Kubernetes

4.1 - Kubernetes dashboard

5.0 - Configuration
For each revision, pay attention to:

1. image versions

2. diff in code and configuration
Lab # 4.0 Local Kubernetes
Lab # 4.1 Kubernetes dashboard
Lab # 5.0 Configuration
_v2
Service
container
pod
deployment
service
Recap:

containers as application packaging units
3
Cloud
6.0 - Cloud (GKE for example)

7.0 - Canary release
❸
Lab # 6.0 Cloud (GKE for example)
Lab # 7.0 Canary release
Service
label
selector
_v2
Service
label
label
3
selector
Conclusion
app
runtime
OS kernel
app
runtime
OS kernel
app
runtime
OS kernel
Recap:

containers as application packaging units
traditional deployment way
container
virtual machine
_v2
Service
container
pod
deployment
service
label
label
3
selector
Agenda
Know promising trends

Adopt gradually

Prepare mindset
Goals
Containers

Microservices

Cloud
Labs
1.0 — 3.0

4.0 — 5.0

6.0 — 7.0

More Related Content

What's hot (20)

PPTX
Infrastrucutre as Code
Harmeet Singh
 
PDF
Continuous Delivery NYC: From GitOps to an adaptable CI/CD Pattern for Kubern...
Andrew Phillips
 
PPTX
Introduction to KubeSphere and its open source ecosystem
KubeSphere
 
PPTX
[Rakuten Technology Conference 2019] Be the central on your field
Woohyeok Kim
 
PDF
How we can do Multi-Tenancy on Kubernetes
Opsta
 
PDF
Devoxx 17 - Real Time Code Coverage
Publicis Sapient Engineering
 
PDF
DevOps: The Future of Software Development
Opsta
 
PDF
Declarative Import with Magento 2 Import Framework (M2IF)
Tim Wagner
 
PDF
Gitlab ci, cncf.sk
Juraj Hantak
 
PDF
GitOps: Git come unica fonte di verità per applicazioni e infrastruttura
sparkfabrik
 
PDF
Speeding up your team with GitOps
Brice Fernandes
 
PDF
Gitops: a new paradigm for software defined operations
Mariano Cunietti
 
PDF
The journey to GitOps
Nicola Baldi
 
PDF
Clean Infrastructure as Code
QAware GmbH
 
PDF
[RHFSeoul2017]6 Steps to Transform Enterprise Applications
Daniel Oh
 
PDF
A GitOps Kubernetes Native CICD Solution with Argo Events, Workflows, and CD
Julian Mazzitelli
 
PDF
Exploring the GitHub Service Universe
Björn Kimminich
 
PDF
gopaddle-meetup
Sujai Sivasamy
 
PDF
CQRS - Eine Einführung - NOUG 2011
Dennis Traub
 
PDF
Red Hat OpenShift App Dev meetup - Operator SDK
Dmitry Kartsev
 
Infrastrucutre as Code
Harmeet Singh
 
Continuous Delivery NYC: From GitOps to an adaptable CI/CD Pattern for Kubern...
Andrew Phillips
 
Introduction to KubeSphere and its open source ecosystem
KubeSphere
 
[Rakuten Technology Conference 2019] Be the central on your field
Woohyeok Kim
 
How we can do Multi-Tenancy on Kubernetes
Opsta
 
Devoxx 17 - Real Time Code Coverage
Publicis Sapient Engineering
 
DevOps: The Future of Software Development
Opsta
 
Declarative Import with Magento 2 Import Framework (M2IF)
Tim Wagner
 
Gitlab ci, cncf.sk
Juraj Hantak
 
GitOps: Git come unica fonte di verità per applicazioni e infrastruttura
sparkfabrik
 
Speeding up your team with GitOps
Brice Fernandes
 
Gitops: a new paradigm for software defined operations
Mariano Cunietti
 
The journey to GitOps
Nicola Baldi
 
Clean Infrastructure as Code
QAware GmbH
 
[RHFSeoul2017]6 Steps to Transform Enterprise Applications
Daniel Oh
 
A GitOps Kubernetes Native CICD Solution with Argo Events, Workflows, and CD
Julian Mazzitelli
 
Exploring the GitHub Service Universe
Björn Kimminich
 
gopaddle-meetup
Sujai Sivasamy
 
CQRS - Eine Einführung - NOUG 2011
Dennis Traub
 
Red Hat OpenShift App Dev meetup - Operator SDK
Dmitry Kartsev
 

Similar to 給 RD 的 Kubernetes 初體驗 (20)

PDF
給 RD 的 Kubernetes 初體驗 (EKS version)
William Yeh
 
PPTX
Containers: DevOp Enablers of Technical Solutions
Jules Pierre-Louis
 
PPTX
Dev opsec dockerimage_patch_n_lifecyclemanagement_
kanedafromparis
 
PPTX
[Devopsdays2021] Roll Your Product with Kaizen Culture
Woohyeok Kim
 
PPTX
Oscon 2017: Build your own container-based system with the Moby project
Patrick Chanezon
 
PDF
The DevOps paradigm - the evolution of IT professionals and opensource toolkit
Marco Ferrigno
 
PDF
The DevOps Paradigm
NaLUG
 
PDF
How to Contribute to Cloud Native Computing Foundation
CodeOps Technologies LLP
 
PDF
How to contribute to cloud native computing foundation (CNCF)
Krishna-Kumar
 
PDF
Net Microservices Architecture For Containerized Net Applications V60 Updated...
uosefkurucu
 
PDF
Kubernetes One-Click Deployment: Hands-on Workshop (Mainz)
QAware GmbH
 
PPTX
Kata Container - The Security of VM and The Speed of Container | Yuntong Jin
Vietnam Open Infrastructure User Group
 
PPTX
CI/CD Development in Kubernetes - Skaffold
Suman Chakraborty
 
PDF
Net Microservices Architecture For Containerized Net Applications V70 Updated...
baccispenaqa
 
PDF
Microservices in Java
Anatole Tresch
 
PPTX
Develop and deploy Kubernetes applications with Docker - IBM Index 2018
Patrick Chanezon
 
PPTX
IBM MQ in containers MQTC 2017
Robert Parker
 
PDF
NET Microservices Architecture for Containerized NET Applications Cesar De La...
szegedjinku55
 
PPTX
Kubernetes in the wild
section_io
 
PPTX
Persistent Storage for stateful applications on Kubernetes made easy with Ope...
MayaData Inc
 
給 RD 的 Kubernetes 初體驗 (EKS version)
William Yeh
 
Containers: DevOp Enablers of Technical Solutions
Jules Pierre-Louis
 
Dev opsec dockerimage_patch_n_lifecyclemanagement_
kanedafromparis
 
[Devopsdays2021] Roll Your Product with Kaizen Culture
Woohyeok Kim
 
Oscon 2017: Build your own container-based system with the Moby project
Patrick Chanezon
 
The DevOps paradigm - the evolution of IT professionals and opensource toolkit
Marco Ferrigno
 
The DevOps Paradigm
NaLUG
 
How to Contribute to Cloud Native Computing Foundation
CodeOps Technologies LLP
 
How to contribute to cloud native computing foundation (CNCF)
Krishna-Kumar
 
Net Microservices Architecture For Containerized Net Applications V60 Updated...
uosefkurucu
 
Kubernetes One-Click Deployment: Hands-on Workshop (Mainz)
QAware GmbH
 
Kata Container - The Security of VM and The Speed of Container | Yuntong Jin
Vietnam Open Infrastructure User Group
 
CI/CD Development in Kubernetes - Skaffold
Suman Chakraborty
 
Net Microservices Architecture For Containerized Net Applications V70 Updated...
baccispenaqa
 
Microservices in Java
Anatole Tresch
 
Develop and deploy Kubernetes applications with Docker - IBM Index 2018
Patrick Chanezon
 
IBM MQ in containers MQTC 2017
Robert Parker
 
NET Microservices Architecture for Containerized NET Applications Cesar De La...
szegedjinku55
 
Kubernetes in the wild
section_io
 
Persistent Storage for stateful applications on Kubernetes made easy with Ope...
MayaData Inc
 
Ad

More from William Yeh (19)

PDF
敏捷轉型:目標管理工作坊
William Yeh
 
PDF
當 .NET 遇到 Kubernetes (When .NET meets Kubernetes)
William Yeh
 
PDF
為了精準估算,你必須付出什麼代價?
William Yeh
 
PDF
從限制理論角度談敏捷導入階段 (Agile transition: a TOC perspective)
William Yeh
 
PDF
DevOps to Agile 敏捷轉型經驗  (From DevOps to Agile: Transformation Experience of G...
William Yeh
 
PDF
軟體雲端化的要素 (Elements of Cloud-Native Apps)
William Yeh
 
PDF
瓶頸處理九大原則 (精簡版)
William Yeh
 
PDF
Docker 導入:障礙與對策
William Yeh
 
PDF
Monitoring 改造計畫:流程觀點
William Yeh
 
PDF
從限制理論看 DevOps
William Yeh
 
PDF
有了 Agile,為什麼還要有 DevOps?
William Yeh
 
PDF
Docker 對傳統 DevOps 工具鏈的衝擊 (Docker's Impact on traditional DevOps toolchain)
William Yeh
 
PDF
Immutable infrastructure:觀念與實作 (建議)
William Yeh
 
PDF
Ansible 實戰:top down 觀點
William Yeh
 
PDF
Whoscall 的 Realtime Monitoring 經驗分享
William Yeh
 
PDF
A gentle introduction to Ansible
William Yeh
 
PDF
12 Factor App from Docker's Point of View
William Yeh
 
PPT
On MongoDB backup
William Yeh
 
PPT
State machine 應用簡介(兼談 UML 2)
William Yeh
 
敏捷轉型:目標管理工作坊
William Yeh
 
當 .NET 遇到 Kubernetes (When .NET meets Kubernetes)
William Yeh
 
為了精準估算,你必須付出什麼代價?
William Yeh
 
從限制理論角度談敏捷導入階段 (Agile transition: a TOC perspective)
William Yeh
 
DevOps to Agile 敏捷轉型經驗  (From DevOps to Agile: Transformation Experience of G...
William Yeh
 
軟體雲端化的要素 (Elements of Cloud-Native Apps)
William Yeh
 
瓶頸處理九大原則 (精簡版)
William Yeh
 
Docker 導入:障礙與對策
William Yeh
 
Monitoring 改造計畫:流程觀點
William Yeh
 
從限制理論看 DevOps
William Yeh
 
有了 Agile,為什麼還要有 DevOps?
William Yeh
 
Docker 對傳統 DevOps 工具鏈的衝擊 (Docker's Impact on traditional DevOps toolchain)
William Yeh
 
Immutable infrastructure:觀念與實作 (建議)
William Yeh
 
Ansible 實戰:top down 觀點
William Yeh
 
Whoscall 的 Realtime Monitoring 經驗分享
William Yeh
 
A gentle introduction to Ansible
William Yeh
 
12 Factor App from Docker's Point of View
William Yeh
 
On MongoDB backup
William Yeh
 
State machine 應用簡介(兼談 UML 2)
William Yeh
 
Ad

Recently uploaded (20)

PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PDF
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PPTX
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
PDF
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PPTX
Q2 Leading a Tableau User Group - Onboarding
lward7
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PDF
Smart Air Quality Monitoring with Serrax AQM190 LITE
SERRAX TECHNOLOGIES LLP
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
Q2 Leading a Tableau User Group - Onboarding
lward7
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
Smart Air Quality Monitoring with Serrax AQM190 LITE
SERRAX TECHNOLOGIES LLP
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 

給 RD 的 Kubernetes 初體驗