feat: add tolerations for container scheduling
- Include tolerations in load.yaml for scheduling - Allow pods to tolerate specific constraints and improve scheduling This change enables the containers to schedule on nodes with restricted taints, enhancing deployment strategies in constrained Kubernetes environments.
This commit is contained in:
parent
6137c63185
commit
db69791a4d
@ -29,6 +29,11 @@ spec:
|
||||
# values:
|
||||
# - tencent-gz1
|
||||
# - tencent-sh1
|
||||
tolerations:
|
||||
- key: "scheduling"
|
||||
operator: "Equal"
|
||||
value: "restricted"
|
||||
effect: "NoSchedule"
|
||||
containers:
|
||||
- name: alist
|
||||
image: xhofe/alist:v3.42.0
|
||||
|
Loading…
Reference in New Issue
Block a user