29

Kubernetes 健康状态检查(九)-运维点滴记录

 5 years ago
source link: http://blog.51cto.com/wzlinux/2329049
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这类容器编排引擎的一个重要特性。自愈的默认实现方式是自动重启发生故障的容器。除此之外,用户还可以利用Liveness和Readiness探测机制设置更精细的健康检查,进而实现如下需求:零停机部署。避免部署无效的镜像。更加安全的滚动升级。一、Liveness探测Liveness探测让用户可以自定义判断容器是否健康的条件。如果探测失败,Kubernetes就会重启容

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK