mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[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:
committed by
Kubernetes Prow Robot
parent
5a33da9adf
commit
989ee29805
@@ -9,4 +9,4 @@ maintainers:
|
||||
- name: acondrat
|
||||
email: arcadie.condrat@gmail.com
|
||||
name: prometheus-to-sd
|
||||
version: 0.2.0
|
||||
version: 0.3.0
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -8,3 +8,4 @@ port: 6060
|
||||
metricsSources:
|
||||
kube-state-metrics: http://kube-state-metrics:8080
|
||||
nodeSelector: {}
|
||||
tolerations: []
|
||||
|
||||
Reference in New Issue
Block a user