Skip to content

Commit

Permalink
[#499] Fix cloud2edge chart ditto resource config.
Browse files Browse the repository at this point in the history
Signed-off-by: Carsten Lohmann <[email protected]>
  • Loading branch information
calohmn committed Sep 10, 2023
1 parent c455d53 commit 06d25e2
Showing 1 changed file with 19 additions and 32 deletions.
51 changes: 19 additions & 32 deletions packages/cloud2edge/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 06d25e2

Please sign in to comment.