SlideShare a Scribd company logo
Kubernetes and DevOps
資訊與通訊研究所 蔣是⽂文 Mac Chiang
Copyright 2017 ITRI ⼯工業技術研究院
Agenda
• Kubernetes Introduction
• Scaling and Upgrading with K8S
• Hands ON (Demo)
• Q & A
2
Copyright 2017 ITRI ⼯工業技術研究院
OpenStack Summit 2017

Will Kubernetes Steal the Show?
• Before the summit:
▪ OpenStack on Kubernetes?
▪ Kubernetes on OpenStack?
▪ How about Kubernetes on OpenStack on Kubernetes?
• The list of breakaway sessions
▪ Kubernetes and OpenStack at Scale.
▪ OpenDaylight Kubernetes & OpenStack Magnum integration.
▪ ESCaaS 4.0, Unified Management Platform of OpenStack and Kubernetes.
▪ Hybrid Cloud Kubernetes.
▪ Hybrid Orchestration: Kubernetes on Bare Metal and OpenStack Demo.
▪ Panel: Enterprise Adoption of Kubernetes and Containers.
https://thenewstack.io/openstack-summit-2017-will-kubernetes-stealing-show/
3
Copyright 2017 ITRI ⼯工業技術研究院
What’s Kubernetes
• “Kubernetes” is Greek for captain or pilot
• Experiences from Google and design by Goolge
• Kubernetes is a production-grade, open-source platform that
orchestrates the placement (scheduling) and execution of
application containers within and across computer clusters.
• Masters manage the cluster and the nodes are used to host the
running applications.
4
Copyright 2017 ITRI ⼯工業技術研究院
Why Kubernetes
5
• Automatic binpacking
• Horizontal scaling
• Automated rollouts and rollback
• Service monitoring
• Self-healing
• Service discovery and load balancing
• 100% Open source, written in Go
Copyright 2017 ITRI ⼯工業技術研究院
Who use Kubernetes
6
Copyright 2017 ITRI ⼯工業技術研究院
Kubernetes 1.6 Scalability Update
5,000 node and 150,000 pod clusters
7
Copyright 2017 ITRI ⼯工業技術研究院
Kubernetes 1.6 Scalability Update (cont.)
API response latency for a
5000-node Kubernetes 1.6
cluster are less than 500ms,
and even 90th percentile is
less than about 100ms
8
Copyright 2017 ITRI ⼯工業技術研究院
Kubernetes Architecture
9
Copyright 2017 ITRI ⼯工業技術研究院
Kubernetes Architecture (cont.)
10
Copyright 2017 ITRI ⼯工業技術研究院
Kubernetes Architecture (cont.)
11
Copyright 2017 ITRI ⼯工業技術研究院
etcd
• Distributed key, value store
• Used for configuration and monitoring store
• Used for Service discovery
• JSON/REST API
12
Copyright 2017 ITRI ⼯工業技術研究院
flannel
• A virtual network that
gives a subnet to
each host for use with
container runtimes
13
Copyright 2017 ITRI ⼯工業技術研究院
The Key Concept
• Pod
• Smallest deployable unit
• Shared context
• Service
• Targets pods
• Long-lived
• Deployment (Replication
controller)
• Ensure N pods are running
• Pod template
• Label
• Key/value pair
• Organize, select objects
• Kubernetes
14
Copyright 2017 ITRI ⼯工業技術研究院
Nodes
• A node is a worker machine in
Kubernetes and may be a VM
or physical machine
• Multiple Pods can run on one
Node
15
Copyright 2017 ITRI ⼯工業技術研究院
Pods
• A group of one or more containers
• Containers within a pod share IP, port, namespaces and
 volumes.
16
Copyright 2017 ITRI ⼯工業技術研究院
Service
• Persistent
• Routes traffic across a set of
Pods
• Provide load balancer
• Provide discovery
• Provide stable service address
• Find pods by label selector
A Service is an abstraction
which defines a logical set of
Pods and a policy by which to
access them
17
Copyright 2017 ITRI ⼯工業技術研究院
Label
• Metadata with semantic
meaning
• Label selector
• Set of objects
18
Copyright 2017 ITRI ⼯工業技術研究院
Namespace
• Group + segment pods, rcs, volumes and secrets from each other
https://www.slideshare.net/imesh/multitenancy-in-c5
19
Copyright 2017 ITRI ⼯工業技術研究院
Deployment (Replication Controller)
• Provides declarative updates for Pods and ReplicaSets
• Rollout/ Roll back a ReplicaSet
• Scale up the deployment
20
Copyright 2017 ITRI ⼯工業技術研究院
Deployment
Deployment
Replica Set
Replica Set
Replica Set Replica Set
Pod Pod
Pod Pod Recommend using
Deployments instead of
directly using
ReplicaSets
21
Copyright 2017 ITRI ⼯工業技術研究院
Deployment (cont.)
• A Deployment provides declarative updates
for Pods and ReplicaSets
• Typical use case
▪ Create a Deployment to rollout a ReplicaSet
▪ Rollback to an earlier Deployment revision
▪ Scale up the Deployment to facilitate more load
▪ Use the status of the Deployment as an indicator that a rollout has stuck
▪ Clean up older ReplicaSets that you don’t need anymore
22
Copyright 2017 ITRI ⼯工業技術研究院
Scaling
Scaling is accomplished
by changing the number
of replicas in a
Deployment
23
Copyright 2017 ITRI ⼯工業技術研究院
Scaling (cont.)
24
Copyright 2017 ITRI ⼯工業技術研究院
Horizontal Pod Autoscaling
• Automatically scales the number
of pods in a replication controller,
deployment or replica set based
on observed CPU utilization
• Operates within user-defined min/
max bounds
• Set it and forget it
https://www.slideshare.net/DanielSmith272/whats-new-in-kubernetes
25
Copyright 2017 ITRI ⼯工業技術研究院
Canary Deployment
https://martinfowler.com/bliki/CanaryRelease.html
26
Copyright 2017 ITRI ⼯工業技術研究院
Canary Deployment (cont.)
https://martinfowler.com/bliki/CanaryRelease.html
27
Copyright 2017 ITRI ⼯工業技術研究院
Canary Deployment(cont.)
https://martinfowler.com/bliki/CanaryRelease.html
28
Copyright 2017 ITRI ⼯工業技術研究院
Rolling updates
Rolling updates allow Deployments'
update to take place with zero
downtime by incrementally updating
Pods instances with new ones.
29
Copyright 2017 ITRI ⼯工業技術研究院
Rolling updates (cont.)
If a Deployment is exposed
publicly, the Service will load-
balance the traffic only to
available Pods during the update.
30
Copyright 2017 ITRI ⼯工業技術研究院
Rolling updates (cont.)
31
Copyright 2017 ITRI ⼯工業技術研究院
Rolling updates (cont.)
32
Copyright 2017 ITRI ⼯工業技術研究院
Rolling updates (cont.)
• Allow the following actions:
▪ Promote an application from one environment to another (via container
image updates)
▪ Rollback to previous versions
▪ Continuous Integration and Continuous Delivery of applications with zero
downtime
33
Copyright 2017 ITRI ⼯工業技術研究院
Hands ON…..
34https://pixabay.com/zh/%E9%94%AE%E7%9B%98%E6%89%8B-%E9%94%AE%E7%9B%98-%E8%AE%A1%E7%AE%97-%E9%94%AE%E5%85%A5-2148723/
http://labs.play-with-k8s.com/
Thank you!
macchiang@gmail.com
Kubernetes Taiwan User Group

More Related Content

What's hot (20)

PDF
Red Hat OpenShift on Bare Metal and Containerized Storage
Greg Hoelzer
 
PDF
Running I/O intensive workloads on Kubernetes, by Nati Shalom
Cloud Native Day Tel Aviv
 
PDF
Openshift argo cd_v1_2
RastinKenarsari
 
PDF
Kangaroot open shift best practices - straight from the battlefield
Kangaroot
 
PPTX
Canary Releases on Kubernetes with Spinnaker, Istio, & Prometheus (2020)
Kublr
 
PDF
Open shift 4 infra deep dive
Winton Winton
 
PPTX
Tectonic Summit 2016: Brandon Philips, CTO of CoreOS, Keynote
CoreOS
 
PDF
Running a Cost-Effective DynamoDB-Compatible Database on Managed Kubernetes S...
DevOps.com
 
PDF
GitOps - Operation By Pull Request
Kasper Nissen
 
PDF
5 Kubernetes Security Tools You Should Use
DevOps.com
 
PDF
Image Scanning Best Practices for Containers and Kubernetes
DevOps.com
 
PDF
Red Hat OpenShift & CoreOS by Ludovic Aelbrecht, Senior Solution Architect at...
Kangaroot
 
PPTX
Kubernetes in Highly Restrictive Environments
Kublr
 
PDF
Giving Back to Upstream | DockerCon 2019
Phil Estes
 
PDF
Five Lessons Learned from Large-scale Implementation of Kubernetes in the Ent...
DevOps.com
 
PPTX
OpenShift Application Development | DO288 | Red Hat OpenShift
Global Knowledge Technologies
 
PDF
Using source code management patterns to configure and secure your Kubernetes...
Giovanni Galloro
 
PPTX
Introduction to openshift
MamathaBusi
 
PPTX
Ceph, Open Source, and the Path to Ubiquity in Storage - AACS Meetup 2014
Patrick McGarry
 
PDF
Kubernetes on DC/OS
Cloud Technology Experts
 
Red Hat OpenShift on Bare Metal and Containerized Storage
Greg Hoelzer
 
Running I/O intensive workloads on Kubernetes, by Nati Shalom
Cloud Native Day Tel Aviv
 
Openshift argo cd_v1_2
RastinKenarsari
 
Kangaroot open shift best practices - straight from the battlefield
Kangaroot
 
Canary Releases on Kubernetes with Spinnaker, Istio, & Prometheus (2020)
Kublr
 
Open shift 4 infra deep dive
Winton Winton
 
Tectonic Summit 2016: Brandon Philips, CTO of CoreOS, Keynote
CoreOS
 
Running a Cost-Effective DynamoDB-Compatible Database on Managed Kubernetes S...
DevOps.com
 
GitOps - Operation By Pull Request
Kasper Nissen
 
5 Kubernetes Security Tools You Should Use
DevOps.com
 
Image Scanning Best Practices for Containers and Kubernetes
DevOps.com
 
Red Hat OpenShift & CoreOS by Ludovic Aelbrecht, Senior Solution Architect at...
Kangaroot
 
Kubernetes in Highly Restrictive Environments
Kublr
 
Giving Back to Upstream | DockerCon 2019
Phil Estes
 
Five Lessons Learned from Large-scale Implementation of Kubernetes in the Ent...
DevOps.com
 
OpenShift Application Development | DO288 | Red Hat OpenShift
Global Knowledge Technologies
 
Using source code management patterns to configure and secure your Kubernetes...
Giovanni Galloro
 
Introduction to openshift
MamathaBusi
 
Ceph, Open Source, and the Path to Ubiquity in Storage - AACS Meetup 2014
Patrick McGarry
 
Kubernetes on DC/OS
Cloud Technology Experts
 

Similar to Kubernetes and devops (20)

PPTX
01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware
VMUG IT
 
PPTX
Moby KubeCon 2017
Patrick Chanezon
 
PDF
Kubernetes deployment on bare metal with container linux
macchiang
 
PDF
Free GitOps Workshop
Weaveworks
 
PPTX
Persistent Storage for stateful applications on Kubernetes made easy with Ope...
MayaData Inc
 
PDF
The path to a serverless-native era with Kubernetes
sparkfabrik
 
PDF
Building scalbale cloud native apps with .NET 8
GillesMathieu10
 
PDF
Plataforma DevOps en OpenShift
Juan Carlos García Peláez
 
PDF
給 RD 的 Kubernetes 初體驗 (gcpug 2019-06 version)
William Yeh
 
PDF
Free GitOps Workshop (with Intro to Kubernetes & GitOps)
Weaveworks
 
PDF
SCaLE 20X: Kubernetes Cloud Cost Monitoring with OpenCost & Optimization Stra...
Matt Ray
 
PDF
Weave GitOps - continuous delivery for any Kubernetes
Weaveworks
 
PDF
Containers and Kubernetes
Altoros
 
PDF
introduction to kubernetes slide deck by Roach
ZiyanMaraikar1
 
PDF
Oracle - Continuous Delivery NYC meetup, June 07, 2018
Oracle Developers
 
PPTX
Kubernetes Storage Webinar.pptx
Enrico Rampazzo
 
PDF
DevConf 2017 - Realistic Container Platform Simulations
Jeremy Eder
 
PDF
The ultimate Kubernetes Deployment Checklist - Infra to Microservices
Prakarsh -
 
PDF
Chef and OpenStack Workshop from ChefConf 2013
Matt Ray
 
01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware
VMUG IT
 
Moby KubeCon 2017
Patrick Chanezon
 
Kubernetes deployment on bare metal with container linux
macchiang
 
Free GitOps Workshop
Weaveworks
 
Persistent Storage for stateful applications on Kubernetes made easy with Ope...
MayaData Inc
 
The path to a serverless-native era with Kubernetes
sparkfabrik
 
Building scalbale cloud native apps with .NET 8
GillesMathieu10
 
Plataforma DevOps en OpenShift
Juan Carlos García Peláez
 
給 RD 的 Kubernetes 初體驗 (gcpug 2019-06 version)
William Yeh
 
Free GitOps Workshop (with Intro to Kubernetes & GitOps)
Weaveworks
 
SCaLE 20X: Kubernetes Cloud Cost Monitoring with OpenCost & Optimization Stra...
Matt Ray
 
Weave GitOps - continuous delivery for any Kubernetes
Weaveworks
 
Containers and Kubernetes
Altoros
 
introduction to kubernetes slide deck by Roach
ZiyanMaraikar1
 
Oracle - Continuous Delivery NYC meetup, June 07, 2018
Oracle Developers
 
Kubernetes Storage Webinar.pptx
Enrico Rampazzo
 
DevConf 2017 - Realistic Container Platform Simulations
Jeremy Eder
 
The ultimate Kubernetes Deployment Checklist - Infra to Microservices
Prakarsh -
 
Chef and OpenStack Workshop from ChefConf 2013
Matt Ray
 
Ad

Recently uploaded (20)

PPTX
Growth and development and milestones, factors
BHUVANESHWARI BADIGER
 
PPTX
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
PDF
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
PDF
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
PDF
Horarios de distribución de agua en julio
pegazohn1978
 
PPTX
How to Create Odoo JS Dialog_Popup in Odoo 18
Celine George
 
PDF
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
PDF
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
PDF
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
PDF
Dimensions of Societal Planning in Commonism
StefanMz
 
PPTX
HUMAN RESOURCE MANAGEMENT: RECRUITMENT, SELECTION, PLACEMENT, DEPLOYMENT, TRA...
PRADEEP ABOTHU
 
PPTX
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
PPTX
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
PDF
The Constitution Review Committee (CRC) has released an updated schedule for ...
nservice241
 
PPTX
care of patient with elimination needs.pptx
Rekhanjali Gupta
 
PDF
Generative AI: it's STILL not a robot (CIJ Summer 2025)
Paul Bradshaw
 
PDF
Exploring the Different Types of Experimental Research
Thelma Villaflores
 
PPTX
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
PPTX
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
PDF
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
Growth and development and milestones, factors
BHUVANESHWARI BADIGER
 
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
Horarios de distribución de agua en julio
pegazohn1978
 
How to Create Odoo JS Dialog_Popup in Odoo 18
Celine George
 
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
Dimensions of Societal Planning in Commonism
StefanMz
 
HUMAN RESOURCE MANAGEMENT: RECRUITMENT, SELECTION, PLACEMENT, DEPLOYMENT, TRA...
PRADEEP ABOTHU
 
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
The Constitution Review Committee (CRC) has released an updated schedule for ...
nservice241
 
care of patient with elimination needs.pptx
Rekhanjali Gupta
 
Generative AI: it's STILL not a robot (CIJ Summer 2025)
Paul Bradshaw
 
Exploring the Different Types of Experimental Research
Thelma Villaflores
 
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
Ad

Kubernetes and devops

  • 2. Copyright 2017 ITRI ⼯工業技術研究院 Agenda • Kubernetes Introduction • Scaling and Upgrading with K8S • Hands ON (Demo) • Q & A 2
  • 3. Copyright 2017 ITRI ⼯工業技術研究院 OpenStack Summit 2017
 Will Kubernetes Steal the Show? • Before the summit: ▪ OpenStack on Kubernetes? ▪ Kubernetes on OpenStack? ▪ How about Kubernetes on OpenStack on Kubernetes? • The list of breakaway sessions ▪ Kubernetes and OpenStack at Scale. ▪ OpenDaylight Kubernetes & OpenStack Magnum integration. ▪ ESCaaS 4.0, Unified Management Platform of OpenStack and Kubernetes. ▪ Hybrid Cloud Kubernetes. ▪ Hybrid Orchestration: Kubernetes on Bare Metal and OpenStack Demo. ▪ Panel: Enterprise Adoption of Kubernetes and Containers. https://thenewstack.io/openstack-summit-2017-will-kubernetes-stealing-show/ 3
  • 4. Copyright 2017 ITRI ⼯工業技術研究院 What’s Kubernetes • “Kubernetes” is Greek for captain or pilot • Experiences from Google and design by Goolge • Kubernetes is a production-grade, open-source platform that orchestrates the placement (scheduling) and execution of application containers within and across computer clusters. • Masters manage the cluster and the nodes are used to host the running applications. 4
  • 5. Copyright 2017 ITRI ⼯工業技術研究院 Why Kubernetes 5 • Automatic binpacking • Horizontal scaling • Automated rollouts and rollback • Service monitoring • Self-healing • Service discovery and load balancing • 100% Open source, written in Go
  • 6. Copyright 2017 ITRI ⼯工業技術研究院 Who use Kubernetes 6
  • 7. Copyright 2017 ITRI ⼯工業技術研究院 Kubernetes 1.6 Scalability Update 5,000 node and 150,000 pod clusters 7
  • 8. Copyright 2017 ITRI ⼯工業技術研究院 Kubernetes 1.6 Scalability Update (cont.) API response latency for a 5000-node Kubernetes 1.6 cluster are less than 500ms, and even 90th percentile is less than about 100ms 8
  • 9. Copyright 2017 ITRI ⼯工業技術研究院 Kubernetes Architecture 9
  • 10. Copyright 2017 ITRI ⼯工業技術研究院 Kubernetes Architecture (cont.) 10
  • 11. Copyright 2017 ITRI ⼯工業技術研究院 Kubernetes Architecture (cont.) 11
  • 12. Copyright 2017 ITRI ⼯工業技術研究院 etcd • Distributed key, value store • Used for configuration and monitoring store • Used for Service discovery • JSON/REST API 12
  • 13. Copyright 2017 ITRI ⼯工業技術研究院 flannel • A virtual network that gives a subnet to each host for use with container runtimes 13
  • 14. Copyright 2017 ITRI ⼯工業技術研究院 The Key Concept • Pod • Smallest deployable unit • Shared context • Service • Targets pods • Long-lived • Deployment (Replication controller) • Ensure N pods are running • Pod template • Label • Key/value pair • Organize, select objects • Kubernetes 14
  • 15. Copyright 2017 ITRI ⼯工業技術研究院 Nodes • A node is a worker machine in Kubernetes and may be a VM or physical machine • Multiple Pods can run on one Node 15
  • 16. Copyright 2017 ITRI ⼯工業技術研究院 Pods • A group of one or more containers • Containers within a pod share IP, port, namespaces and  volumes. 16
  • 17. Copyright 2017 ITRI ⼯工業技術研究院 Service • Persistent • Routes traffic across a set of Pods • Provide load balancer • Provide discovery • Provide stable service address • Find pods by label selector A Service is an abstraction which defines a logical set of Pods and a policy by which to access them 17
  • 18. Copyright 2017 ITRI ⼯工業技術研究院 Label • Metadata with semantic meaning • Label selector • Set of objects 18
  • 19. Copyright 2017 ITRI ⼯工業技術研究院 Namespace • Group + segment pods, rcs, volumes and secrets from each other https://www.slideshare.net/imesh/multitenancy-in-c5 19
  • 20. Copyright 2017 ITRI ⼯工業技術研究院 Deployment (Replication Controller) • Provides declarative updates for Pods and ReplicaSets • Rollout/ Roll back a ReplicaSet • Scale up the deployment 20
  • 21. Copyright 2017 ITRI ⼯工業技術研究院 Deployment Deployment Replica Set Replica Set Replica Set Replica Set Pod Pod Pod Pod Recommend using Deployments instead of directly using ReplicaSets 21
  • 22. Copyright 2017 ITRI ⼯工業技術研究院 Deployment (cont.) • A Deployment provides declarative updates for Pods and ReplicaSets • Typical use case ▪ Create a Deployment to rollout a ReplicaSet ▪ Rollback to an earlier Deployment revision ▪ Scale up the Deployment to facilitate more load ▪ Use the status of the Deployment as an indicator that a rollout has stuck ▪ Clean up older ReplicaSets that you don’t need anymore 22
  • 23. Copyright 2017 ITRI ⼯工業技術研究院 Scaling Scaling is accomplished by changing the number of replicas in a Deployment 23
  • 24. Copyright 2017 ITRI ⼯工業技術研究院 Scaling (cont.) 24
  • 25. Copyright 2017 ITRI ⼯工業技術研究院 Horizontal Pod Autoscaling • Automatically scales the number of pods in a replication controller, deployment or replica set based on observed CPU utilization • Operates within user-defined min/ max bounds • Set it and forget it https://www.slideshare.net/DanielSmith272/whats-new-in-kubernetes 25
  • 26. Copyright 2017 ITRI ⼯工業技術研究院 Canary Deployment https://martinfowler.com/bliki/CanaryRelease.html 26
  • 27. Copyright 2017 ITRI ⼯工業技術研究院 Canary Deployment (cont.) https://martinfowler.com/bliki/CanaryRelease.html 27
  • 28. Copyright 2017 ITRI ⼯工業技術研究院 Canary Deployment(cont.) https://martinfowler.com/bliki/CanaryRelease.html 28
  • 29. Copyright 2017 ITRI ⼯工業技術研究院 Rolling updates Rolling updates allow Deployments' update to take place with zero downtime by incrementally updating Pods instances with new ones. 29
  • 30. Copyright 2017 ITRI ⼯工業技術研究院 Rolling updates (cont.) If a Deployment is exposed publicly, the Service will load- balance the traffic only to available Pods during the update. 30
  • 31. Copyright 2017 ITRI ⼯工業技術研究院 Rolling updates (cont.) 31
  • 32. Copyright 2017 ITRI ⼯工業技術研究院 Rolling updates (cont.) 32
  • 33. Copyright 2017 ITRI ⼯工業技術研究院 Rolling updates (cont.) • Allow the following actions: ▪ Promote an application from one environment to another (via container image updates) ▪ Rollback to previous versions ▪ Continuous Integration and Continuous Delivery of applications with zero downtime 33
  • 34. Copyright 2017 ITRI ⼯工業技術研究院 Hands ON….. 34https://pixabay.com/zh/%E9%94%AE%E7%9B%98%E6%89%8B-%E9%94%AE%E7%9B%98-%E8%AE%A1%E7%AE%97-%E9%94%AE%E5%85%A5-2148723/ http://labs.play-with-k8s.com/