From abd22fef61dc41bbeb0c4a0b73a0bd479f243f87 Mon Sep 17 00:00:00 2001 From: Brian de Alwis Date: Tue, 26 May 2020 15:24:58 -0400 Subject: [PATCH] Reword toleration special-cases note Remove the example code as it does not render correctly. --- .../scheduling-eviction/taint-and-toleration.md | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/content/en/docs/concepts/scheduling-eviction/taint-and-toleration.md b/content/en/docs/concepts/scheduling-eviction/taint-and-toleration.md index 0812b2ce05..c803676d3a 100644 --- a/content/en/docs/concepts/scheduling-eviction/taint-and-toleration.md +++ b/content/en/docs/concepts/scheduling-eviction/taint-and-toleration.md @@ -77,21 +77,10 @@ A toleration "matches" a taint if the keys are the same and the effects are the There are two special cases: -* An empty `key` with operator `Exists` matches all keys, values and effects which means this +An empty `key` with operator `Exists` matches all keys, values and effects which means this will tolerate everything. -```yaml -tolerations: -- operator: "Exists" -``` - -* An empty `effect` matches all effects with key `key`. - -```yaml -tolerations: -- key: "key" - operator: "Exists" -``` +An empty `effect` matches all effects with key `key`. {{< /note >}}