mirror of
https://github.com/arangodb/kube-arangodb.git
synced 2024-12-14 11:57:37 +00:00
[Feature] Parameterize K8s Deployment's Tolerations in helm chart (#878)
This commit is contained in:
parent
03a04eaa44
commit
fde95ac933
3 changed files with 32 additions and 0 deletions
|
@ -113,6 +113,32 @@ NodeSelector for Deployment pods.
|
|||
|
||||
Default: `{}`
|
||||
|
||||
### `operator.tolerations`
|
||||
|
||||
Tolerations for Deployment pods.
|
||||
|
||||
There is built in configuration (can not be changed):
|
||||
```yaml
|
||||
tolerations:
|
||||
- key: "node.kubernetes.io/unreachable"
|
||||
operator: "Exists"
|
||||
effect: "NoExecute"
|
||||
tolerationSeconds: 5
|
||||
- key: "node.kubernetes.io/not-ready"
|
||||
operator: "Exists"
|
||||
effect: "NoExecute"
|
||||
tolerationSeconds: 5
|
||||
```
|
||||
|
||||
which can be extended by additional entries e.g.:
|
||||
```yaml
|
||||
tolerations:
|
||||
- key: devops
|
||||
operator: Exists
|
||||
effect: NoSchedule
|
||||
```
|
||||
Default (empty): `[]`
|
||||
|
||||
### `operator.replicaCount`
|
||||
|
||||
Replication count for Operator deployment.
|
||||
|
|
|
@ -181,3 +181,6 @@ spec:
|
|||
operator: "Exists"
|
||||
effect: "NoExecute"
|
||||
tolerationSeconds: 5
|
||||
{{- if .Values.operator.tolerations }}
|
||||
{{ toYaml .Values.operator.tolerations | indent 16 }}
|
||||
{{- end }}
|
||||
|
|
|
@ -45,5 +45,8 @@ operator:
|
|||
base: alpine:3.11
|
||||
metricsExporter: arangodb/arangodb-exporter:0.1.7
|
||||
arango: arangodb/arangodb:latest
|
||||
|
||||
tolerations: []
|
||||
|
||||
rbac:
|
||||
enabled: true
|
Loading…
Reference in a new issue