fix: fixed eating initial 2 spaces inside code. (#18914)
This commit is contained in:
@@ -73,6 +73,7 @@ A toleration "matches" a taint if the keys are the same and the effects are the
|
|||||||
`Operator` defaults to `Equal` if not specified.
|
`Operator` defaults to `Equal` if not specified.
|
||||||
|
|
||||||
{{< note >}}
|
{{< note >}}
|
||||||
|
|
||||||
There are two special cases:
|
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
|
||||||
@@ -88,8 +89,9 @@ tolerations:
|
|||||||
```yaml
|
```yaml
|
||||||
tolerations:
|
tolerations:
|
||||||
- key: "key"
|
- key: "key"
|
||||||
operator: "Exists"
|
operator: "Exists"
|
||||||
```
|
```
|
||||||
|
|
||||||
{{< /note >}}
|
{{< /note >}}
|
||||||
|
|
||||||
The above example used `effect` of `NoSchedule`. Alternatively, you can use `effect` of `PreferNoSchedule`.
|
The above example used `effect` of `NoSchedule`. Alternatively, you can use `effect` of `PreferNoSchedule`.
|
||||||
|
|||||||
Reference in New Issue
Block a user