From db69791a4df16240a2cd614177018c92fe6c431a Mon Sep 17 00:00:00 2001 From: songtianlun Date: Sat, 19 Apr 2025 19:31:10 +0800 Subject: [PATCH] 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. --- alist/load.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/alist/load.yaml b/alist/load.yaml index 6b08508..597f825 100644 --- a/alist/load.yaml +++ b/alist/load.yaml @@ -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