【问题标题】:What will happen in Kubernetes if etcd stops working?如果 etcd 停止工作,Kubernetes 会发生什么?
【发布时间】:2021-04-10 02:28:44
【问题描述】:

在运行一个完整的集群时,如果突然etcd停止工作,那会发生什么?

Pod 服务和部署会继续吗?

【问题讨论】:

    标签: kubernetes google-kubernetes-engine etcd


    【解决方案1】:

    如果etcd members 的大多数已经永久失败,则认为etcd cluster 失败。

    etcd cluster 失败后,所有正在运行的工作负载可能会继续运行。然而,由于 etcd 角色,Kubernetes 无法对其当前状态进行任何更改。尽管已调度的 pod 可能会继续运行,但无法调度新的 pod。 因此在 Kubernetes 集群中运行的应用程序可能会继续提供流量,但 etcd 集群应尽快为 recovered

    您可以在Rancher docs 中找到有关etcd's 在Kubernetes 中的角色的更多信息。

    【讨论】:

      猜你喜欢
      • 2017-04-21
      • 1970-01-01
      • 2019-12-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-08-26
      • 2018-12-16
      相关资源
      最近更新 更多