利用K8S實現高可靠應用
- 4. App Development Changes
• Huge Applications
• Hours to Build
• Huge Downtime
• Microservices
• Container Deployment
• Independent Deployments
• Fast Version Releases
- 8. What is Microservices?
Physical Server
VM VM VM VM
Hypervisor
Physical Server
Software Program
010101010101010
101010101010101
010101010101010
101010101010101
010101010101010
010101010101010
101010101010101
010101010101010
101010101010101
010101010101010
010101010101010
101010101010101
010101010101010
101010101010101
010101010101010
010101010101010
101010101010101
010101010101010
101010101010101
010101010101010
- 11. What is Microservices?
Physical Server
Software Program
Physical Server
VM VM VM VM
Hypervisor
Physical Server
Container Container Container Container
Container Engine
(Docker)
- 12. Kitchen
Office
Men’s Room Women’s Room
Frontdesk
Dining Area
entrance
What is Microservices?
Kitchen
Office
Men’s Room Women’s Room
Frontdesk
Dining Area
entrance
Physical Server
Container Container Container Container
Container Engine
(Docker)
- 16. Concepts & Terms
• Controllers
o Deployment (deploy)
o Stateful Set
o Daemon Set (ds)
o Jobs
https://kubernetes.io/docs/concepts/
- 17. Concepts & Terms
• Deployment (deploy)
o Stateless
o Availability > Consistency
o Web Frontends
o Rolling Update
- 18. Concepts & Terms
• Deployment (deploy)
o Stateless
o Availability > Consistency
o Web Frontends
- 19. Concepts & Terms
• Stateful Set
o Persistent data
o Availability < Consistency
o Each has its own identity
o Databases, Message queues
- 20. Concepts & Terms
• Daemon Set
o Background process
o One pod per node
o Node labels
o Cluster storage, logs, node monitoring
- 21. Concepts & Terms
• Jobs
o Batch Pattern
o Run in parallel
o Run to completion (then exit)
o Independent but related processes
- 23. Why Chatbots?
• Make the Most of Emerging Trends
• Access Information Faster
• Consistent & Controllable Conversation
• Integrate Social Media and Sales
• Informal Brand Chats
- 27. K8S Architecture
Benefits:
• Resource Utilization
• Scalability
• Auto Load-balance
• Self-healing
Challenges:
• Logging
• Chat Conversation
Who am I talking to?!!!
Hi!
My name is
Kamekube!
Hi! What’s
your name?