[zh] fix using-api/_index.md
Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>
This commit is contained in:
parent
196145b4c6
commit
ddcdd0687e
|
|
@ -1,6 +1,10 @@
|
||||||
---
|
---
|
||||||
title: 使用 Kubernetes API
|
title: API 概述
|
||||||
weight: 10
|
weight: 10
|
||||||
|
no_list: true
|
||||||
|
card:
|
||||||
|
name: reference
|
||||||
|
weight: 50
|
||||||
---
|
---
|
||||||
|
|
||||||
<!-- overview -->
|
<!-- overview -->
|
||||||
|
|
@ -68,7 +72,7 @@ can find more information about the criteria for each level in the
|
||||||
[API Changes documentation](https://git.k8s.io/community/contributors/devel/sig-architecture/api_changes.md#alpha-beta-and-stable-versions).
|
[API Changes documentation](https://git.k8s.io/community/contributors/devel/sig-architecture/api_changes.md#alpha-beta-and-stable-versions).
|
||||||
-->
|
-->
|
||||||
不同的 API 版本代表着不同的稳定性和支持级别。
|
不同的 API 版本代表着不同的稳定性和支持级别。
|
||||||
你可以在 [API 变更文档]https://git.k8s.io/community/contributors/devel/sig-architecture/api_changes.md#alpha-beta-and-stable-versions)
|
你可以在 [API 变更文档](https://git.k8s.io/community/contributors/devel/sig-architecture/api_changes.md#alpha-beta-and-stable-versions)
|
||||||
中查看到更多的不同级别的判定标准。
|
中查看到更多的不同级别的判定标准。
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
|
@ -188,7 +192,7 @@ part is omitted, it is treated as if `=true` is specified. For example:
|
||||||
- to disable `batch/v1`, set `--runtime-config=batch/v1=false`
|
- to disable `batch/v1`, set `--runtime-config=batch/v1=false`
|
||||||
- to enable `batch/v2alpha1`, set `--runtime-config=batch/v2alpha1`
|
- to enable `batch/v2alpha1`, set `--runtime-config=batch/v2alpha1`
|
||||||
-->
|
-->
|
||||||
## 启用或禁用 API 组 {#enabling-or-disabling}
|
## 启用或禁用 API 组 {#enabling-or-disabling}
|
||||||
资源和 API 组是在默认情况下被启用的。
|
资源和 API 组是在默认情况下被启用的。
|
||||||
你可以通过在 API 服务器上设置 `--runtime-config` 参数来启用或禁用它们。
|
你可以通过在 API 服务器上设置 `--runtime-config` 参数来启用或禁用它们。
|
||||||
`--runtime-config` 参数接受逗号分隔的 `<key>[=<value>]` 对,
|
`--runtime-config` 参数接受逗号分隔的 `<key>[=<value>]` 对,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue