Skip to content

Commit 947159d

Browse files
Merge pull request #3953 from tbrandstetter/main
[tempo-distributed] use separated config attributes for service and service discovery
2 parents 135ac99 + 0dbdd35 commit 947159d

File tree

5 files changed

+12
-4
lines changed

5 files changed

+12
-4
lines changed

charts/tempo-distributed/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: tempo-distributed
33
description: Grafana Tempo in MicroService mode
44
type: application
5-
version: 1.51.2
5+
version: 1.52.0
66
appVersion: 2.9.0
77
engine: gotpl
88
home: https://grafana.com/docs/tempo/latest/

charts/tempo-distributed/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# tempo-distributed
22

3-
![Version: 1.51.2](https://img.shields.io/badge/Version-1.51.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.9.0](https://img.shields.io/badge/AppVersion-2.9.0-informational?style=flat-square)
3+
![Version: 1.52.0](https://img.shields.io/badge/Version-1.52.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.9.0](https://img.shields.io/badge/AppVersion-2.9.0-informational?style=flat-square)
44

55
Grafana Tempo in MicroService mode
66

@@ -622,6 +622,7 @@ The memcached default args are removed and should be provided manually. The sett
622622
| ingester.service.annotations | object | `{}` | Annotations for ingester service |
623623
| ingester.service.internalTrafficPolicy | string | `"Cluster"` | https://kubernetes.io/docs/concepts/services-networking/service-traffic-policy/ |
624624
| ingester.service.type | string | `"ClusterIP"` | Type of the service: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types |
625+
| ingester.serviceDiscovery.annotations | object | `{}` | Annotations for ingester discovery service |
625626
| ingester.statefulStrategy | object | `{"rollingUpdate":{"partition":0}}` | updateStrategy of the ingester statefulset. This is ignored when ingester.zoneAwareReplication.enabled=true. |
626627
| ingester.terminationGracePeriodSeconds | int | `300` | Grace period to allow the ingester to shutdown before it is killed. Especially for the ingestor, this must be increased. It must be long enough so ingesters can be gracefully shutdown flushing/transferring all data and to successfully leave the member ring on shutdown. |
627628
| ingester.tolerations | list | `[]` | Tolerations for ingester pods |
@@ -768,6 +769,7 @@ The memcached default args are removed and should be provided manually. The sett
768769
| metricsGenerator.replicas | int | `1` | Number of replicas for the metrics-generator |
769770
| metricsGenerator.resources | object | `{}` | Resource requests and limits for the metrics-generator |
770771
| metricsGenerator.service.annotations | object | `{}` | Annotations for Metrics Generator service |
772+
| metricsGenerator.serviceDiscovery.annotations | object | `{}` | Annotations for Metrics Generator discovery service |
771773
| metricsGenerator.terminationGracePeriodSeconds | int | `300` | Grace period to allow the metrics-generator to shutdown before it is killed. Especially for the ingestor, this must be increased. It must be long enough so metrics-generators can be gracefully shutdown flushing/transferring all data and to successfully leave the member ring on shutdown. |
772774
| metricsGenerator.tolerations | list | `[]` | Tolerations for metrics-generator pods |
773775
| metricsGenerator.topologySpreadConstraints | string | Defaults to allow skew no more then 1 node per AZ | topologySpread for metrics-generator pods. Passed through `tpl` and, thus, to be configured as string |

charts/tempo-distributed/templates/ingester/service-ingester-discovery.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
labels:
88
{{- include "tempo.labels" $dict | nindent 4 }}
99
prometheus.io/service-monitor: "false"
10-
{{- with .Values.ingester.service.annotations }}
10+
{{- with .Values.ingester.serviceDiscovery.annotations }}
1111
annotations:
1212
{{- tpl (toYaml . | nindent 4) $ }}
1313
{{- end }}

charts/tempo-distributed/templates/metrics-generator/service-metrics-generator-discovery.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ metadata:
88
labels:
99
{{- include "tempo.labels" $dict | nindent 4 }}
1010
prometheus.io/service-monitor: "false"
11-
{{- with .Values.metricsGenerator.service.annotations }}
11+
{{- with .Values.metricsGenerator.serviceDiscovery.annotations }}
1212
annotations:
1313
{{- tpl (toYaml . | nindent 4) $ }}
1414
{{- end }}

charts/tempo-distributed/values.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,9 @@ ingester:
271271
type: ClusterIP
272272
# -- https://kubernetes.io/docs/concepts/services-networking/service-traffic-policy/
273273
internalTrafficPolicy: Cluster
274+
serviceDiscovery:
275+
# -- Annotations for ingester discovery service
276+
annotations: {}
274277
# -- Adds the appProtocol field to the ingester service. This allows ingester to work with istio protocol selection.
275278
appProtocol:
276279
# -- Set the optional grpc service protocol. Ex: "grpc", "http2" or "https"
@@ -483,6 +486,9 @@ metricsGenerator:
483486
service:
484487
# -- Annotations for Metrics Generator service
485488
annotations: {}
489+
serviceDiscovery:
490+
# -- Annotations for Metrics Generator discovery service
491+
annotations: {}
486492
# -- Adds the appProtocol field to the metricsGenerator service. This allows metricsGenerator to work with istio protocol selection.
487493
appProtocol:
488494
# -- Set the optional grpc service protocol. Ex: "grpc", "http2" or "https"

0 commit comments

Comments
 (0)