Added scheduler.alpha.kubernetes.io/node-selector annotation (#34477)

* Added scheduler.alpha.kubernetes.io/node-selector annotation

* Update content/en/docs/reference/labels-annotations-taints/_index.md

Co-authored-by: Rey Lejano <rlejano@gmail.com>

* changed pod to namespace

* added pods in

Co-authored-by: Rey Lejano <rlejano@gmail.com>
pull/37819/head
Ayushman 2022-11-10 03:12:54 +05:30 committed by GitHub
parent bf40874f21
commit dc714f7fb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -306,6 +306,14 @@ sets this label on that Pod. The value of the label is the name of the Pod being
See [Pod Name Label](/docs/concepts/workloads/controllers/statefulset/#pod-name-label) in the
StatefulSet topic for more details.
### scheduler.alpha.kubernetes.io/node-selector {#schedulerkubernetesnode-selector}
Example: `scheduler.alpha.kubernetes.io/node-selector: "name-of-node-selector"`
Used on: Namespace
The [PodNodeSelector](/docs/reference/access-authn-authz/admission-controllers/#podnodeselector) uses this annotation key to assign node selectors to pods in namespaces.
### topology.kubernetes.io/region {#topologykubernetesioregion}
Example: