Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions chart/kube-arangodb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 3 additions & 0 deletions chart/kube-arangodb/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -181,3 +181,6 @@ spec:
operator: "Exists"
effect: "NoExecute"
tolerationSeconds: 5
{{- if .Values.operator.tolerations }}
{{ toYaml .Values.operator.tolerations | indent 16 }}
{{- end }}
3 changes: 3 additions & 0 deletions chart/kube-arangodb/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,8 @@ operator:
base: alpine:3.11
metricsExporter: arangodb/arangodb-exporter:0.1.7
arango: arangodb/arangodb:latest

tolerations: []

rbac:
enabled: true