Skip to content
Permalink
Browse files

PodPreset: Add minikube specific instructions (#12129)

Signed-off-by: Suraj Deshmukh <surajd.service@gmail.com>
  • Loading branch information...
surajssd authored and k8s-ci-robot committed Jan 28, 2019
1 parent e05a3c7 commit ea471fc63f33bf803cad4c378ee4b9e5d3b2adba
Showing with 6 additions and 2 deletions.
  1. +6 −2 content/en/docs/concepts/workloads/pods/podpreset.md
@@ -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
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
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
namespace you will use.

0 comments on commit ea471fc

Please sign in to comment.
You can’t perform that action at this time.