Improved PodPreset documentation (#15409)

* Adding scroller to the command

* Updated

* Updated
This commit is contained in:
Manish Bansal 2019-07-21 14:22:52 +05:30 committed by Kubernetes Prow Robot
parent b7b8ce0b25
commit 8a09d414e8
1 changed files with 5 additions and 1 deletions

View File

@ -74,7 +74,11 @@ In order to use Pod Presets in your cluster you must ensure the following:
1. You have enabled the admission controller `PodPreset`. One way to doing this 1. You have enabled the admission controller `PodPreset`. One way to doing this
is to include `PodPreset` in the `--enable-admission-plugins` option value specified is to include `PodPreset` in the `--enable-admission-plugins` option value specified
for the API server. In minikube add this flag for the API server. In minikube add this flag
`--extra-config=apiserver.enable-admission-plugins=NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota,PodPreset`
```shell
--extra-config=apiserver.enable-admission-plugins=NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota,PodPreset
```
while starting the cluster. while starting the cluster.
1. You have defined your Pod Presets by creating `PodPreset` objects in the 1. You have defined your Pod Presets by creating `PodPreset` objects in the
namespace you will use. namespace you will use.