1
0
Fork 0
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:
jwierzbo 2022-01-10 10:04:54 +01:00 committed by GitHub
parent 03a04eaa44
commit fde95ac933
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 32 additions and 0 deletions

View file

@ -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.

View file

@ -181,3 +181,6 @@ spec:
operator: "Exists"
effect: "NoExecute"
tolerationSeconds: 5
{{- if .Values.operator.tolerations }}
{{ toYaml .Values.operator.tolerations | indent 16 }}
{{- end }}

View file

@ -45,5 +45,8 @@ operator:
base: alpine:3.11
metricsExporter: arangodb/arangodb-exporter:0.1.7
arango: arangodb/arangodb:latest
tolerations: []
rbac:
enabled: true