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:
songtianlun 2025-04-19 19:31:10 +08:00
parent 6137c63185
commit db69791a4d

View File

@ -29,6 +29,11 @@ spec:
# values: # values:
# - tencent-gz1 # - tencent-gz1
# - tencent-sh1 # - tencent-sh1
tolerations:
- key: "scheduling"
operator: "Equal"
value: "restricted"
effect: "NoSchedule"
containers: containers:
- name: alist - name: alist
image: xhofe/alist:v3.42.0 image: xhofe/alist:v3.42.0