17

Kubernetes的Pod自动化扩缩容及HPA原理-zjdevops的博客

 3 years ago
source link: https://blog.51cto.com/3388803/2534750
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
在实际的业务场景中,我们经常会遇到某个服务需要扩容的场景(例如:测试压测、电商秒杀、大促、或由于资源紧张、工作负载降低等等都需要对服务实例数进行扩缩容操作)。在Kubernetes中,可以对Deployment/RC的Scale机制来方便的进行自动化扩缩容操作。 Kubernetes扩缩容Kubernetes对Pod的扩缩容分为:手动和自动两种1.手动模式手动模式通过kubectl scale命令

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK