PodPreset: Add minikube specific instructions (#12129)
Signed-off-by: Suraj Deshmukh <surajd.service@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
e05a3c7e32
commit
ea471fc63f
@@ -68,10 +68,14 @@ In order to use Pod Presets in your cluster you must ensure the following:
|
|||||||
|
|
||||||
1. You have enabled the API type `settings.k8s.io/v1alpha1/podpreset`. For
|
1. You have enabled the API type `settings.k8s.io/v1alpha1/podpreset`. For
|
||||||
example, this can be done by including `settings.k8s.io/v1alpha1=true` in
|
example, this can be done by including `settings.k8s.io/v1alpha1=true` in
|
||||||
the `--runtime-config` option for the API server.
|
the `--runtime-config` option for the API server. In minikube add this flag
|
||||||
|
`--extra-config=apiserver.runtime-config=settings.k8s.io/v1alpha1=true` while
|
||||||
|
starting the cluster.
|
||||||
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.
|
for the API server. In minikube add this flag
|
||||||
|
`--extra-config=apiserver.enable-admission-plugins=Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota,PodPreset`
|
||||||
|
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.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user