mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-17 07:03:31 +00:00
Update code to use - in flag names instead of _
This commit is contained in:
@@ -63,8 +63,8 @@ The kube-apiserver takes the following OPTIONAL arguments to enable admission co
|
||||
|
||||
| Option | Behavior |
|
||||
| ------ | -------- |
|
||||
| admission_control | Comma-delimited, ordered list of admission control choices to invoke prior to modifying or deleting an object. |
|
||||
| admission_control_config_file | File with admission control configuration parameters to boot-strap plug-in. |
|
||||
| admission-control | Comma-delimited, ordered list of admission control choices to invoke prior to modifying or deleting an object. |
|
||||
| admission-control-config-file | File with admission control configuration parameters to boot-strap plug-in. |
|
||||
|
||||
An **AdmissionControl** plug-in is an implementation of the following interface:
|
||||
|
||||
|
@@ -137,7 +137,7 @@ If a constraint is not specified for an enumerated resource, it is not enforced
|
||||
To enable the plug-in and support for LimitRange, the kube-apiserver must be configured as follows:
|
||||
|
||||
```console
|
||||
$ kube-apiserver -admission_control=LimitRanger
|
||||
$ kube-apiserver --admission-control=LimitRanger
|
||||
```
|
||||
|
||||
### Enforcement of constraints
|
||||
|
@@ -178,7 +178,7 @@ The **ResourceQuota** plug-in introspects all incoming admission requests.
|
||||
To enable the plug-in and support for ResourceQuota, the kube-apiserver must be configured as follows:
|
||||
|
||||
```
|
||||
$ kube-apiserver -admission_control=ResourceQuota
|
||||
$ kube-apiserver --admission-control=ResourceQuota
|
||||
```
|
||||
|
||||
It makes decisions by evaluating the incoming object against all defined **ResourceQuota.Status.Hard** resource limits in the request
|
||||
|
Reference in New Issue
Block a user