File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
content/vi/docs/reference/glossary Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ title : Affinity
3
+ id : affinity
4
+ date : 2019-01-11
5
+ full_link : /docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity
6
+ short_description : >
7
+ Các quy tắc được scheduler sử dụng để xác định vị trí phân phối pod
8
+ aka :
9
+ tags :
10
+ - fundamental
11
+ ---
12
+
13
+ Trong Kubernetes, _ affinity_ là một tập hợp các quy tắc cung cấp gợi ý cho scheduler về vị trí phân phối pod.
14
+
15
+ <!-- more-->
16
+ Có hai loại affinity:
17
+ * [ node affinity] ( /docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity )
18
+ * [ pod-to-pod affinity] ( /docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity )
19
+
20
+ Các quy tắc được định nghĩa bằng cách sử dụng {{< glossary_tooltip term_id="label" text="labels">}} của Kubernetes,
21
+ và {{< glossary_tooltip term_id="selector" text="selectors">}} được chỉ định trong {{< glossary_tooltip term_id="pod" text="pods" >}},
22
+ và chúng có thể là bắt buộc hoặc khuyến nghị, tùy thuộc vào mức độ nghiêm ngặt bạn muốn scheduler thực thi chúng.
You can’t perform that action at this time.
0 commit comments