[stable/prometheus-to-sd] Add tolerations support for prometheus-to-sd (#17615)

Signed-off-by: Alan Tang <alantang888@users.noreply.github.com>
This commit is contained in:
Alan Tang
2019-10-02 08:19:08 -07:00
committed by Kubernetes Prow Robot
parent 5a33da9adf
commit 989ee29805
4 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -9,4 +9,4 @@ maintainers:
- name: acondrat
email: arcadie.condrat@gmail.com
name: prometheus-to-sd
version: 0.2.0
version: 0.3.0
+1
View File
@@ -47,6 +47,7 @@ The following table lists the configurable parameters and their default values.
| `port` | Profiler port | `6060` |
| `metricSources` | Sources for metrics in the next format: component-name:http://host:port?whitelisted=a,b,c | `{"kube-state-metrics": "http://kube-state-metrics:8080"}` |
| `nodeSelector` | node labels for pod assignment | `{}` |
| `tolerations` | tolerations for node taints | `[]` |
For more information please refer to the [prometheus-to-sd](https://github.com/GoogleCloudPlatform/k8s-stackdriver/tree/master/prometheus-to-sd) documentation.
@@ -34,3 +34,7 @@ spec:
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 8 }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{ toYaml . | indent 8 }}
{{- end }}
+1
View File
@@ -8,3 +8,4 @@ port: 6060
metricsSources:
kube-state-metrics: http://kube-state-metrics:8080
nodeSelector: {}
tolerations: []