website/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/server-side-field-validatio...

28 lines
759 B
Markdown

---
title: ServerSideFieldValidation
content_type: feature_gate
_build:
list: never
render: false
stages:
- stage: alpha
defaultValue: false
fromVersion: "1.23"
toVersion: "1.24"
- stage: beta
defaultValue: true
fromVersion: "1.25"
toVersion: "1.26"
- stage: stable
defaultValue: true
fromVersion: "1.27"
---
<!--
Enables server-side field validation. This means the validation
of resource schema is performed at the API server side rather than the client side
(for example, the `kubectl create` or `kubectl apply` command line).
-->
启用服务器端字段验证。这意味着资源模式的验证发生在 API 服务器端而不是客户端
(例如,`kubectl create` 或 `kubectl apply` 命令行)。