Skip to content

Commit

Permalink
recommended admission controllers are enabled by default (#14784)
Browse files Browse the repository at this point in the history
Since the recommended ones are already enabled by default, they do not need to be explicitly specified with `--enable-admission-plugins`
  • Loading branch information
rptaylor authored and k8s-ci-robot committed Jun 10, 2019
1 parent 7e63eb4 commit 6a77a5a
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -624,16 +624,12 @@ versions 1.9 and later).

Yes.

For Kubernetes version 1.10 and later, we recommend running the following set of admission controllers using the `--enable-admission-plugins` flag (**order doesn't matter**).
For Kubernetes version 1.10 and later, the recommended admission controllers are enabled by default, so you do not need to explicitly specify them. You can enable additional admission controllers beyond the default set using the `--enable-admission-plugins` flag (**order doesn't matter**).

{{< note >}}
`--admission-control` was deprecated in 1.10 and replaced with `--enable-admission-plugins`.
{{< /note >}}

```shell
--enable-admission-plugins=NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,Priority,ResourceQuota
```

For Kubernetes 1.9 and earlier, we recommend running the following set of admission controllers using the `--admission-control` flag (**order matters**).

* v1.9
Expand Down

0 comments on commit 6a77a5a

Please sign in to comment.