From 400bba19c79d6fac175707ed2c5f2e9eb8b92ea1 Mon Sep 17 00:00:00 2001 From: Kai Hudalla Date: Wed, 12 May 2021 10:50:45 +0200 Subject: [PATCH] Add CI profile for testing Quarkus native image based deployment The chart now also uses Hono 1.7.3 which contains the fix for https://github.com/eclipse/packages/issues/231 Fixes #231 Signed-off-by: Kai Hudalla --- charts/hono/Chart.yaml | 4 +-- charts/hono/README.md | 7 ++--- .../hono/ci/quarkus-native-images-values.yaml | 26 +++++++++++++++++++ 3 files changed, 32 insertions(+), 5 deletions(-) create mode 100644 charts/hono/ci/quarkus-native-images-values.yaml diff --git a/charts/hono/Chart.yaml b/charts/hono/Chart.yaml index e7c501b6..f8b7f6ba 100755 --- a/charts/hono/Chart.yaml +++ b/charts/hono/Chart.yaml @@ -15,9 +15,9 @@ 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: 1.7.4 +version: 1.7.5 # Version of Hono being deployed by the chart -appVersion: 1.7.1 +appVersion: 1.7.3 keywords: - iot-chart - IoT diff --git a/charts/hono/README.md b/charts/hono/README.md index e67ee8a4..8530c071 100644 --- a/charts/hono/README.md +++ b/charts/hono/README.md @@ -469,7 +469,7 @@ The following command will deploy the LoRa adapter along with Hono's standard ad helm install --dependency-update -n hono --set adapters.lora.enabled=true eclipse-hono eclipse-iot/hono ``` -### Jaeger Tracing +## Jaeger Tracing Hono's components are instrumented using OpenTracing to allow tracking of the distributed processing of messages flowing through the system. The Hono chart can be configured to report tracing information to the [Jaeger tracing system](https://www.jaegertracing.io/). @@ -502,8 +502,9 @@ the Jaeger Agent that is deployed with each of Hono's components. ## Using Quarkus based services -The Helm chart can be configured to use Quarkus based images for services that support it. In order to do that, you need to set `honoImagesType` property to -`quarkus` or `quarkus-native` values depending on whether you want to use the JVM or the native version of the image. +The Helm chart can be configured to use Quarkus based images for services that support it. In order to do that, you need +to set `honoImagesType` property to `quarkus` or `quarkus-native` values depending on whether you want to use the JVM or +the native version of the image. Here are the examples for deploying JVM: diff --git a/charts/hono/ci/quarkus-native-images-values.yaml b/charts/hono/ci/quarkus-native-images-values.yaml new file mode 100644 index 00000000..46c5233c --- /dev/null +++ b/charts/hono/ci/quarkus-native-images-values.yaml @@ -0,0 +1,26 @@ +# +# Copyright (c) 2021 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 +# + +# profile for installing Hono +# - without monitoring infrastructure +# - using Quarkus based native images + +useLoadBalancer: false + +prometheus: + createInstance: false + +grafana: + enabled: false + +honoImagesType: quarkus-native