Update code to use - in flag names instead of _
This commit is contained in:
parent
56b54ec64f
commit
c89196ac73
|
|
@ -63,8 +63,8 @@ The kube-apiserver takes the following OPTIONAL arguments to enable admission co
|
||||||
|
|
||||||
| Option | Behavior |
|
| Option | Behavior |
|
||||||
| ------ | -------- |
|
| ------ | -------- |
|
||||||
| admission_control | Comma-delimited, ordered list of admission control choices to invoke prior to modifying or deleting an object. |
|
| 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-config-file | File with admission control configuration parameters to boot-strap plug-in. |
|
||||||
|
|
||||||
An **AdmissionControl** plug-in is an implementation of the following interface:
|
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:
|
To enable the plug-in and support for LimitRange, the kube-apiserver must be configured as follows:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ kube-apiserver -admission_control=LimitRanger
|
$ kube-apiserver --admission-control=LimitRanger
|
||||||
```
|
```
|
||||||
|
|
||||||
### Enforcement of constraints
|
### 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:
|
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
|
It makes decisions by evaluating the incoming object against all defined **ResourceQuota.Status.Hard** resource limits in the request
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue