From c5ba2473d9890f6bb1e6c653b3fddcb0f33f0d3b Mon Sep 17 00:00:00 2001 From: Carsten Lohmann Date: Sat, 9 Sep 2023 15:48:35 +0200 Subject: [PATCH] [#499] Fix cloud2edge chart ditto resource config. Signed-off-by: Carsten Lohmann --- packages/cloud2edge/Chart.yaml | 4 +-- packages/cloud2edge/values.yaml | 51 ++++++++++++--------------------- 2 files changed, 21 insertions(+), 34 deletions(-) diff --git a/packages/cloud2edge/Chart.yaml b/packages/cloud2edge/Chart.yaml index 662d6d55..bfa47681 100644 --- a/packages/cloud2edge/Chart.yaml +++ b/packages/cloud2edge/Chart.yaml @@ -11,8 +11,8 @@ # SPDX-License-Identifier: EPL-2.0 # apiVersion: v1 -version: 0.5.0 -appVersion: 0.5.0 +version: 0.5.1 +appVersion: 0.5.1 name: cloud2edge description: | Eclipse IoT Cloud2Edge (C2E) is an integrated suite of services developers can use to build IoT applications diff --git a/packages/cloud2edge/values.yaml b/packages/cloud2edge/values.yaml index e0f88717..dabfcd9e 100644 --- a/packages/cloud2edge/values.yaml +++ b/packages/cloud2edge/values.yaml @@ -114,60 +114,47 @@ ditto: user: ditto password: ditto - # do not set cpu limits for Ditto to avoid CFS scheduler limits - # ref: https://doc.akka.io/docs/akka/snapshot/additional/deploy.html#in-kubernetes connectivity: resources: - requests: - cpu: 200m - limits: - memory: "1Gi" + cpu: 0.2 + memoryMi: 1024 gateway: resources: - requests: - cpu: 200m - limits: - memory: "768Mi" + cpu: 0.2 + memoryMi: 768 nginx: service: type: NodePort resources: - requests: - cpu: 50m - limits: - cpu: 150m - memory: "32Mi" + cpu: 0.05 + memoryMi: 32 policies: resources: - requests: - cpu: 200m - limits: - memory: "768Mi" + cpu: 0.2 + memoryMi: 768 swaggerui: resources: - requests: - cpu: 50m - limits: - cpu: 100m - memory: "32Mi" + cpu: 0.05 + memoryMi: 32 things: resources: - requests: - cpu: 200m - limits: - memory: "768Mi" + cpu: 0.2 + memoryMi: 768 thingsSearch: resources: - requests: - cpu: 200m - limits: - memory: "768Mi" + cpu: 0.2 + memoryMi: 768 + + dittoui: + resources: + cpu: 0.05 + memoryMi: 32 mongodb: # usage of default name (including release name) not supported in hono.deviceRegistryExample.mongoDBBasedDeviceRegistry.mongodb for now