Skip to content

Commit

Permalink
Bump BanyanDB and add resource limit to data nodes
Browse files Browse the repository at this point in the history
Signed-off-by: Gao Hongtao <[email protected]>
  • Loading branch information
hanahmily committed Dec 13, 2024
1 parent 621bb13 commit ad6aa0a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ HUB ?= ghcr.io/apache/skywalking-showcase
TAG ?= $(shell git rev-parse --short HEAD)

BANYANDB_IMAGE ?= ghcr.io/apache/skywalking-banyandb
BANYANDB_IMAGE_TAG ?= 05cf5e1426e0b3926819c2272497923cd705f72b
BANYANDB_IMAGE_TAG ?= 8569c816b1448f2c20df7b3719c2987b2f8b8d99
STORAGE_CLASS ?= ""

ES_IMAGE ?= docker.elastic.co/elasticsearch/elasticsearch-oss
Expand Down
17 changes: 14 additions & 3 deletions deploy/platform/kubernetes/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ skywalking:
SW_CORE_ENABLE_ENDPOINT_NAME_GROUPING_BY_OPENAPI: "false"
SW_CORE_MAX_HTTP_URIS_NUMBER_PER_SVR: "3000"
SW_AI_PIPELINE_URI_RECOGNITION_SERVER_PORT: "17128"
SW_STORAGE_BANYANDB_METRICS_SHARDS_NUMBER: "2"
SW_STORAGE_BANYANDB_RECORD_SHARDS_NUMBER: "2"
SW_STORAGE_BANYANDB_SUPERDATASET_SHARDS_FACTOR: "1"
startupProbe:
failureThreshold: 10
tcpSocket:
Expand Down Expand Up @@ -134,6 +131,20 @@ skywalking:
type: ClusterIP
data:
replicas: 2
env:
- name: GOMEMLIMIT
value: "3GiB"
resources:
requests:
- key: cpu
value: 100m
- key: memory
value: 1Gi
limits:
- key: cpu
value: 4
- key: memory
value: 4Gi
storage:
enabled: true
persistentVolumeClaims:
Expand Down

0 comments on commit ad6aa0a

Please sign in to comment.