Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Make it possible to add tolerations to fluentd-cw #3931

Merged
merged 2 commits into from
Mar 2, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion incubator/fluentd-cloudwatch/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: fluentd-cloudwatch
version: 0.2.1
version: 0.2.2
appVersion: 0.1.1
description: A Fluentd CloudWatch Helm chart for Kubernetes.
icon: https://raw.githubusercontent.com/fluent/fluentd-docs/master/public/logo/Fluentd_square.png
Expand Down
1 change: 1 addition & 0 deletions incubator/fluentd-cloudwatch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ The following tables lists the configurable parameters of the Fluentd Cloudwatch
| `logGroupName` | AWS Cloudwatch log group | `kubernetes` |
| `rbac.create` | If true, create & use RBAC resources | `false` |
| `rbac.serviceAccountName` | existing ServiceAccount to use (ignored if rbac.create=true) | `default` |
| `tolerations` | Add tolerations | `nil` |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Default: []


Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,

Expand Down
4 changes: 4 additions & 0 deletions incubator/fluentd-cloudwatch/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,7 @@ spec:
- name: config-volume
configMap:
name: {{ template "fluentd-cloudwatch.fullname" . }}
{{- if .Values.tolerations }}
tolerations:
{{ toYaml .Values.tolerations | indent 6 }}
{{- end }}
6 changes: 6 additions & 0 deletions incubator/fluentd-cloudwatch/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ resources:

# hostNetwork: false

## Add tolerations if specified
# tolerations:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add an empty list as default:

tolerations: []

# - key: node-role.kubernetes.io/master
# operator: Exists
# effect: NoSchedule

annotations: {}

awsRegion: us-east-1
Expand Down