From 9a0a7a5f39f1c4255a9813ac87c1c3b1c4fc1a5d Mon Sep 17 00:00:00 2001 From: "xin.li" Date: Mon, 23 Sep 2024 22:46:38 +0800 Subject: [PATCH] [zh-cn] sync taint-and-toleration ephemeral-volumes Signed-off-by: xin.li --- .../concepts/scheduling-eviction/taint-and-toleration.md | 6 ++++-- content/zh-cn/docs/concepts/storage/ephemeral-volumes.md | 4 ++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/content/zh-cn/docs/concepts/scheduling-eviction/taint-and-toleration.md b/content/zh-cn/docs/concepts/scheduling-eviction/taint-and-toleration.md index 2998ec5587..75484dc6a9 100644 --- a/content/zh-cn/docs/concepts/scheduling-eviction/taint-and-toleration.md +++ b/content/zh-cn/docs/concepts/scheduling-eviction/taint-and-toleration.md @@ -141,13 +141,15 @@ A toleration "matches" a taint if the keys are the same and the effects are the 存在两种特殊情况: +如果 `key` 为空,那么 `operator` 必须是 `Exists`,匹配所有 key 和 value。 +注意,同时 `effect` 仍然需要匹配。 + 如果一个容忍度的 `key` 为空且 `operator` 为 `Exists`, 表示这个容忍度与任意的 key、value 和 effect 都匹配,即这个容忍度能容忍任何污点。 diff --git a/content/zh-cn/docs/concepts/storage/ephemeral-volumes.md b/content/zh-cn/docs/concepts/storage/ephemeral-volumes.md index 9488f86683..2a5e342a27 100644 --- a/content/zh-cn/docs/concepts/storage/ephemeral-volumes.md +++ b/content/zh-cn/docs/concepts/storage/ephemeral-volumes.md @@ -72,6 +72,8 @@ different purposes: [downwardAPI](/docs/concepts/storage/volumes/#downwardapi), [secret](/docs/concepts/storage/volumes/#secret): inject different kinds of Kubernetes data into a Pod +- [image](/docs/concepts/storage/volumes/#image): allows mounting container image files or artifacts, + directly to a Pod. - [CSI ephemeral volumes](#csi-ephemeral-volumes): similar to the previous volume kinds, but provided by special {{< glossary_tooltip text="CSI" term_id="csi" >}} drivers which specifically [support this feature](https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html) @@ -85,6 +87,8 @@ Kubernetes 为了不同的用途,支持几种不同类型的临时卷: [downwardAPI](/zh-cn/docs/concepts/storage/volumes/#downwardapi)、 [secret](/zh-cn/docs/concepts/storage/volumes/#secret): 将不同类型的 Kubernetes 数据注入到 Pod 中 +- [镜像](/zh-cn/docs/concepts/storage/volumes/#image): + 允许将容器镜像文件或制品直接挂载到 Pod。 - [CSI 临时卷](#csi-ephemeral-volumes): 类似于前面的卷类型,但由专门[支持此特性](https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html) 的指定 {{< glossary_tooltip text="CSI" term_id="csi" >}} 驱动程序提供