mirror of
https://github.com/truenas/charts.git
synced 2024-04-21 15:21:45 +00:00
toleration docs
This commit is contained in:
@@ -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/)
|
||||
@@ -72,6 +72,9 @@ dnsPolicy: ""
|
||||
# Defines the DNS Config
|
||||
dnsConfig: {}
|
||||
|
||||
# Tolerations
|
||||
tolerations: []
|
||||
|
||||
# Creates a service account
|
||||
serviceAccount:
|
||||
main:
|
||||
@@ -312,8 +315,6 @@ resources:
|
||||
cpu: 10m
|
||||
memory: 50Mi
|
||||
|
||||
tolerations: []
|
||||
|
||||
controller:
|
||||
# -- Enable the controller.
|
||||
enabled: true
|
||||
|
||||
Reference in New Issue
Block a user