Correct internal behavior list in admission-controllers doc (#9409)
* correct internal behavior list in admission-controllers doc * remove leading indentation in ordered list
This commit is contained in:
@@ -465,12 +465,13 @@ metadata:
|
|||||||
|
|
||||||
#### Internal Behavior
|
#### Internal Behavior
|
||||||
This admission controller has the following behavior:
|
This admission controller has the following behavior:
|
||||||
|
|
||||||
1. If the `Namespace` has an annotation with a key `scheduler.alpha.kubernetes.io/node-selector`, use its value as the
|
1. If the `Namespace` has an annotation with a key `scheduler.alpha.kubernetes.io/node-selector`, use its value as the
|
||||||
node selector.
|
node selector.
|
||||||
1. If the namespace lacks such an annotation, use the `clusterDefaultNodeSelector` defined in the `PodNodeSelector`
|
2. If the namespace lacks such an annotation, use the `clusterDefaultNodeSelector` defined in the `PodNodeSelector`
|
||||||
plugin configuration file as the node selector.
|
plugin configuration file as the node selector.
|
||||||
1. Evaluate the pod's node selector against the namespace node selector for conflicts. Conflicts result in rejection.
|
3. Evaluate the pod's node selector against the namespace node selector for conflicts. Conflicts result in rejection.
|
||||||
1. Evaluate the pod's node selector against the namespace-specific whitelist defined the plugin configuration file.
|
4. Evaluate the pod's node selector against the namespace-specific whitelist defined the plugin configuration file.
|
||||||
Conflicts result in rejection.
|
Conflicts result in rejection.
|
||||||
|
|
||||||
{{< note >}}
|
{{< note >}}
|
||||||
|
|||||||
Reference in New Issue
Block a user