Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/hono/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ name: hono
description: |
Eclipse Hono™ provides remote service interfaces for connecting large numbers of IoT devices to a back end and
interacting with them in a uniform way regardless of the device communication protocol.
version: 2.7.1
version: 2.7.2
# Version of Hono being deployed by the chart
appVersion: 2.7.0
keywords:
Expand Down
4 changes: 4 additions & 0 deletions charts/hono/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ The command removes all the Kubernetes components associated with the chart and

## Release Notes

### 2.7.2

- Update Jaeger image to 2.20.0, rename config key to `jaegerImage`, and adapt layout for v2 specifications.

### 2.7.0

* Use Hono 2.7.0 container images.
Expand Down
17 changes: 8 additions & 9 deletions charts/hono/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -481,15 +481,14 @@ quarkus:
"io.quarkus.vertx.core.runtime":
level: DEBUG
{{- if or .dot.Values.jaegerBackendExample.enabled .dot.Values.otelCollectorAgentConfigMap }}
opentelemetry:
tracer:
exporter:
otlp:
{{- if .dot.Values.jaegerBackendExample.enabled }}
endpoint: {{ printf "http://%s-jaeger-collector:4317" ( include "hono.fullname" .dot ) | quote }}
{{- else }}
endpoint: "http://127.0.0.1:4317"
{{- end }}
otel:
exporter:
otlp:
{{- if .dot.Values.jaegerBackendExample.enabled }}
endpoint: {{ printf "http://%s-jaeger-collector:4317" ( include "hono.fullname" .dot ) | quote }}
{{- else }}
endpoint: "http://127.0.0.1:4317"
{{- end }}
{{- end }}
vertx:
prefer-native-transport: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- if .Values.jaegerBackendExample.enabled }}
#
# Copyright (c) 2019, 2022 Contributors to the Eclipse Foundation
# Copyright (c) 2019 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
Expand All @@ -18,10 +18,6 @@ metadata:
{{- include "hono.metadata" $args | nindent 2 }}
spec:
ports:
- name: collector-grpc
port: 14250
protocol: TCP
targetPort: collector-grpc
- name: otlp-grpc
port: 4317
protocol: TCP
Expand Down
35 changes: 20 additions & 15 deletions charts/hono/templates/jaeger/jaeger-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- if .Values.jaegerBackendExample.enabled }}
#
# Copyright (c) 2019, 2022 Contributors to the Eclipse Foundation
# Copyright (c) 2019 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
Expand All @@ -11,8 +11,9 @@
#
# SPDX-License-Identifier: EPL-2.0
#
{{- $args := dict "dot" . "component" "tracing" "name" "jaeger-all-in-one" "componentConfig" .Values.jaegerBackendExample }}
{{- $healthCheckPort := include "hono.healthCheckPort" . }}
{{- $args := dict "dot" . "component" "tracing" "name" "jaeger" "componentConfig" .Values.jaegerBackendExample }}
{{- $metricsPort := .Values.jaegerBackendExample.metricsPort | default "8888" }}
{{- $healthPort := .Values.jaegerBackendExample.healthPort | default "13133" }}
apiVersion: apps/v1
kind: Deployment
metadata:
Expand All @@ -28,7 +29,7 @@ spec:
{{- include "hono.podAdditionalLabels" $args | nindent 8 }}
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: {{ $healthCheckPort | quote }}
prometheus.io/port: {{ $metricsPort | quote }}
prometheus.io/scheme: "http"
{{- include "hono.podAdditionalAnnotations" $args | nindent 8 }}
spec:
Expand All @@ -40,38 +41,42 @@ spec:
{{- include "hono.pod.affinity" $args | nindent 6 }}
containers:
- name: jaeger
image: {{ .Values.jaegerBackendExample.allInOneImage }}
image: {{ .Values.jaegerBackendExample.jaegerImage }}
args: ["--config=/etc/jaeger/jaeger.yaml"]
env:
- name: ADMIN_HTTP_HOST_PORT
value: {{ printf ":%s" $healthCheckPort | quote }}
- name: COLLECTOR_OTLP_ENABLED
value: "true"
{{- with .Values.jaegerBackendExample.env }}
{{- range $name,$value := . }}
- name: {{ .name }}
value: {{ .value | quote }}
{{- end }}
{{- end }}
ports:
- name: collector-grpc
containerPort: 14250
protocol: TCP
- name: otlp-grpc
containerPort: 4317
protocol: TCP
- name: server-http
containerPort: 5778
- name: otlp-http
containerPort: 4318
protocol: TCP
- name: query-http
containerPort: 16686
protocol: TCP
- name: health
containerPort: {{ $healthCheckPort }}
containerPort: {{ $healthPort }}
protocol: TCP
- name: metrics
containerPort: {{ $metricsPort }}
protocol: TCP
volumeMounts:
- name: config-volume
mountPath: /etc/jaeger
{{- include "hono.component.envFrom" $args | indent 8 }}
{{- with .Values.jaegerBackendExample.resources }}
resources:
{{- . | toYaml | nindent 10 }}
{{- end }}
{{- include "hono.component.healthChecks" $args | nindent 8 }}
volumes:
- name: config-volume
configMap:
name: jaeger-v2-config
{{- end }}
55 changes: 55 additions & 0 deletions charts/hono/templates/jaeger/jaeger-v2-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{{- if .Values.jaegerBackendExample.enabled }}
#
# Copyright (c) 2026 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License 2.0 which is available at
# http://www.eclipse.org/legal/epl-2.0
#
# SPDX-License-Identifier: EPL-2.0
#
apiVersion: v1
kind: ConfigMap
metadata:
name: jaeger-v2-config
data:
jaeger.yaml: |
receivers:
otlp:
protocols:
grpc:
endpoint: "0.0.0.0:4317"
http:
endpoint: "0.0.0.0:4318"

exporters:
jaeger_storage_exporter:
trace_storage: RAM_backend

extensions:
jaeger_storage:
backends:
RAM_backend:
memory:
max_traces: {{ .Values.jaegerBackendExample.config.max_traces | default 100000 }}
jaeger_query:
storage:
traces: RAM_backend
http:
endpoint: "0.0.0.0:16686"
healthcheckv2:
use_v2: true
http:
endpoint: "0.0.0.0:{{ .Values.jaegerBackendExample.healthPort | default "13133" }}"

service:
extensions: [jaeger_storage, jaeger_query, healthcheckv2]
pipelines:
traces:
receivers: [otlp]
processors: []
exporters: [jaeger_storage_exporter]
{{- end }}
20 changes: 9 additions & 11 deletions charts/hono/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2071,12 +2071,12 @@ dataGridExample:

jaegerBackendExample:

# enabled indicates whether the example Jaeger all-in-one
# enabled indicates whether the example Jaeger
# back end should be deployed and used.
enabled: false
# allInOneImage contains the name (including tag)
# imageName contains the name (including tag)
# of the container image to use for the example Jaeger back end.
allInOneImage: "jaegertracing/all-in-one:1.57"
jaegerImage: "jaegertracing/jaeger:2.20.0"
# [DEPRECATED: use probes instead] livenessProbeInitialDelaySeconds contains the value to use for the "initialDelaySeconds"
# configuration property of the component's liveness probe.
# The value of the top level "livenessProbeInitialDelaySeconds" property will be used if not set.
Expand All @@ -2089,11 +2089,11 @@ jaegerBackendExample:
livenessProbe:
initialDelaySeconds: 300
httpGet:
path: "/"
path: "/status"
readinessProbe:
initialDelaySeconds: 10
httpGet:
path: "/"
path: "/status"
# resources contains the container's requests and limits for CPU and memory
# as defined by the Kubernetes API.
# Refer to https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
Expand All @@ -2115,11 +2115,9 @@ jaegerBackendExample:
priorityClassName: ""
affinity: {}

# env contains environment variables to set for the Jaeger all-in-one container.
# The default variables configure the container to keep up to 100000 traces in memory.
env:
- name: "MEMORY_MAX_TRACES"
value: "100000"
# The default settings configure the container to keep up to 100000 traces in memory.
config:
max_traces: 100000

# extraVolumes contains additional kubernetes Volume definitions representing volumes
# that can mounted into the container's file system.
Expand All @@ -2143,7 +2141,7 @@ jaegerBackendExample:

# otelCollectorAgentImage contains the name (including tag) of the container image
# to use for the OpenTelemetry collector agent sidecar containers.
# These containers are deployed with Hono's components if the example Jaeger all-in-one
# These containers are deployed with Hono's components if the example Jaeger
# deployment is disabled and "otelCollectorAgentConfigMap" is not null.
otelCollectorAgentImage: "otel/opentelemetry-collector:0.100.0"
# otelCollectorAgentConfigMap can be used to specify the name of an existing ConfigMap
Expand Down
Loading