美文网首页
k8s官方文档实践系列-Performing a Rolling

k8s官方文档实践系列-Performing a Rolling

作者: JerryAi | 来源:发表于2019-08-02 23:04 被阅读0次

    本文参考自 https://kubernetes.io/docs/tutorials/kubernetes-basics/update/update-intro/

    Users expect applications to be available all the time and developers are expected to deploy new versions of them several times a day. In Kubernetes this is done with rolling updates. Rolling updates allow Deployments' update to take place with zero downtime by incrementally updating Pods instances with new ones. The new Pods will be scheduled on Nodes with available resources.

    用户希望应用程序始终可用,开发人员希望每天部署几次新版本的应用程序。在Kubernetes中,这是通过滚动更新完成的。滚动更新允许使用新实例增量地更新Pods实例,从而实现部署更新停机时间为零。新Pods将安排在具有可用资源的节点上。

    Similar to application Scaling, if a Deployment is exposed publicly, the Service will load-balance the traffic only to available Pods during the update. An available Pod is an instance that is available to the users of the application.

    与应用程序扩展类似,如果公开了部署,服务将在更新期间仅对可用的pod进行负载平衡。可用Pod是应用程序用户可用的实例。

    相关文章

      网友评论

          本文标题:k8s官方文档实践系列-Performing a Rolling

          本文链接:https://www.haomeiwen.com/subject/xmardctx.html