Skip to content

Commit 219fc9a

Browse files
committed
[zh-cn] sync windows/_index.md dual-stack.md
field-selectors.md finalizers.md names.md Signed-off-by: xin.li
1 parent 695642d commit 219fc9a

File tree

5 files changed

+96
-8
lines changed

5 files changed

+96
-8
lines changed

content/zh-cn/docs/concepts/overview/working-with-objects/field-selectors.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,12 @@ weight: 70
1111

1212
15-
“字段选择器(Field selectors)”允许你根据一个或多个资源字段的值
16-
[筛选 Kubernetes 资源](/zh-cn/docs/concepts/overview/working-with-objects/kubernetes-objects)
18+
“字段选择器(Field selectors)”允许你根据一个或多个资源字段的值筛选
19+
Kubernetes {{< glossary_tooltip text="对象" term_id="object" >}}
1720
下面是一些使用字段选择器查询的例子:
1821

1922
* `metadata.name=my-service`
@@ -23,7 +26,8 @@ _Field selectors_ let you [select Kubernetes resources](/docs/concepts/overview/
2326
26-
下面这个 `kubectl` 命令将筛选出 [`status.phase`](/zh-cn/docs/concepts/workloads/pods/pod-lifecycle/#pod-phase)
29+
下面这个 `kubectl` 命令将筛选出
30+
[`status.phase`](/zh-cn/docs/concepts/workloads/pods/pod-lifecycle/#pod-phase)
2731
字段值为 `Running` 的所有 Pod:
2832

2933
```shell
@@ -36,7 +40,8 @@ Field selectors are essentially resource *filters*. By default, no selectors/fil
3640
-->
3741
字段选择器本质上是资源“过滤器(Filters)”。默认情况下,字段选择器/过滤器是未被应用的,
3842
这意味着指定类型的所有资源都会被筛选出来。
39-
这使得 `kubectl get pods``kubectl get pods --field-selector ""` 这两个 `kubectl` 查询是等价的。
43+
这使得 `kubectl get pods``kubectl get pods --field-selector ""`
44+
这两个 `kubectl` 查询是等价的。
4045

4146
{{< /note >}}
4247

content/zh-cn/docs/concepts/overview/working-with-objects/finalizers.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ weight: 80
88

99
{{}}
1010

11+
16+
你可以使用 Finalizers 来控制{{< glossary_tooltip text="对象" term_id="object" >}}的{{}},
17+
方法是在删除目标资源之前提醒{{}}执行特定的清理任务。
18+
1119
content/zh-cn/docs/concepts/overview/working-with-objects/names.md
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ weight: 30
1515
1616

1717
2323

24-
集群中的每一个对象都有一个[**名称**](#names)来标识在同类资源中的唯一性。
24+
集群中的每一个{{< glossary_tooltip text="对象" term_id="object" >}}都有一个[**名称**](#names)来标识在同类资源中的唯一性。
2525

2626
每个 Kubernetes 对象也有一个 [**UID**](#uids) 来标识在整个集群中的唯一性。
2727

content/zh-cn/docs/concepts/services-networking/dual-stack.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,18 @@ IPv6 CIDR 的一个例子:`fdXY:IJKL:MNOP:15::/64`
150150
(这里演示的是格式而非有效地址 - 请看 [RFC 4193](https://tools.ietf.org/html/rfc4193))。
151151
{{< /note >}}
152152

153+
{{< feature-state for_k8s_version="v1.27" state="alpha" >}}
154+
155+
161+
使用外部云驱动时,如果你在 kubelet 和外部云提供商中都启用了
162+
`CloudDualStackNodeIPs` 特性门控,则可以将双栈 `--node-ip`
163+
值传递给 kubelet。此特性需要保证云提供商支持双栈集群。
164+
153165
Lines changed: 65 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,71 @@
11
---
22
title: "Kubernetes 中的 Windows"
3-
weight: 50
3+
simple_list: true
4+
weight: 200
5+
description: >-
6+
Kubernetes 支持运行 Microsoft Windows 节点。
47
---
8+
59
16+
17+
21+
Kubernetes 支持运行 Linux 或 Microsoft Windows
22+
的工作{{< glossary_tooltip text="节点" term_id="node" >}}。
23+
24+
{{% thirdparty-content single="true" %}}
25+
26+
31+
CNCF 及其母公司 Linux 基金会采用供应商中立的方法来实现兼容性。可以将你的
32+
[Windows 服务器](https://www.microsoft.com/en-us/windows-server)作为工作节点加入
33+
Kubernetes 集群。
34+
35+
41+
无论你的集群使用什么操作系统,
42+
都可以[在 Windows 上安装和设置 kubectl](/zh-cn/docs/tasks/tools/install-kubectl-windows/)
43+
44+
如果你使用的是 Windows 节点,你可以阅读:
45+
46+
59+
* [Windows 上的网络](/zh-cn/docs/concepts/services-networking/windows-networking/)
60+
* [Kubernetes 中的 Windows 存储](/zh-cn/docs/concepts/storage/windows-storage/)
61+
* [Windows 节点的资源管理](/zh-cn/docs/concepts/configuration/windows-resource-management/)
62+
* [为 Windows Pod 和容器配置 RunAsUserName](/zh-cn/docs/tasks/configure-pod-container/configure-runasusername/)
63+
* [创建 Windows HostProcess Pod](/zh-cn/docs/tasks/configure-pod-container/create-hostprocess-pod/)
64+
* [为 Windows Pod 和容器配置组托管服务帐户](/zh-cn/docs/tasks/configure-pod-container/configure-gmsa/)
65+
* [Windows 节点的安全性](/zh-cn/docs/concepts/security/windows-security/)
66+
* [Windows 调试技巧](/zh-cn/docs/tasks/debug/debug-cluster/windows/)
67+
* [在 Kubernetes 中调度 Windows 容器指南](/zh-cn/docs/concepts/windows/user-guide)
68+
69+
或者,要了解概览,请阅读:
70+
71+

0 commit comments

Comments
 (0)