add NodeRestriction to admission-controllers (#3842)

This commit is contained in:
Charlie R.C
2017-05-31 06:56:27 +08:00
committed by Andrew Chen
parent b56358283a
commit 827d53e363
+5
View File
@@ -268,6 +268,11 @@ extensions group (`--runtime-config=extensions/v1beta1/podsecuritypolicy=true`).
See also [Pod Security Policy documentation](/docs/concepts/policy/pod-security-policy/)
for more information.
### NodeRestriction
This plug-in limits the `Node` and `Pod` objects a kubelet can modify. In order to be limited by this admission plugin, kubelets must use credentials in the `system:nodes` group, with a username in the form `system:node:<nodeName>`.
Such kubelets will only be allowed to modify their own `Node` API object, and only modify `Pod` API objects that are bound to their node.
## Is there a recommended set of plug-ins to use?
Yes.