mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Add support to configure affinity and nodeSelector. Signed-off-by… (#13129)
* Add support to configure `affinity` and `nodeSelector`. Signed-off-by: Frank Reno <frank.reno@me.com> Signed-off-by: Frank Reno <frank.reno@me.com> * update version. Signed-off-by: Frank Reno <frank.reno@me.com> * fix alignment Signed-off-by: Frank Reno <frank.reno@me.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
d235ac1ac7
commit
c6c091af43
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: sumologic-fluentd
|
||||
version: 1.0.0
|
||||
version: 1.1.0
|
||||
appVersion: 2.3.0
|
||||
description: Sumologic Log Collector
|
||||
keywords:
|
||||
|
||||
@@ -61,6 +61,8 @@ The following table lists the configurable parameters of the sumologic-fluentd c
|
||||
|-----------|-------------|---------|
|
||||
| `podAnnotations` | Annotations to add to the DaemonSet's Pods | `{}` |
|
||||
| `tolerations` | List of node taints to tolerate (requires Kubernetes >= 1.6) | `[]` |
|
||||
| `nodeSelector` | Node labels for fluentd pod assignment | `{}` |
|
||||
| `affinity` | Expressions for affinity | `{}` |
|
||||
| `extraEnv` | List of additional env vars to append to pods | `[]` |
|
||||
| `updateStrategy` | `OnDelete` or `RollingUpdate` (requires Kubernetes >= 1.6) | `OnDelete` |
|
||||
| `sumologic.collectorUrl` | An HTTP collector in SumoLogic that the container can send logs to via HTTP | `Nil` You must provide your own value |
|
||||
|
||||
@@ -229,7 +229,15 @@ spec:
|
||||
{{- end }}
|
||||
{{- if .Values.tolerations }}
|
||||
tolerations:
|
||||
{{ toYaml .Values.tolerations | indent 8 }}
|
||||
{{ toYaml .Values.tolerations | indent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{ toYaml .Values.nodeSelector | indent 8 }}
|
||||
{{- end }}
|
||||
{{ if .Values.affinity }}
|
||||
affinity:
|
||||
{{ toYaml .Values.affinity | indent 8 }}
|
||||
{{- end }}
|
||||
updateStrategy:
|
||||
type: "{{ .Values.updateStrategy }}"
|
||||
|
||||
@@ -14,6 +14,12 @@ tolerations: []
|
||||
# effect: NoSchedule
|
||||
# operator: "Exists"
|
||||
|
||||
## Node labels for fluentd pod assignment
|
||||
nodeSelector: {}
|
||||
|
||||
## Expressions for affinity
|
||||
affinity: {}
|
||||
|
||||
# Extra environment variables to set for fluentd
|
||||
extraEnv: []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user