-
Notifications
You must be signed in to change notification settings - Fork 14.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add default enabled admission control plugins #9784
Add default enabled admission control plugins #9784
Conversation
Deploy preview for kubernetes-io-master-staging ready! Built with commit e858f09 https://deploy-preview-9784--kubernetes-io-master-staging.netlify.com |
``` | ||
NamespaceLifecycle,LimitRanger,ServiceAccount,PersistentVolumeLabel,DefaultStorageClass,DefaultTolerationSeconds,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota | ||
``` | ||
The `Priority` admission plugin is enabled by default when using `--enable-admission-plugins`. If using `--admission-control` to fully specify the set of admission plugins, the `Priority` admission plugin should be added if using the `PodPriority` feature, which is enabled by default in 1.11. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--admission-control is deprecated.
Not sure we want to describe a deprecated flag in document.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@CaoShuFeng Simplified.
8eb380d
to
053eb96
Compare
@charrywanganthony Is everything here listed the default for 1.11? Are we creating a way to maintain these through their lifecycle? |
@zparnold I write a function to to maintain the list in |
053eb96
to
0f34012
Compare
Kubernetes/pr #67011 has been merged. @zparnold WDYT about this pr now? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@charrywanganthony Good start! ✨ Some small changes, otherwise looks good from a docs standpoint.
@@ -81,6 +81,20 @@ The Kubernetes API server flag `disable-admission-plugins` takes a comma-delimit | |||
kube-apiserver --disable-admission-plugins=PodNodeSelector,AlwaysDeny ... | |||
``` | |||
|
|||
## What plugins are enabled by default? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/What/Which
@@ -81,6 +81,20 @@ The Kubernetes API server flag `disable-admission-plugins` takes a comma-delimit | |||
kube-apiserver --disable-admission-plugins=PodNodeSelector,AlwaysDeny ... | |||
``` | |||
|
|||
## What plugins are enabled by default? | |||
|
|||
You can get the enabled admission plugins in result of: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace this line with:
To see which admission plugins are enabled:
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: zacharysarah The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
According to kubernetes/issue #66979
ref: kubernetes/pr #65739
ref: kubernetes/pr #58684