toleration docs

This commit is contained in:
Stavros kois
2023-01-23 17:15:04 +02:00
parent 066938f677
commit a0b8ac34c5
2 changed files with 46 additions and 2 deletions

View File

@@ -0,0 +1,43 @@
# Toleration
## Key: tolerations
Info:
- Type: `list`
- Default: `[]`
- Helm Template:
- tolerations.operator: ✅
- tolerations.key: ✅
- tolerations.effect: ✅
- tolerations.value: ✅
- tolerations.tolerationSeconds: ❌
Can be defined in:
- `.Values`.tolerations
- `.Values.jobs.[job-name].podSpec`.tolerations
---
Defines `tolerations` in Pod.
Allows pod to tolerate taints of a Node.
Examples:
```yaml
tolerations:
- operator: Equal # "{{ .Values.some.path }}"
# Required when operator is set to "Equal", otherwise Optional
key: some-key # "{{ .Values.some.path }}"
# Optional
effect: NoExecute # "{{ .Values.some.path }}"
# Dis-allowed when operator is set to "Exists", otherwise optional
value: some-value
# Optional
tolerationSeconds: 10
```
Kubernetes Documentation:
- [Tolerations](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/)