 Pod 容忍节点异常时间调整对节点不健康的容忍时长 对节点不健康的容忍时长 在创建 Pod 时,如⽆特别指定,节点控制器会为 Pod 添加如下污点: tolerations: - key: "node.kubernetes.io/unreachable" operator: "Exists" effect: "NoExecute" tolerationSeconds: 300 - key: "node.kubernetes.io/not-ready" 这种⾃动添加的容忍度意味着在其中⼀种问题(NotReady / UnReachable)被检测到时 Pod 默认能够继续停留在当前节点运⾏ 5 分钟。 Pod 容忍节点异常时间调整 Copyright © 2012-2021 UCloud 优刻得 2/4 注:当 DaemonSet 中的 Pod 被创建时, 针对 unreachable / not-ready 污点⾃动添加的 NoExecute tolerationSeconds,保证出现相应问题时 DaemonSet 中的 Pod 永远不会被驱逐。 3.1 调整默认容忍时长 调整默认容忍时长 Kubernetes 为 Pod ⾃动添加的针对 unreachable / not-ready 污点的容忍时⻓由 APIServer 中的相应参数控制,如需修改请逐台在三台 请逐台在三台 Master 节点上 节点上进⾏如下操作: 1. 在 APIServer0 码力 | 4 页 | 104.64 KB | 1 年前3 Pod 容忍节点异常时间调整对节点不健康的容忍时长 对节点不健康的容忍时长 在创建 Pod 时,如⽆特别指定,节点控制器会为 Pod 添加如下污点: tolerations: - key: "node.kubernetes.io/unreachable" operator: "Exists" effect: "NoExecute" tolerationSeconds: 300 - key: "node.kubernetes.io/not-ready" 这种⾃动添加的容忍度意味着在其中⼀种问题(NotReady / UnReachable)被检测到时 Pod 默认能够继续停留在当前节点运⾏ 5 分钟。 Pod 容忍节点异常时间调整 Copyright © 2012-2021 UCloud 优刻得 2/4 注:当 DaemonSet 中的 Pod 被创建时, 针对 unreachable / not-ready 污点⾃动添加的 NoExecute tolerationSeconds,保证出现相应问题时 DaemonSet 中的 Pod 永远不会被驱逐。 3.1 调整默认容忍时长 调整默认容忍时长 Kubernetes 为 Pod ⾃动添加的针对 unreachable / not-ready 污点的容忍时⻓由 APIServer 中的相应参数控制,如需修改请逐台在三台 请逐台在三台 Master 节点上 节点上进⾏如下操作: 1. 在 APIServer0 码力 | 4 页 | 104.64 KB | 1 年前3
 OpenShift Container Platform 4.9 节点Platform 中内置了以下污点: node.kubernetes.io/not-ready:节点未就绪。这与节点状况 Ready=False 对应。 node.kubernetes.io/unreachable:节点无法从节点控制器访问。这与节点状况 Ready=Unknown 对应。 node.kubernetes.io/memory-pressure:节点存在内存压力问题。这与节点状况 MemoryPressure=True 了解根据状况驱 驱除 除 pod(基于 (基于垃圾 垃圾的 的驱 驱除) 除) Taint-Based Evictions 功能默认是启用的,可以从遇到特定状况(如 not-ready 和 unreachable)的节 点驱除 pod。当节点遇到其中一个状况时,OpenShift Container Platform 会自动给节点添加污点,并开 始驱除 pod 以及将 pod 重新调度到其他节点。 120 1 OpenShift Container Platform 会自动为 node.kubernetes.io/not-ready 和 node.kubernetes.io/unreachable 添加容限并设置 tolerationSeconds=300,除非 Pod 配置中指定了 其中任一种容限。 这些容限确保了在默认情况下,pod 在检测到这些节点条件问题中的任何一个时,会保持绑定五分0 码力 | 374 页 | 3.80 MB | 1 年前3 OpenShift Container Platform 4.9 节点Platform 中内置了以下污点: node.kubernetes.io/not-ready:节点未就绪。这与节点状况 Ready=False 对应。 node.kubernetes.io/unreachable:节点无法从节点控制器访问。这与节点状况 Ready=Unknown 对应。 node.kubernetes.io/memory-pressure:节点存在内存压力问题。这与节点状况 MemoryPressure=True 了解根据状况驱 驱除 除 pod(基于 (基于垃圾 垃圾的 的驱 驱除) 除) Taint-Based Evictions 功能默认是启用的,可以从遇到特定状况(如 not-ready 和 unreachable)的节 点驱除 pod。当节点遇到其中一个状况时,OpenShift Container Platform 会自动给节点添加污点,并开 始驱除 pod 以及将 pod 重新调度到其他节点。 120 1 OpenShift Container Platform 会自动为 node.kubernetes.io/not-ready 和 node.kubernetes.io/unreachable 添加容限并设置 tolerationSeconds=300,除非 Pod 配置中指定了 其中任一种容限。 这些容限确保了在默认情况下,pod 在检测到这些节点条件问题中的任何一个时,会保持绑定五分0 码力 | 374 页 | 3.80 MB | 1 年前3
 OpenShift Container Platform 4.6 节点io/not-ready: :节 节点未就 点未就绪 绪。 。这 这与 与节 节点状况 点状况 Ready=False 对应 对应。 。 node.kubernetes.io/unreachable: :节 节点无法从 点无法从节 节点控制器 点控制器访问 访问。 。这 这与 与节 节点状况 点状况 Ready=Unknown 对应 对应。 。 node 驱除) 除) Taint-Based Evictions 功能默 功能默认 认是 是启 启用的,可以从遇到特定状况(如 用的,可以从遇到特定状况(如 not-ready 和 和 unreachable) ) 的 的节 节点 点驱 驱除 除 pod。当 。当节 节点遇到其中一个状况 点遇到其中一个状况时 时, ,OpenShift Container Platform 会自 会自动给节 动给节点添加 kubernetes.io/not-ready 和 和 OpenShift Container Platform 4.6 节 节点 点 158 1 node.kubernetes.io/unreachable 添加容限并 添加容限并设 设置 置 tolerationSeconds=300,除非 ,除非 Pod 配置中指定了 配置中指定了 其中任一种容限。 其中任一种容限。0 码力 | 404 页 | 3.60 MB | 1 年前3 OpenShift Container Platform 4.6 节点io/not-ready: :节 节点未就 点未就绪 绪。 。这 这与 与节 节点状况 点状况 Ready=False 对应 对应。 。 node.kubernetes.io/unreachable: :节 节点无法从 点无法从节 节点控制器 点控制器访问 访问。 。这 这与 与节 节点状况 点状况 Ready=Unknown 对应 对应。 。 node 驱除) 除) Taint-Based Evictions 功能默 功能默认 认是 是启 启用的,可以从遇到特定状况(如 用的,可以从遇到特定状况(如 not-ready 和 和 unreachable) ) 的 的节 节点 点驱 驱除 除 pod。当 。当节 节点遇到其中一个状况 点遇到其中一个状况时 时, ,OpenShift Container Platform 会自 会自动给节 动给节点添加 kubernetes.io/not-ready 和 和 OpenShift Container Platform 4.6 节 节点 点 158 1 node.kubernetes.io/unreachable 添加容限并 添加容限并设 设置 置 tolerationSeconds=300,除非 ,除非 Pod 配置中指定了 配置中指定了 其中任一种容限。 其中任一种容限。0 码力 | 404 页 | 3.60 MB | 1 年前3
 Kubernetes开源书 -  周立的taint创 建 NoExecute toleration。 node.kubernetes.io/not-ready node.alpha.kubernetes.io/unreachable 这样可以确保在启⽤ TaintBasedEvictions alpha功能时,当Node出现问题(如⽹络分区)时,它们将不被驱逐。(当 TaintBasedEvictions io/not-ready :Node尚未准备就绪。 这对应于NodeCondition Ready 字段为 False 。 node.alpha.kubernetes.io/unreachable :Node⽆法从Node Controller访问。这对应于NodeCondition Ready 字段 为 Unknown 。 node.kubernetes.io/out-of-disk 分区恢复时避免 该驱逐。 在这种情况下,Pod将使⽤的Toleration情况看起来像: tolerations: - key: "node.alpha.kubernetes.io/unreachable" operator: "Exists" effect: "NoExecute" 23-容忍与污点 104 tolerationSeconds: 6000 请注意,除⾮⽤户提供的Pod配置已经具有0 码力 | 135 页 | 21.02 MB | 1 年前3 Kubernetes开源书 -  周立的taint创 建 NoExecute toleration。 node.kubernetes.io/not-ready node.alpha.kubernetes.io/unreachable 这样可以确保在启⽤ TaintBasedEvictions alpha功能时,当Node出现问题(如⽹络分区)时,它们将不被驱逐。(当 TaintBasedEvictions io/not-ready :Node尚未准备就绪。 这对应于NodeCondition Ready 字段为 False 。 node.alpha.kubernetes.io/unreachable :Node⽆法从Node Controller访问。这对应于NodeCondition Ready 字段 为 Unknown 。 node.kubernetes.io/out-of-disk 分区恢复时避免 该驱逐。 在这种情况下,Pod将使⽤的Toleration情况看起来像: tolerations: - key: "node.alpha.kubernetes.io/unreachable" operator: "Exists" effect: "NoExecute" 23-容忍与污点 104 tolerationSeconds: 6000 请注意,除⾮⽤户提供的Pod配置已经具有0 码力 | 135 页 | 21.02 MB | 1 年前3
 Apache Kyuubi 1.6.1 DocumentationShare Level Each session with CONNECTION share level has a standalone engine for itself which is unreachable for anyone else. Within the session, a user or client can send multiple operation request, including com/apache/incubator-kyuubi/commit/3435e2ae] [KYUUBI #2911] [SUB-TASK][KPIP-4] If the kyuubi instance unreachable, support to backfill state from resource manager and mark batch closed by remote kyuubi instance0 码力 | 401 页 | 5.42 MB | 1 年前3 Apache Kyuubi 1.6.1 DocumentationShare Level Each session with CONNECTION share level has a standalone engine for itself which is unreachable for anyone else. Within the session, a user or client can send multiple operation request, including com/apache/incubator-kyuubi/commit/3435e2ae] [KYUUBI #2911] [SUB-TASK][KPIP-4] If the kyuubi instance unreachable, support to backfill state from resource manager and mark batch closed by remote kyuubi instance0 码力 | 401 页 | 5.42 MB | 1 年前3
 Apache Kyuubi 1.6.0 DocumentationShare Level Each session with CONNECTION share level has a standalone engine for itself which is unreachable for anyone else. Within the session, a user or client can send multiple operation request, including com/apache/incubator-kyuubi/commit/3435e2ae] [KYUUBI #2911] [SUB-TASK][KPIP-4] If the kyuubi instance unreachable, support to backfill state from resource manager and mark batch closed by remote kyuubi instance0 码力 | 391 页 | 5.41 MB | 1 年前3 Apache Kyuubi 1.6.0 DocumentationShare Level Each session with CONNECTION share level has a standalone engine for itself which is unreachable for anyone else. Within the session, a user or client can send multiple operation request, including com/apache/incubator-kyuubi/commit/3435e2ae] [KYUUBI #2911] [SUB-TASK][KPIP-4] If the kyuubi instance unreachable, support to backfill state from resource manager and mark batch closed by remote kyuubi instance0 码力 | 391 页 | 5.41 MB | 1 年前3
 OpenShift Container Platform 4.14 Operator******************************************* localhost : ok=2 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 $ oc get configmaps OpenShift Container ******************************************* localhost : ok=2 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 $ oc get configmaps 第 第 5 章 章 开 开发 发 OPERATOR 被称为“裂脑(split brain)”的状态。但这种方法可能会延迟选举新的领导。例如,当领导 pod 位于无 响应或分区的节点上时,您可以在领导 pod 上指定 node.kubernetes.io/unreachable 和 node.kubernetes.io/not-ready 容限,并使用 tolerationSeconds 值来指定领导 pod 从节点删除所需 的时间,并缩减。这些容限默认添加到 pod0 码力 | 423 页 | 4.26 MB | 1 年前3 OpenShift Container Platform 4.14 Operator******************************************* localhost : ok=2 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 $ oc get configmaps OpenShift Container ******************************************* localhost : ok=2 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 $ oc get configmaps 第 第 5 章 章 开 开发 发 OPERATOR 被称为“裂脑(split brain)”的状态。但这种方法可能会延迟选举新的领导。例如,当领导 pod 位于无 响应或分区的节点上时,您可以在领导 pod 上指定 node.kubernetes.io/unreachable 和 node.kubernetes.io/not-ready 容限,并使用 tolerationSeconds 值来指定领导 pod 从节点删除所需 的时间,并缩减。这些容限默认添加到 pod0 码力 | 423 页 | 4.26 MB | 1 年前3
 Apache Kyuubi 1.4.1 DocumentationShare Level Each session with CONNECTION share level has a standalone engine for itself which is unreachable for anyone else. Within the session, a user or client can send multiple operation request, including0 码力 | 148 页 | 6.26 MB | 1 年前3 Apache Kyuubi 1.4.1 DocumentationShare Level Each session with CONNECTION share level has a standalone engine for itself which is unreachable for anyone else. Within the session, a user or client can send multiple operation request, including0 码力 | 148 页 | 6.26 MB | 1 年前3
 Apache Kyuubi 1.4.0 DocumentationShare Level Each session with CONNECTION share level has a standalone engine for itself which is unreachable for anyone else. Within the session, a user or client can send multiple operation request, including0 码力 | 148 页 | 6.26 MB | 1 年前3 Apache Kyuubi 1.4.0 DocumentationShare Level Each session with CONNECTION share level has a standalone engine for itself which is unreachable for anyone else. Within the session, a user or client can send multiple operation request, including0 码力 | 148 页 | 6.26 MB | 1 年前3
 Apache Kyuubi 1.5.0 DocumentationShare Level Each session with CONNECTION share level has a standalone engine for itself which is unreachable for anyone else. Within the session, a user or client can send multiple operation request, including0 码力 | 172 页 | 6.94 MB | 1 年前3 Apache Kyuubi 1.5.0 DocumentationShare Level Each session with CONNECTION share level has a standalone engine for itself which is unreachable for anyone else. Within the session, a user or client can send multiple operation request, including0 码力 | 172 页 | 6.94 MB | 1 年前3
共 131 条
- 1
- 2
- 3
- 4
- 5
- 6
- 14














