update zh (#18328)
This commit is contained in:
parent
ed063ab63a
commit
83d90efdd9
|
@ -156,7 +156,7 @@ When the scheduler is assigning a Pod to a Node, the scheduler takes the Node's
|
|||
into account, except for any taints that the Pod tolerates.
|
||||
-->
|
||||
节点生命周期控制器会自动创建代表条件的[污点](/docs/concepts/configuration/taint-and-toleration/)。
|
||||
当 scheduler 将 Pod 分配给节点时,scheduler 会考虑节点上的污点,但是 Pod 可以容忍的污点除外。
|
||||
当调度器将 Pod 分配给节点时,调度器会考虑节点上的污点,但是 Pod 可以容忍的污点除外。
|
||||
|
||||
<!--
|
||||
### Capacity and Allocatable {#capacity}
|
||||
|
@ -297,7 +297,7 @@ of the node heartbeats as the cluster scales.
|
|||
-->
|
||||
Kubernetes 节点发送的心跳有助于确定节点的可用性。
|
||||
心跳有两种形式:`NodeStatus` 和 [`Lease` 对象](/docs/reference/generated/kubernetes-api/{{< latest-version >}}/#lease-v1-coordination-k8s-io)。
|
||||
每个节点在 `kube-node-lease`{{< glossary_tooltip term_id="namespace" text="namespace">}} 中都有一个关联的 `Lease` 对象。
|
||||
每个节点在 `kube-node-lease`{{< glossary_tooltip term_id="namespace" text="命名空间">}} 中都有一个关联的 `Lease` 对象。
|
||||
`Lease` 是一种轻量级的资源,可在集群扩展时提高节点心跳机制的性能。
|
||||
|
||||
<!--
|
||||
|
@ -316,7 +316,7 @@ kubelet 负责创建和更新 `NodeStatus` 和 `Lease` 对象。
|
|||
`NodeStatus` updates.
|
||||
-->
|
||||
- 当状态发生变化时,或者在配置的时间间隔内没有更新时,kubelet 会更新 `NodeStatus`。
|
||||
`NodeStatus` 更新的默认间隔为 5 分钟(比无法访问的节点的 40 秒默认超时时间长点)。
|
||||
`NodeStatus` 更新的默认间隔为 5 分钟(比无法访问的节点的 40 秒默认超时时间长很多)。
|
||||
- kubelet 会每 10 秒(默认更新间隔时间)创建并更新其 `Lease` 对象。`Lease` 更新独立于 `NodeStatus` 更新而发生。
|
||||
|
||||
<!--
|
||||
|
|
|
@ -436,9 +436,9 @@ breaking.
|
|||
* `node.kubernetes.io/network-unavailable` (*host network only*)
|
||||
-->
|
||||
Node 生命周期控制器会自动创建与 Node 条件相对应的污点。
|
||||
同样,调度程序不检查节点条件。 而是调度程序检查污点。 这确保了节点条件不会影响调度到节点上的内容。 用户可以通过添加适当的 Pod 容忍来选择忽略某些 Node 的问题(表示为 Node 的调度条件)。
|
||||
同样,调度器不检查节点条件,而是检查节点污点。这确保了节点条件不会影响调度到节点上的内容。用户可以通过添加适当的 Pod 容忍度来选择忽略某些 Node 的问题(表示为 Node 的调度条件)。
|
||||
注意,`TaintNodesByCondition` 只会污染具有 `NoSchedule` 设定的节点。 `NoExecute` 效应由 `TaintBasedEviction` 控制,
|
||||
`TaintBasedEviction` 是 Beta 版功能,自1.13版起默认启用。
|
||||
`TaintBasedEviction` 是 Beta 版功能,自 Kubernetes 1.13 起默认启用。
|
||||
|
||||
* `node.kubernetes.io/memory-pressure`
|
||||
* `node.kubernetes.io/disk-pressure`
|
||||
|
|
|
@ -119,7 +119,10 @@ platform for additional features such as topological routing.
|
|||
|
||||
当涉及如何路由内部流量时,Endpoint Slices 可以充当 kube-proxy 的真实来源。启用该功能后,在服务的 endpoints 规模庞大时会有可观的性能提升。
|
||||
|
||||
<!--
|
||||
## Address Types
|
||||
-->
|
||||
## 地址类型
|
||||
|
||||
EndpointSlice 支持三种地址类型:
|
||||
|
||||
|
|
Loading…
Reference in New Issue