Skip to content

Commit

Permalink
Merge pull request #3182 from celian-garcia/add-traffic-policy
Browse files Browse the repository at this point in the history
[tempo-distributed] Add externalTrafficPolicy option to service

Co-authored-by: Sheikh-Abubaker <[email protected]>
Co-authored-by: Mario <[email protected]>
  • Loading branch information
Sheikh-Abubaker and mapno authored Jul 11, 2024
2 parents d60acbc + 0361c3a commit 91d549c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/tempo-distributed/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: tempo-distributed
description: Grafana Tempo in MicroService mode
type: application
version: 1.14.0
version: 1.15.0
appVersion: 2.5.0
engine: gotpl
home: https://grafana.com/docs/tempo/latest/
Expand Down
3 changes: 2 additions & 1 deletion charts/tempo-distributed/README.md
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# tempo-distributed

![Version: 1.14.0](https://img.shields.io/badge/Version-1.14.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.5.0](https://img.shields.io/badge/AppVersion-2.5.0-informational?style=flat-square)
![Version: 1.15.0](https://img.shields.io/badge/Version-1.15.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.5.0](https://img.shields.io/badge/AppVersion-2.5.0-informational?style=flat-square)

Grafana Tempo in MicroService mode

Expand Down Expand Up @@ -325,6 +325,7 @@ The memcached default args are removed and should be provided manually. The sett
| distributor.replicas | int | `1` | Number of replicas for the distributor |
| distributor.resources | object | `{}` | Resource requests and limits for the distributor |
| distributor.service.annotations | object | `{}` | Annotations for distributor service |
| distributor.service.externalTrafficPolicy | string | `nil` | If type is LoadBalancer you can set it to 'Local' [preserve the client source IP](https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip) |
| distributor.service.labels | object | `{}` | Labels for distributor service |
| distributor.service.loadBalancerIP | string | `""` | If type is LoadBalancer you can assign the IP to the LoadBalancer |
| distributor.service.loadBalancerSourceRanges | list | `[]` | If type is LoadBalancer limit incoming traffic from IPs. |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ spec:
{{- if .Values.distributor.service.loadBalancerIP }}
loadBalancerIP: {{ .Values.distributor.service.loadBalancerIP }}
{{- end }}
{{- with .Values.distributor.service.externalTrafficPolicy }}
externalTrafficPolicy: {{ . }}
{{- end }}
{{- with .Values.distributor.service.loadBalancerSourceRanges}}
loadBalancerSourceRanges:
{{ toYaml . | nindent 4 }}
Expand Down
2 changes: 2 additions & 0 deletions charts/tempo-distributed/values.yaml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,8 @@ distributor:
loadBalancerIP: ''
# -- If type is LoadBalancer limit incoming traffic from IPs.
loadBalancerSourceRanges: []
# -- If type is LoadBalancer you can set it to 'Local' [preserve the client source IP](https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip)
externalTrafficPolicy: null
serviceDiscovery:
# -- Annotations for distributorDiscovery service
annotations: {}
Expand Down

0 comments on commit 91d549c

Please sign in to comment.