Skip to content

Commit 49e1c4b

Browse files
Create affinity.md
1 parent 5a5c96b commit 49e1c4b

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: affinity
3+
id: affinity
4+
date: 2019-01-11
5+
full_link: /docs/tasks/configure-pod-container/assign-pods-nodes-using-node-affinity/
6+
short_description: >
7+
Node affinity is a set of rules used by the scheduler to determine where a pod can be placed.
8+
aka:
9+
tags:
10+
- core object
11+
- fundamental
12+
---
13+
Node affinity is a set of rules used by the scheduler to determine where a pod can be placed.
14+
15+
<!--more-->
16+
17+
The rules are defined using the familiar concepts of custom labels on {{< glossary_tooltip term_id="node" text="nodes">}}
18+
and {{< glossary_tooltip term_id="selector" text="selectors">}} specified in {{< glossary_tooltip term_id="pod" text="pods" >}},
19+
and they can be either required or preferred, depending on how strictly you want the scheduler to enforce them.

0 commit comments

Comments
 (0)