Skip to content

Commit

Permalink
Added scheduler.alpha.kubernetes.io/node-selector annotation (#34477)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
chetak123 and reylejano committed Nov 9, 2022
1 parent bf40874 commit dc714f7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions content/en/docs/reference/labels-annotations-taints/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit dc714f7

Please sign in to comment.