You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/zh-cn/docs/reference/using-api/cel.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,6 +93,8 @@ CEL 表达式示例:
93
93
| `self.metadata.name == 'singleton'` | Validate that an object's name matches a specific value (making it a singleton) |
94
94
| `self.set1.all(e, !(e in self.set2))` | Validate that two listSets are disjoint |
95
95
| `self.names.size() == self.details.size() && self.names.all(n, n in self.details)` | Validate the 'details' map is keyed by the items in the 'names' listSet |
96
+
| `self.details.all(key, key.matches('^[a-zA-Z]*$')` | Validate the keys of the 'details' map |
97
+
| `self.details.all(key, self.details[key].matches('^[a-zA-Z]*$')` | Validate the values of the 'details' map |
The **v1.29** release will stop serving the following deprecated API versions:
69
+
The **v1.29** release stopped serving the following deprecated API versions:
70
70
-->
71
-
**v1.29**发行版本将停止提供以下已弃用的 API 版本:
71
+
**v1.29**发行版本停止支持以下已弃用的 API 版本:
72
72
73
73
<!--
74
74
#### Flow control resources {#flowcontrol-resources-v129}
75
75
-->
76
76
#### 流控制资源 {#flowcontrol-resources-v129}
77
77
78
78
<!--
79
-
The **flowcontrol.apiserver.k8s.io/v1beta2** API version of FlowSchema and PriorityLevelConfiguration will no longer be served in v1.29.
79
+
The **flowcontrol.apiserver.k8s.io/v1beta2** API version of FlowSchema and PriorityLevelConfiguration is no longer be served in v1.29.
80
80
81
81
* Migrate manifests and API clients to use the **flowcontrol.apiserver.k8s.io/v1** API version, available since v1.29, or the **flowcontrol.apiserver.k8s.io/v1beta3** API version, available since v1.26.
82
82
* All existing persisted objects are accessible via the new API
@@ -87,8 +87,8 @@ The **flowcontrol.apiserver.k8s.io/v1beta2** API version of FlowSchema and Prior
87
87
* Notable changes in **flowcontrol.apiserver.k8s.io/v1beta3**:
88
88
* The PriorityLevelConfiguration `spec.limited.assuredConcurrencyShares` field is renamed to `spec.limited.nominalConcurrencyShares`
89
89
-->
90
-
**flowcontrol.apiserver.k8s.io/v1beta2** API 版本的 FlowSchema
91
-
和 PriorityLevelConfiguration 将不会在 v1.29 中提供。
90
+
从 v1.29 版本开始不再提供 **flowcontrol.apiserver.k8s.io/v1beta2** API 版本的
91
+
FlowSchema 和 PriorityLevelConfiguration。
92
92
93
93
* 迁移清单和 API 客户端使用 **flowcontrol.apiserver.k8s.io/v1** API 版本(自 v1.29 版本开始可用),
94
94
或 **flowcontrol.apiserver.k8s.io/v1beta3** API 版本(自 v1.26 起可用);
@@ -111,13 +111,13 @@ The **v1.27** release stopped serving the following deprecated API versions:
The **storage.k8s.io/v1beta1** API version of CSIStorageCapacity will no longer be served in v1.27.
114
+
The **storage.k8s.io/v1beta1** API version of CSIStorageCapacity is no longer be served in v1.27.
115
115
116
116
* Migrate manifests and API clients to use the **storage.k8s.io/v1** API version, available since v1.24.
117
117
* All existing persisted objects are accessible via the new API
118
118
* No notable changes
119
119
-->
120
-
**storage.k8s.io/v1beta1** API 版本的 CSIStorageCapacity 将不会在 v1.27 提供。
120
+
从 v1.27 版本开始不再提供 **storage.k8s.io/v1beta1** API 版本的 CSIStorageCapacity。
121
121
122
122
* 自 v1.24 版本起,迁移清单和 API 客户端使用 **storage.k8s.io/v1** API 版本
123
123
* 所有现有的持久化对象都可以通过新的 API 访问
@@ -138,15 +138,14 @@ The **v1.26** release stopped serving the following deprecated API versions:
138
138
<!--
139
139
The **flowcontrol.apiserver.k8s.io/v1beta1** API version of FlowSchema and PriorityLevelConfiguration is no longer served as of v1.26.
140
140
141
-
* Migrate manifests and API clients to use the **flowcontrol.apiserver.k8s.io/v1beta3** API version, available since v1.26.
141
+
* Migrate manifests and API clients to use the **flowcontrol.apiserver.k8s.io/v1beta2** API version.
142
142
* All existing persisted objects are accessible via the new API
143
143
* No notable changes
144
144
-->
145
145
从 v1.26 版本开始不再提供 **flowcontrol.apiserver.k8s.io/v1beta1** API 版本的
146
146
FlowSchema 和 PriorityLevelConfiguration。
147
147
148
-
* 迁移清单和 API 客户端使用 **flowcontrol.apiserver.k8s.io/v1beta3** API 版本,
149
-
此 API 从 v1.26 版本开始可用;
148
+
* 迁移清单和 API 客户端使用 **flowcontrol.apiserver.k8s.io/v1beta2** API 版本;
150
149
* 所有的已保存的对象都可以通过新的 API 来访问;
151
150
* 没有需要额外注意的变更。
152
151
@@ -157,13 +156,18 @@ The **autoscaling/v2beta2** API version of HorizontalPodAutoscaler is no longer
157
156
158
157
* Migrate manifests and API clients to use the **autoscaling/v2** API version, available since v1.23.
159
158
* All existing persisted objects are accessible via the new API
159
+
* Notable changes:
160
+
* `targetAverageUtilization` is replaced with `target.averageUtilization` and `target.type: Utilization`. See [Autoscaling on multiple metrics and custom metrics](/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-multiple-metrics-and-custom-metrics).
@@ -263,12 +267,17 @@ The **autoscaling/v2beta1** API version of HorizontalPodAutoscaler is no longer
263
267
264
268
* Migrate manifests and API clients to use the **autoscaling/v2** API version, available since v1.23.
265
269
* All existing persisted objects are accessible via the new API
270
+
* Notable changes:
271
+
* `targetAverageUtilization` is replaced with `target.averageUtilization` and `target.type: Utilization`. See [Autoscaling on multiple metrics and custom metrics](/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-multiple-metrics-and-custom-metrics).
266
272
-->
267
273
从 v1.25 版本开始不再提供 **autoscaling/v2beta1** API 版本的
268
274
HorizontalPodAutoscaler。
269
275
270
276
* 迁移清单和 API 客户端使用 **autoscaling/v2** API 版本,此 API 从 v1.23 版本开始可用;
Copy file name to clipboardExpand all lines: content/zh-cn/docs/reference/using-api/health-checks.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -131,12 +131,13 @@ healthz check passed
131
131
132
132
<!--
133
133
Each individual health check exposes an HTTP endpoint and can be checked individually.
134
-
The schema for the individual health checks is `/livez/<healthcheck-name>` where `livez` and `readyz` and be used to indicate if you want to check the liveness or the readiness of the API server.
134
+
The schema for the individual health checks is `/livez/<healthcheck-name>` or `/readyz/<healthcheck-name>`, where `livez` and `readyz` can be used to indicate if you want to check the liveness or the readiness of the API server, respectively.
135
135
The `<healthcheck-name>` path can be discovered using the `verbose` flag from above and take the path between `[+]` and `ok`.
136
136
These individual health checks should not be consumed by machines but can be helpful for a human operator to debug a system:
137
137
-->
138
138
每个单独的健康检查都会公开一个 HTTP 端点,并且可以单独检查。
139
-
单个运行状况检查的模式为 `/livez/<healthcheck-name>`,其中 `livez` 和 `readyz` 表明你要检查的是 API 服务器是否存活或就绪。
0 commit comments