- 6
- 0
- 约6.72千字
- 约 37页
- 2018-11-04 发布于湖北
- 举报
kubernetes有状态集群服务部署跟管理
Kubernetes有状态集群服务
部署与管理
Agenda
• Background
• What is Kubernetes?
• Run stateful services
on Kubernetes
• Kubernetes Storage
• Volume
• Persistent Volume
• Dynamic Storage
Provision
• Kubernetes Stateful Service Features
• Init Container
• Pet Set
• Run MySQL Cluster on Kubernetes
• Galera MySQL Introduction
• Deploy MySQL Cluster with PetSet
• Cluster Operation on Kubernetes
What is Kubernetes
What is Kubernetes
What is Kubernetes
What is Kubernetes
Pet
Cattle
Run Stateful Service on Kubernetes
• Stateless services are popular in containerized world
because they are disposable and easy to be re-created
with container images.
• Beyond stateless services like web server, users are
increasingly deploying stateful services with containers
to benefit from “build once, run anywhere” and to
improve bare metal efficiency/utilization.
• These “pets” bring new requirements including longer
life cycle, configuration dependencies and stateful
failover. Container orchestration must address these
needs to successfully deploy and scale apps.
Run Stateful Service on Kubernetes
Stateless
• Pod
• RC/Replica Set
• Service
Stateful
• Volume
• Persistent
Volume
•
•
•
•
Clustered
Pet Set
Init Container
Headless Service
Dynamic Storage
Provision
Agenda
• Background
• What is Kubernetes?
• Run stateful services
on Kubernetes
• Kubernetes Storage
• Volume
• Persistent Volume
• Dynamic Storage
Provision
• Kubernetes Stateful Service Features
• Init Container
• Pet Set
• Run MySQL Cluster on Kubernetes
• Galera MySQL Introduction
• Deploy MySQL Cluster with PetSet
• Cluster Operation on Kubernetes
Kubernetes Storage
• Node Based
Volume
• emptyDir
• hostPath
• Use Cases:
• Store temp data
• Data sharing
among
containers
Kubernetes Storage
• hostPath
• emptyDir
Kubernetes Storage
• Cross Node Volume
Kubernetes Storage
Kubernetes Cluster
Shared Volume
Various volume plugins
Unshare
原创力文档

文档评论(0)