From 829a0d4ab4e0ef7a4925ea380b756dd34e960860 Mon Sep 17 00:00:00 2001 From: Ti Chi Robot Date: Mon, 3 Jul 2023 10:40:14 +0800 Subject: [PATCH] Add TI tolerations example (#5120) Co-authored-by: csuzhangxc --- examples/initialize/tidb-initializer.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/examples/initialize/tidb-initializer.yaml b/examples/initialize/tidb-initializer.yaml index 9067aff97b..5bec7417ce 100644 --- a/examples/initialize/tidb-initializer.yaml +++ b/examples/initialize/tidb-initializer.yaml @@ -19,3 +19,10 @@ spec: # cpu: 100m # memory: 50Mi # timezone: "Asia/Shanghai" + ## Tolerations are applied to TiDB Initializer Pod, allowing (but do not require) the pod to be scheduled onto nodes with matching taints. + ## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ + # tolerations: + # - effect: NoSchedule + # key: dedicated + # operator: Equal + # value: tidb