Merge pull request #2383 from Huang-Wei/revise-schedule-DS-pod-by-scheduler
fix a mis-placed section in schedule-DS-pod-by-scheduler.md
This commit is contained in:
commit
1171a23ab2
|
|
@ -45,11 +45,6 @@ This option is to leverage NodeAffinity feature to avoid introducing scheduler
|
|||
|
||||
1. DS controller filter nodes by nodeSelector, but does NOT check against scheduler’s predicates (e.g. PodFitHostResources)
|
||||
2. For each node, DS controller creates a Pod for it with the following NodeAffinity
|
||||
3. When sync Pods, DS controller will map nodes and pods by this NodeAffinity to check whether Pods are started for nodes
|
||||
4. In scheduler, DaemonSet Pods will stay pending if scheduling predicates fail. To avoid this, an appropriate priority must
|
||||
be set to all critical DaemonSet Pods. Scheduler will preempt other pods to ensure critical pods were scheduled even when
|
||||
the cluster is under resource pressure.
|
||||
|
||||
```yaml
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
|
|
@ -60,6 +55,10 @@ nodeAffinity:
|
|||
values:
|
||||
- dest_hostname
|
||||
```
|
||||
3. When sync Pods, DS controller will map nodes and pods by this NodeAffinity to check whether Pods are started for nodes
|
||||
4. In scheduler, DaemonSet Pods will stay pending if scheduling predicates fail. To avoid this, an appropriate priority must
|
||||
be set to all critical DaemonSet Pods. Scheduler will preempt other pods to ensure critical pods were scheduled even when
|
||||
the cluster is under resource pressure.
|
||||
|
||||
## Reference
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue