Merge pull request #34025 from HirazawaUi/main
[zh] Fix sync and style errors content/zh/docs/reference/access-authn-authz/admission-controllers.md
This commit is contained in:
@@ -426,8 +426,6 @@ event requests. The cluster admin can specify event rate limits by:
|
|||||||
* 从文件中引用 `EventRateLimit` 配置文件,并提供给 API 服务器命令的
|
* 从文件中引用 `EventRateLimit` 配置文件,并提供给 API 服务器命令的
|
||||||
`--admission-control-config-file` 标志:
|
`--admission-control-config-file` 标志:
|
||||||
|
|
||||||
{{< tabs name="eventratelimit_example" >}}
|
|
||||||
{{% tab name="apiserver.config.k8s.io/v1" %}}
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: apiserver.config.k8s.io/v1
|
apiVersion: apiserver.config.k8s.io/v1
|
||||||
kind: AdmissionConfiguration
|
kind: AdmissionConfiguration
|
||||||
@@ -437,16 +435,6 @@ plugins:
|
|||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
```yaml
|
|
||||||
# Deprecated in v1.17 in favor of apiserver.config.k8s.io/v1
|
|
||||||
apiVersion: apiserver.k8s.io/v1alpha1
|
|
||||||
kind: AdmissionConfiguration
|
|
||||||
plugins:
|
|
||||||
- name: EventRateLimit
|
|
||||||
path: eventconfig.yaml
|
|
||||||
...
|
|
||||||
```
|
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
There are four types of limits that can be specified in the configuration:
|
There are four types of limits that can be specified in the configuration:
|
||||||
-->
|
-->
|
||||||
|
|||||||
Reference in New Issue
Block a user