Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: grafana/helm-charts
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: mimir-distributed-4.5.0
Choose a base ref
...
head repository: grafana/helm-charts
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: mimir-distributed-5.0.0
Choose a head ref

Commits on Jun 8, 2023

  1. fix tempo distributor deployment otlp-http port

    Signed-off-by: kangqi <kangkeizai@gmail.com>
    zhaikangqi331 committed Jun 8, 2023
    Copy the full SHA
    0a70575 View commit details

Commits on Jun 24, 2023

  1. support metricRelabelings for tempo-distributed serviceMonitors

    Signed-off-by: Tiago Posse <tiagoposse@gmail.com>
    tiagoposse committed Jun 24, 2023
    Copy the full SHA
    f16f689 View commit details
  2. add docs for generated version

    Signed-off-by: Tiago Posse <tiagoposse@gmail.com>
    tiagoposse committed Jun 24, 2023
    Copy the full SHA
    577efa2 View commit details

Commits on Jun 26, 2023

  1. Update Grafana to v9.5.5

    Signed-off-by: Footur <3769085+Footur@users.noreply.github.com>
    Footur committed Jun 26, 2023
    Copy the full SHA
    399e97a View commit details
  2. Merge pull request #2477 from Footur/update-grafana-v9.5.5

    [grafana] Update Grafana to v9.5.5
    zanhsieh authored Jun 26, 2023
    Copy the full SHA
    2094017 View commit details

Commits on Jun 27, 2023

  1. bump version

    Signed-off-by: kangqi <kangkeizai@gmail.com>
    zhaikangqi331 committed Jun 27, 2023
    Copy the full SHA
    33ada03 View commit details
  2. Merge pull request #2476 from tiagoposse/support-metricRelabelings-in…

    …-serviceMonitor
    
    [tempo-distributed] support metricRelabelings
    zalegrala authored Jun 27, 2023
    Copy the full SHA
    35f920b View commit details

Commits on Jun 28, 2023

  1. Copy the full SHA
    00e35a9 View commit details

Commits on Jun 29, 2023

  1. Update README.md

    Signed-off-by: MH <zanhsieh@gmail.com>
    zanhsieh authored Jun 29, 2023
    Copy the full SHA
    ff8a50e View commit details
  2. Merge pull request #2454 from Kangkeizai/main

    [tempo-distributed] fix tempo distributor deployment otlp-http port
    zanhsieh authored Jun 29, 2023
    Copy the full SHA
    7342841 View commit details

Commits on Jul 3, 2023

  1. [grafana] fix Chart.yaml - add license annotations and keywords, remo…

    …ve gotpl
    
    Signed-off-by: junya koyama <arukiidou@yahoo.co.jp>
    arukiidou committed Jul 3, 2023
    Copy the full SHA
    1a782b0 View commit details

Commits on Jul 6, 2023

  1. dump default grafana version 10.0.1

    Signed-off-by: zzzinho <hahoh0013@gmail.com>
    zzzinho committed Jul 6, 2023
    Copy the full SHA
    0019c07 View commit details
  2. dump version to 7.0.0

    Signed-off-by: zzzinho <hahoh0013@gmail.com>
    zzzinho committed Jul 6, 2023
    Copy the full SHA
    dc91958 View commit details
  3. bump version to 9.6.0

    Signed-off-by: zzzinho <hahoh0013@gmail.com>
    zzzinho committed Jul 6, 2023
    Copy the full SHA
    218abda View commit details
  4. Update charts/grafana/Chart.yaml

    bump version to 6.58.0
    
    Co-authored-by: MH <zanhsieh@gmail.com>
    Signed-off-by: zzzinho <hahoh0013@gmail.com>
    zzzinho and zanhsieh committed Jul 6, 2023
    Copy the full SHA
    0d105d6 View commit details
  5. [grafana] Bump sidecar version to 1.24.6

    Signed-off-by: junya koyama <arukiidou@yahoo.co.jp>
    arukiidou committed Jul 6, 2023
    Copy the full SHA
    ed26979 View commit details
  6. [grafana] bump chart version to 6.57.5

    Signed-off-by: junya koyama <arukiidou@yahoo.co.jp>
    arukiidou committed Jul 6, 2023
    Copy the full SHA
    016a631 View commit details

Commits on Jul 10, 2023

  1. Add federation frontend

    Signed-off-by: Bas van de Lustgraaf <bas.vandelustgraaf@grafana.com>
    basvdl committed Jul 10, 2023
    Copy the full SHA
    adc1d18 View commit details
  2. Update the docs

    Signed-off-by: Bas van de Lustgraaf <bas.vandelustgraaf@grafana.com>
    basvdl committed Jul 10, 2023
    Copy the full SHA
    6f379c6 View commit details
  3. Version bump

    Signed-off-by: Bas van de Lustgraaf <bas.vandelustgraaf@grafana.com>
    basvdl committed Jul 10, 2023
    Copy the full SHA
    8c062ac View commit details
  4. Update docs after version bump

    Signed-off-by: Bas van de Lustgraaf <bas.vandelustgraaf@grafana.com>
    basvdl committed Jul 10, 2023
    Copy the full SHA
    c6f79e1 View commit details
  5. Remove unused ports from services

    Signed-off-by: Bas van de Lustgraaf <bas.vandelustgraaf@grafana.com>
    basvdl committed Jul 10, 2023
    Copy the full SHA
    9981b54 View commit details
  6. Mark federation-frontend as enterprise component by prefixing it

    Signed-off-by: Bas van de Lustgraaf <bas.vandelustgraaf@grafana.com>
    basvdl committed Jul 10, 2023
    Copy the full SHA
    6cc9bed View commit details
  7. Update values and docs after renaming federation-frontend

    Signed-off-by: Bas van de Lustgraaf <bas.vandelustgraaf@grafana.com>
    basvdl committed Jul 10, 2023
    Copy the full SHA
    50e5c0a View commit details
  8. Bump version

    Signed-off-by: Bas van de Lustgraaf <bas.vandelustgraaf@grafana.com>
    basvdl committed Jul 10, 2023
    Copy the full SHA
    99bc2e4 View commit details
  9. fix tempo distributor deployment otlp-http port

    Signed-off-by: kangqi <kangkeizai@gmail.com>
    Signed-off-by: Bas van de Lustgraaf <bas.vandelustgraaf@grafana.com>
    zhaikangqi331 authored and basvdl committed Jul 10, 2023
    Copy the full SHA
    4d30018 View commit details
  10. Update tempo-distributed to have metrics_ingestion_time_range_slack

    metrics_ingestion_time_range_slack = 30s is the default and added to the tempo configuration
    
    Signed-off-by: Bas van de Lustgraaf <bas.vandelustgraaf@grafana.com>
    EStork09 authored and basvdl committed Jul 10, 2023
    Copy the full SHA
    186d916 View commit details
  11. Add support for HPA behavior customization to Tempo

    Signed-off-by: Guillaume Jacquet <guillaume.jacquet@gmail.com>
    gjacquet authored and basvdl committed Jul 10, 2023
    Copy the full SHA
    e8189ce View commit details
  12. Update charts/tempo-distributed/templates/distributor/hpa.yaml

    Co-authored-by: MH <zanhsieh@gmail.com>
    Signed-off-by: Bas van de Lustgraaf <bas.vandelustgraaf@grafana.com>
    2 people authored and basvdl committed Jul 10, 2023
    Copy the full SHA
    e7c4553 View commit details
  13. Update charts/tempo-distributed/templates/query-frontend/hpa.yaml

    Co-authored-by: MH <zanhsieh@gmail.com>
    Signed-off-by: Bas van de Lustgraaf <bas.vandelustgraaf@grafana.com>
    2 people authored and basvdl committed Jul 10, 2023
    Copy the full SHA
    d56bdad View commit details
  14. Update charts/tempo-distributed/templates/ingester/hpa.yaml

    Co-authored-by: MH <zanhsieh@gmail.com>
    Signed-off-by: Bas van de Lustgraaf <bas.vandelustgraaf@grafana.com>
    2 people authored and basvdl committed Jul 10, 2023
    Copy the full SHA
    15f6cd9 View commit details
  15. Update charts/tempo-distributed/templates/querier/hpa.yaml

    Co-authored-by: MH <zanhsieh@gmail.com>
    Signed-off-by: Bas van de Lustgraaf <bas.vandelustgraaf@grafana.com>
    2 people authored and basvdl committed Jul 10, 2023
    Copy the full SHA
    1632844 View commit details
  16. Update charts/tempo-distributed/templates/gateway/hpa.yaml

    Co-authored-by: MH <zanhsieh@gmail.com>
    Signed-off-by: Bas van de Lustgraaf <bas.vandelustgraaf@grafana.com>
    2 people authored and basvdl committed Jul 10, 2023
    Copy the full SHA
    9a32d47 View commit details
  17. [promtail] bugfix: Checksum annotation

    When using the .Values.configmap.enabled to use a Configmap instead of
    Secret for storing the configuration, the checksum annotation used to
    force a pod re-roll is missing.
    
    Signed-off-by: Julien Limoges <julien.limoges@sumup.com>
    Signed-off-by: Bas van de Lustgraaf <bas.vandelustgraaf@grafana.com>
    limoges authored and basvdl committed Jul 10, 2023
    Copy the full SHA
    144e76f View commit details
  18. [promtail] add update strategy to deployment

    Signed-off-by: rasta-rocket <bruno.fernando@jobteaser.com>
    rasta-rocket authored and basvdl committed Jul 10, 2023
    Copy the full SHA
    0c2ec58 View commit details
  19. Add the possibility to configure extra volumeMounts for the alerts si…

    …decar
    
    Signed-off-by: Paul Michaud <paul.du56@gmail.com>
    Signed-off-by: Bas van de Lustgraaf <bas.vandelustgraaf@grafana.com>
    Paul-Michaud authored and basvdl committed Jul 10, 2023
    Copy the full SHA
    171c179 View commit details
  20. Bump chart version

    Signed-off-by: Paul Michaud <paul.du56@gmail.com>
    Signed-off-by: Bas van de Lustgraaf <bas.vandelustgraaf@grafana.com>
    Paul-Michaud authored and basvdl committed Jul 10, 2023
    Copy the full SHA
    0e04c50 View commit details
  21. Bump patch version rather than minor version

    Signed-off-by: Paul Michaud <paul.du56@gmail.com>
    Signed-off-by: Bas van de Lustgraaf <bas.vandelustgraaf@grafana.com>
    Paul-Michaud authored and basvdl committed Jul 10, 2023
    Copy the full SHA
    d9bcd75 View commit details
  22. chore(github): Generate release notes

    Signed-off-by: Frank Klaassen <639906+syphernl@users.noreply.github.com>
    Signed-off-by: Bas van de Lustgraaf <bas.vandelustgraaf@grafana.com>
    syphernl authored and basvdl committed Jul 10, 2023
    Copy the full SHA
    fc50816 View commit details
  23. chore(agent-operator): update to latest version

    Signed-off-by: David van der Spek <vanderspek.david@gmail.com>
    Signed-off-by: Bas van de Lustgraaf <bas.vandelustgraaf@grafana.com>
    davidspek authored and basvdl committed Jul 10, 2023
    Copy the full SHA
    9a435bd View commit details
  24. fix: update version in Chart.yaml

    Signed-off-by: David van der Spek <vanderspek.david@gmail.com>
    Signed-off-by: Bas van de Lustgraaf <bas.vandelustgraaf@grafana.com>
    davidspek authored and basvdl committed Jul 10, 2023
    Copy the full SHA
    8d4173a View commit details
  25. Enable OCI chart push

    Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
    Signed-off-by: Bas van de Lustgraaf <bas.vandelustgraaf@grafana.com>
    jkroepke authored and basvdl committed Jul 10, 2023
    Copy the full SHA
    00960c6 View commit details
  26. Set OCI chart push error to warning instead to fail.

    Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
    Signed-off-by: Bas van de Lustgraaf <bas.vandelustgraaf@grafana.com>
    jkroepke authored and basvdl committed Jul 10, 2023
    Copy the full SHA
    e512afd View commit details
  27. Update README.md

    Signed-off-by: MH <zanhsieh@gmail.com>
    Signed-off-by: Bas van de Lustgraaf <bas.vandelustgraaf@grafana.com>
    zanhsieh authored and basvdl committed Jul 10, 2023
    Copy the full SHA
    3a2c517 View commit details
  28. [tempo-distributed] Move overrides configuration to separate runtime …

    …configmap
    
    Signed-off-by: Taylor Mutch <taylormutch@gmail.com>
    Signed-off-by: Bas van de Lustgraaf <bas.vandelustgraaf@grafana.com>
    TaylorMutch authored and basvdl committed Jul 10, 2023
    Copy the full SHA
    876e682 View commit details
  29. [tempo-distributed] regenerate readme

    Signed-off-by: Taylor Mutch <taylormutch@gmail.com>
    Signed-off-by: Bas van de Lustgraaf <bas.vandelustgraaf@grafana.com>
    TaylorMutch authored and basvdl committed Jul 10, 2023
    Copy the full SHA
    7577e93 View commit details
  30. Remove extra {{end}} block

    Signed-off-by: Taylor Mutch <taylormutch@gmail.com>
    Signed-off-by: Bas van de Lustgraaf <bas.vandelustgraaf@grafana.com>
    TaylorMutch authored and basvdl committed Jul 10, 2023
    Copy the full SHA
    6e05df1 View commit details
  31. [tempo-distributed] Update readme to reference new runtime-config path

    Signed-off-by: Taylor Mutch <taylormutch@gmail.com>
    TaylorMutch authored and basvdl committed Jul 10, 2023
    Copy the full SHA
    742062d View commit details
  32. Update Grafana to v9.5.5

    Signed-off-by: Footur <3769085+Footur@users.noreply.github.com>
    Signed-off-by: Bas van de Lustgraaf <bas.vandelustgraaf@grafana.com>
    Footur authored and basvdl committed Jul 10, 2023
    Copy the full SHA
    38392d8 View commit details
  33. support metricRelabelings for tempo-distributed serviceMonitors

    Signed-off-by: Tiago Posse <tiagoposse@gmail.com>
    tiagoposse authored and basvdl committed Jul 10, 2023
    Copy the full SHA
    cf5cb85 View commit details
9 changes: 6 additions & 3 deletions charts/grafana/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: grafana
version: 6.57.3
appVersion: 9.5.3
version: 6.58.2
appVersion: 10.0.1
kubeVersion: "^1.8.0-0"
description: The leading tool for querying and visualizing time series and metrics.
home: https://grafana.net
@@ -10,6 +10,7 @@ sources:
- https://github.com/grafana/grafana
- https://github.com/grafana/helm-charts
annotations:
"artifacthub.io/license": AGPL-3.0-only
"artifacthub.io/links": |
- name: Chart Source
url: https://github.com/grafana/helm-charts
@@ -26,5 +27,7 @@ maintainers:
email: miroslav.hadzhiev@gmail.com
- name: torstenwalter
email: mail@torstenwalter.de
engine: gotpl
type: application
keywords:
- monitoring
- metric
2 changes: 1 addition & 1 deletion charts/grafana/README.md
Original file line number Diff line number Diff line change
@@ -147,7 +147,7 @@ This version requires Helm >= 3.1.0.
| `podPortName` | Name of the grafana port on the pod | `grafana` |
| `lifecycleHooks` | Lifecycle hooks for podStart and preStop [Example](https://kubernetes.io/docs/tasks/configure-pod-container/attach-handler-lifecycle-event/#define-poststart-and-prestop-handlers) | `{}` |
| `sidecar.image.repository` | Sidecar image repository | `quay.io/kiwigrid/k8s-sidecar` |
| `sidecar.image.tag` | Sidecar image tag | `1.24.3` |
| `sidecar.image.tag` | Sidecar image tag | `1.24.6` |
| `sidecar.image.sha` | Sidecar image sha (optional) | `""` |
| `sidecar.imagePullPolicy` | Sidecar image pull policy | `IfNotPresent` |
| `sidecar.resources` | Sidecar resources | `{}` |
2 changes: 1 addition & 1 deletion charts/grafana/values.yaml
Original file line number Diff line number Diff line change
@@ -790,7 +790,7 @@ smtp:
sidecar:
image:
repository: quay.io/kiwigrid/k8s-sidecar
tag: 1.24.3
tag: 1.24.6
sha: ""
imagePullPolicy: IfNotPresent
resources: {}
2 changes: 1 addition & 1 deletion charts/tempo-distributed/Chart.yaml
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ apiVersion: v2
name: tempo-distributed
description: Grafana Tempo in MicroService mode
type: application
version: 1.4.5
version: 1.4.8
appVersion: 2.1.1
engine: gotpl
home: https://grafana.com/docs/tempo/latest/
35 changes: 33 additions & 2 deletions charts/tempo-distributed/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# tempo-distributed

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

Grafana Tempo in MicroService mode

@@ -301,6 +301,37 @@ The memcached default args are removed and should be provided manually. The sett
| enterprise.enabled | bool | `false` | |
| enterprise.image.repository | string | `"grafana/enterprise-traces"` | Grafana Enterprise Metrics container image repository. Note: for Grafana Tempo use the value 'image.repository' |
| enterprise.image.tag | string | `"v2.1.0"` | Grafana Enterprise Metrics container image tag. Note: for Grafana Tempo use the value 'image.tag' |
| enterpriseFederationFrontend.affinity | string | Hard node and soft zone anti-affinity | Affinity for federation-frontend pods. Passed through `tpl` and, thus, to be configured as string |
| enterpriseFederationFrontend.autoscaling.enabled | bool | `false` | Enable autoscaling for the federation-frontend |
| enterpriseFederationFrontend.autoscaling.maxReplicas | int | `3` | Maximum autoscaling replicas for the federation-frontend |
| enterpriseFederationFrontend.autoscaling.minReplicas | int | `1` | Minimum autoscaling replicas for the federation-frontend |
| enterpriseFederationFrontend.autoscaling.targetCPUUtilizationPercentage | int | `60` | Target CPU utilisation percentage for the federation-frontend |
| enterpriseFederationFrontend.autoscaling.targetMemoryUtilizationPercentage | string | `nil` | Target memory utilisation percentage for the federation-frontend |
| enterpriseFederationFrontend.enabled | bool | `false` | Specifies whether a federation-frontend should be deployed |
| enterpriseFederationFrontend.extraArgs | list | `[]` | Additional CLI args for the federation-frontend |
| enterpriseFederationFrontend.extraEnv | list | `[]` | Environment variables to add to the federation-frontend pods |
| enterpriseFederationFrontend.extraEnvFrom | list | `[]` | Environment variables from secrets or configmaps to add to the federation-frontend pods |
| enterpriseFederationFrontend.extraVolumeMounts | list | `[]` | Extra volumes for federation-frontend pods |
| enterpriseFederationFrontend.extraVolumes | list | `[]` | Extra volumes for federation-frontend deployment |
| enterpriseFederationFrontend.image.pullSecrets | list | `[]` | Optional list of imagePullSecrets. Overrides `tempo.image.pullSecrets` |
| enterpriseFederationFrontend.image.registry | string | `nil` | The Docker registry for the federation-frontend image. Overrides `tempo.image.registry` |
| enterpriseFederationFrontend.image.repository | string | `nil` | Docker image repository for the federation-frontend image. Overrides `tempo.image.repository` |
| enterpriseFederationFrontend.image.tag | string | `nil` | Docker image tag for the federation-frontend image. Overrides `tempo.image.tag` |
| enterpriseFederationFrontend.nodeSelector | object | `{}` | Node selector for federation-frontend pods |
| enterpriseFederationFrontend.podAnnotations | object | `{}` | Annotations for federation-frontend pods |
| enterpriseFederationFrontend.podLabels | object | `{}` | Labels for enterpriseFederationFrontend pods |
| enterpriseFederationFrontend.priorityClassName | string | `nil` | The name of the PriorityClass for federation-frontend pods |
| enterpriseFederationFrontend.proxy_targets | list | `[]` | |
| enterpriseFederationFrontend.replicas | int | `1` | Number of replicas for the federation-frontend |
| enterpriseFederationFrontend.resources | object | `{}` | Resource requests and limits for the federation-frontend |
| enterpriseFederationFrontend.service.annotations | object | `{}` | Annotations for enterpriseFederationFrontend service |
| enterpriseFederationFrontend.service.loadBalancerIP | string | `""` | If type is LoadBalancer you can assign the IP to the LoadBalancer |
| enterpriseFederationFrontend.service.loadBalancerSourceRanges | list | `[]` | If type is LoadBalancer limit incoming traffic from IPs. |
| enterpriseFederationFrontend.service.port | int | `3100` | Port of the federation-frontend service |
| enterpriseFederationFrontend.service.type | string | `"ClusterIP"` | Type of service for the enterpriseFederationFrontend |
| enterpriseFederationFrontend.terminationGracePeriodSeconds | int | `30` | Grace period to allow the federation-frontend to shutdown before it is killed |
| enterpriseFederationFrontend.tolerations | list | `[]` | Tolerations for federation-frontend pods |
| enterpriseFederationFrontend.topologySpreadConstraints | string | Defaults to allow skew no more then 1 node per AZ | topologySpread for federation-frontend pods. Passed through `tpl` and, thus, to be configured as string |
| enterpriseGateway.affinity | string | Soft node and soft zone anti-affinity | Affinity for enterprise-gateway pods. Passed through `tpl` and, thus, to be configured as string |
| enterpriseGateway.annotations | object | `{}` | |
| enterpriseGateway.containerSecurityContext | object | `{"readOnlyRootFilesystem":true}` | The SecurityContext for gateway containers |
@@ -594,7 +625,7 @@ The memcached default args are removed and should be provided manually. The sett
| querier.tolerations | list | `[]` | Tolerations for querier pods |
| querier.topologySpreadConstraints | string | Defaults to allow skew no more then 1 node per AZ | topologySpread for querier pods. Passed through `tpl` and, thus, to be configured as string |
| queryFrontend.affinity | string | Hard node and soft zone anti-affinity | Affinity for query-frontend pods. Passed through `tpl` and, thus, to be configured as string |
| queryFrontend.appProtocol | object | `{"grpc":null}` | Adds the appProtocol field to the queriyFrontend service. This allows queriyFrontend to work with istio protocol selection. |
| queryFrontend.appProtocol | object | `{"grpc":null}` | Adds the appProtocol field to the queryFrontend service. This allows queryFrontend to work with istio protocol selection. |
| queryFrontend.appProtocol.grpc | string | `nil` | Set the optional grpc service protocol. Ex: "grpc", "http2" or "https" |
| queryFrontend.autoscaling.behavior | object | `{}` | Autoscaling behavior configuration for the query-frontend |
| queryFrontend.autoscaling.enabled | bool | `false` | Enable autoscaling for the query-frontend |
5 changes: 4 additions & 1 deletion charts/tempo-distributed/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -9,10 +9,13 @@ Installed components:
* distributor
* querier
* query-frontend
{{- if .Values.enterpriseFederationFrontend.enabled }}
* federation-frontend
{{- end }}
* compactor
{{- if .Values.memcached.enabled }}
* memcached
{{- end }}
{{- if .Values.gateway.enabled }}
* gateway
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
@@ -90,7 +90,7 @@ spec:
name: zipkin
protocol: TCP
{{- end }}
{{- if .Values.traces.otlp.http }}
{{- if .Values.traces.otlp.http.enabled }}
- containerPort: 4318
name: otlp-http
protocol: TCP
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{{/*
enterpriseFederationFrontend imagePullSecrets
*/}}
{{- define "tempo.enterpriseFederationFrontendImagePullSecrets" -}}
{{- $dict := dict "tempo" .Values.tempo.image "component" .Values.enterpriseFederationFrontend.image "global" .Values.global.image -}}
{{- include "tempo.imagePullSecrets" $dict -}}
{{- end }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
{{- if and .Values.enterprise.enabled .Values.enterpriseFederationFrontend.enabled }}
{{ $dict := dict "ctx" . "component" "enterprise-federation-frontend" }}
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "tempo.resourceName" $dict }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "tempo.labels" $dict | nindent 4 }}
{{- with .Values.enterpriseFederationFrontend.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
minReadySeconds: 10
{{- if not .Values.enterpriseFederationFrontend.autoscaling.enabled }}
replicas: {{ .Values.enterpriseFederationFrontend.replicas }}
{{- end }}
revisionHistoryLimit: 10
selector:
matchLabels:
{{- include "tempo.selectorLabels" $dict | nindent 6 }}
strategy:
rollingUpdate:
maxSurge: 0
maxUnavailable: 1
template:
metadata:
labels:
{{- include "tempo.podLabels" $dict | nindent 8 }}
{{- with .Values.tempo.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.enterpriseFederationFrontend.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap-tempo.yaml") . | sha256sum }}
{{- with .Values.tempo.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.enterpriseFederationFrontend.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
{{- if or (.Values.enterpriseFederationFrontend.priorityClassName) (.Values.global.priorityClassName) }}
priorityClassName: {{ default .Values.enterpriseFederationFrontend.priorityClassName .Values.global.priorityClassName }}
{{- end }}
serviceAccountName: {{ include "tempo.serviceAccountName" . }}
{{- with .Values.tempo.podSecurityContext }}
securityContext:
{{- toYaml . | nindent 8 }}
{{- end }}
enableServiceLinks: false
{{- include "tempo.enterpriseFederationFrontendImagePullSecrets" . | nindent 6 -}}
containers:
- args:
- -target=federation-frontend
- -config.file=/conf/tempo.yaml
- -mem-ballast-size-mbs=1024
{{- with .Values.enterpriseFederationFrontend.extraArgs }}
{{- toYaml . | nindent 12 }}
{{- end }}
image: {{ include "tempo.imageReference" $dict }}
imagePullPolicy: {{ .Values.tempo.image.pullPolicy }}
name: federation-frontend
ports:
- containerPort: 3100
name: http-metrics
{{- with .Values.enterpriseFederationFrontend.extraEnv }}
env:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.enterpriseFederationFrontend.extraEnvFrom }}
envFrom:
{{- toYaml . | nindent 12 }}
{{- end }}
resources:
{{- toYaml .Values.enterpriseFederationFrontend.resources | nindent 12 }}
{{- with .Values.tempo.securityContext }}
securityContext:
{{- toYaml . | nindent 12 }}
{{- end }}
volumeMounts:
- mountPath: /conf
name: config
- mountPath: /var/tempo
name: tempo-federation-frontend-store
{{- if .Values.enterprise.enabled }}
- name: license
mountPath: /license
{{- end }}
{{- with .Values.enterpriseFederationFrontend.extraVolumeMounts }}
{{- toYaml . | nindent 12 }}
{{- end }}
terminationGracePeriodSeconds: {{ .Values.enterpriseFederationFrontend.terminationGracePeriodSeconds }}
{{- if ge (.Capabilities.KubeVersion.Minor|int) 19 }}
{{- with .Values.enterpriseFederationFrontend.topologySpreadConstraints }}
topologySpreadConstraints:
{{- tpl . $ | nindent 8 }}
{{- end }}
{{- end }}
{{- with .Values.enterpriseFederationFrontend.affinity }}
affinity:
{{- tpl . $ | nindent 8 }}
{{- end }}
{{- with .Values.enterpriseFederationFrontend.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.enterpriseFederationFrontend.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
volumes:
- name: config
{{- include "tempo.configVolume" . | nindent 10 }}
- name: tempo-federation-frontend-store
emptyDir: {}
{{- if .Values.enterprise.enabled }}
- name: license
secret:
secretName: {{ tpl .Values.license.secretName . }}
{{- end }}
{{- with .Values.enterpriseFederationFrontend.extraVolumes }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{{- if and .Values.enterprise.enabled .Values.enterpriseFederationFrontend.enabled .Values.enterpriseFederationFrontend.autoscaling.enabled }}
{{- $apiVersion := include "tempo.hpa.apiVersion" . -}}
apiVersion: {{ $apiVersion }}
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "tempo.resourceName" (dict "ctx" . "component" "enterprise-federation-frontend") }}
labels:
{{- include "tempo.labels" (dict "ctx" . "component" "enterprise-federation-frontend") | nindent 4 }}
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: {{ include "tempo.resourceName" (dict "ctx" . "component" "enterprise-federation-frontend") }}
minReplicas: {{ .Values.enterpriseFederationFrontend.autoscaling.minReplicas }}
maxReplicas: {{ .Values.enterpriseFederationFrontend.autoscaling.maxReplicas }}
metrics:
{{- with .Values.enterpriseFederationFrontend.autoscaling.targetMemoryUtilizationPercentage }}
- type: Resource
resource:
name: memory
{{- if (eq $apiVersion "autoscaling/v2") }}
target:
type: Utilization
averageUtilization: {{ . }}
{{- else }}
targetAverageUtilization: {{ . }}
{{- end }}
{{- end }}
{{- with .Values.enterpriseFederationFrontend.autoscaling.targetCPUUtilizationPercentage }}
- type: Resource
resource:
name: cpu
{{- if (eq $apiVersion "autoscaling/v2") }}
target:
type: Utilization
averageUtilization: {{ . }}
{{- else }}
targetAverageUtilization: {{ . }}
{{- end }}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{{- if and .Values.enterprise.enabled .Values.enterpriseFederationFrontend.enabled -}}
{{- if gt (int .Values.enterpriseFederationFrontend.replicas) 1 }}
{{ $dict := dict "ctx" . "component" "enterprise-federation-frontend" }}
apiVersion: {{ include "tempo.pdb.apiVersion" . }}
kind: PodDisruptionBudget
metadata:
name: {{ include "tempo.resourceName" $dict }}
labels:
{{- include "tempo.labels" $dict | nindent 4 }}
spec:
selector:
matchLabels:
{{- include "tempo.selectorLabels" $dict | nindent 6 }}
maxUnavailable: 1
{{- end }}
{{- end -}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "tempo.resourceName" (dict "ctx" . "component" "enterprise-federation-frontend") }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "tempo.labels" (dict "ctx" . "component" "enterprise-federation-frontend") | nindent 4 }}
{{- with .Values.enterpriseFederationFrontend.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
type: {{ .Values.enterpriseFederationFrontend.service.type }}
ports:
- name: http-metrics
port: 3100
targetPort: 3100
{{- if .Values.enterpriseFederationFrontend.service.loadBalancerIP }}
loadBalancerIP: {{ .Values.enterpriseFederationFrontend.service.loadBalancerIP }}
{{- end }}
{{- with .Values.enterpriseFederationFrontend.service.loadBalancerSourceRanges}}
loadBalancerSourceRanges:
{{ toYaml . | nindent 4 }}
{{- end }}
selector:
{{- include "tempo.selectorLabels" (dict "ctx" . "component" "enterprise-federation-frontend") | nindent 4 }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{{- if and .Values.enterprise.enabled .Values.enterpriseFederationFrontend.enabled }}
{{- include "tempo.lib.serviceMonitor" (dict "ctx" $ "component" "enterprise-federation-frontend") }}
{{- end }}
4 changes: 4 additions & 0 deletions charts/tempo-distributed/templates/lib/service-monitor.tpl
Original file line number Diff line number Diff line change
@@ -57,6 +57,10 @@ spec:
{{- with .relabelings }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .metricRelabelings }}
metricRelabelings:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .scheme }}
scheme: {{ . }}
{{- end }}
Loading