Skip to content

Commit dc714f7

Browse files
chetak123reylejano
andauthored
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 <[email protected]> * changed pod to namespace * added pods in Co-authored-by: Rey Lejano <[email protected]>
1 parent bf40874 commit dc714f7

File tree

1 file changed

+8
-0
lines changed
  • content/en/docs/reference/labels-annotations-taints

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,14 @@ sets this label on that Pod. The value of the label is the name of the Pod being
306306
See [Pod Name Label](/docs/concepts/workloads/controllers/statefulset/#pod-name-label) in the
307307
StatefulSet topic for more details.
308308

309+
### scheduler.alpha.kubernetes.io/node-selector {#schedulerkubernetesnode-selector}
310+
311+
Example: `scheduler.alpha.kubernetes.io/node-selector: "name-of-node-selector"`
312+
313+
Used on: Namespace
314+
315+
The [PodNodeSelector](/docs/reference/access-authn-authz/admission-controllers/#podnodeselector) uses this annotation key to assign node selectors to pods in namespaces.
316+
309317
### topology.kubernetes.io/region {#topologykubernetesioregion}
310318

311319
Example:

0 commit comments

Comments
 (0)