This is an automated email from the ASF dual-hosted git repository.
hanahmily pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-banyandb-helm.git
The following commit(s) were added to refs/heads/master by this push:
new f3e07e3 Support schema server only running on the hot data nodes (#57)
f3e07e3 is described below
commit f3e07e37266add5c6f5f219635cca60ab55fd4ff
Author: mrproliu <[email protected]>
AuthorDate: Sat Mar 14 09:21:58 2026 +0800
Support schema server only running on the hot data nodes (#57)
* Support schema server only running on the hot data nodes
---
chart/templates/cluster_data_statefulset.yaml | 9 +++++++++
chart/values.yaml | 23 ++++++++++++++++++++--
test/e2e/env | 2 +-
test/e2e/values.dns-cluster-state.yaml | 6 +++---
test/e2e/values.dns-node-etcd-schema-cluster.yaml | 2 +-
.../e2e/values.dns-node-native-schema-cluster.yaml | 6 +++---
test/e2e/values.etcd-cluster.yaml | 2 +-
test/e2e/values.fodc.yaml | 2 +-
test/e2e/values.lifecycle.yaml | 2 +-
test/e2e/values.standalone.yaml | 2 +-
10 files changed, 42 insertions(+), 14 deletions(-)
diff --git a/chart/templates/cluster_data_statefulset.yaml
b/chart/templates/cluster_data_statefulset.yaml
index 60411c8..b7df673 100644
--- a/chart/templates/cluster_data_statefulset.yaml
+++ b/chart/templates/cluster_data_statefulset.yaml
@@ -175,7 +175,16 @@ spec:
{{- end }}
{{- end }}
{{- include "banyandb.schemaStorageEnv" $ | nindent 12 }}
+ {{- $hasMetaRole := true }}
+ {{- if hasKey $roleConfig "hasMetaRole" }}
+ {{- $hasMetaRole = $roleConfig.hasMetaRole }}
+ {{- end }}
+ {{- if $hasMetaRole }}
{{- include "banyandb.schemaStoragePropertyServerEnv" $ | nindent
12 }}
+ {{- else }}
+ - name: BYDB_HAS_META_ROLE
+ value: "false"
+ {{- end }}
{{- include "banyandb.schemaStoragePropertyClientEnv" $ | nindent
12 }}
{{- include "banyandb.etcdEnv" $ | nindent 12 }}
{{- include "banyandb.nodeDiscoveryEnv" (dict "root" $) | nindent
12 }}
diff --git a/chart/values.yaml b/chart/values.yaml
index 013e766..2fc7779 100644
--- a/chart/values.yaml
+++ b/chart/values.yaml
@@ -804,7 +804,8 @@ cluster:
roles:
## @param cluster.data.roles.hot Hot data role
##
- hot: {}
+ hot:
+ hasMetaRole: true
## @section Configuration for UI component
##
@@ -1228,6 +1229,24 @@ storage:
storageClass: null
## @param storage.data.persistentVolumeClaims[3].volumeMode Volume mode
for the PVC
volumeMode: Filesystem
+ ## @param storage.data.persistentVolumeClaims[4].mountTargets Mount
targets for the PVC
+ - mountTargets: [ "schema-property" ]
+ ## @param storage.data.persistentVolumeClaims[4].nodeRole Node role this
PVC is bound to
+ ##
+ nodeRole: hot
+ ## @param storage.data.persistentVolumeClaims[4].existingClaimName
Existing PVC name (if any)
+ existingClaimName: null
+ ## @param storage.data.persistentVolumeClaims[4].claimName Name of the
PVC
+ claimName: hot-schema-property-data
+ ## @param storage.data.persistentVolumeClaims[4].size Size of the PVC
+ size: 5Gi
+ ## @param storage.data.persistentVolumeClaims[4].accessModes Access
modes for the PVC
+ accessModes:
+ - ReadWriteOnce
+ ## @param storage.data.persistentVolumeClaims[4].storageClass Storage
class for the PVC
+ storageClass: null
+ ## @param storage.data.persistentVolumeClaims[4].volumeMode Volume mode
for the PVC
+ volumeMode: Filesystem
## Liaison storage configuration
##
@@ -1264,7 +1283,7 @@ storage:
persistentVolumeClaims:
## @param storage.standalone.persistentVolumeClaims[0].mountTargets Mount
targets for the PVC
##
- - mountTargets: [ "measure", "stream", "metadata", "property", "trace" ]
+ - mountTargets: [ "measure", "stream", "metadata", "property", "trace",
"schema-property" ]
## @param storage.standalone.persistentVolumeClaims[0].claimName Name of
the PVC
claimName: standalone-data
## @param storage.standalone.persistentVolumeClaims[0].size Size of the
PVC
diff --git a/test/e2e/env b/test/e2e/env
index 102a20d..8b7a218 100644
--- a/test/e2e/env
+++ b/test/e2e/env
@@ -22,7 +22,7 @@
SW_AGENT_CLIENT_JS_COMMIT=af0565a67d382b683c1dbd94c379b7080db61449
SW_AGENT_CLIENT_JS_TEST_COMMIT=4f1eb1dcdbde3ec4a38534bf01dded4ab5d2f016
SW_KUBERNETES_COMMIT_SHA=6fe5e6f0d3b7686c6be0457733e825ee68cb9b35
SW_ROVER_COMMIT=79292fe07f17f98f486e0c4471213e1961fb2d1d
-SW_BANYANDB_COMMIT=67cb3eaa71d1b2ba9a56dddc17050fd69da78593
+SW_BANYANDB_COMMIT=c27121f43c76b3b31470e2846f68958884ef91d6
SW_AGENT_PHP_COMMIT=d1114e7be5d89881eec76e5b56e69ff844691e35
SW_PREDICTOR_COMMIT=54a0197654a3781a6f73ce35146c712af297c994
diff --git a/test/e2e/values.dns-cluster-state.yaml
b/test/e2e/values.dns-cluster-state.yaml
index bd0d37e..62617c5 100644
--- a/test/e2e/values.dns-cluster-state.yaml
+++ b/test/e2e/values.dns-cluster-state.yaml
@@ -19,7 +19,7 @@
image:
repository: ghcr.io/apache/skywalking-banyandb
- tag: a9d081b36dbd37ca1713732b05f6b065a3047a24
+ tag: c27121f43c76b3b31470e2846f68958884ef91d6
pullPolicy: IfNotPresent
cluster:
@@ -45,7 +45,7 @@ storage:
data:
enabled: true
persistentVolumeClaims:
- - mountTargets: [ "measure", "stream", "property", "trace" ]
+ - mountTargets: [ "measure", "stream", "property", "trace",
"schema-property" ]
nodeRole: hot
existingClaimName: null
claimName: data
@@ -76,7 +76,7 @@ storage:
standalone:
enabled: false
persistentVolumeClaims:
- - mountTargets: [ "measure", "stream", "property", "trace" ]
+ - mountTargets: [ "measure", "stream", "property", "trace",
"schema-property" ]
claimName: standalone-data
size: 200Gi
accessModes:
diff --git a/test/e2e/values.dns-node-etcd-schema-cluster.yaml
b/test/e2e/values.dns-node-etcd-schema-cluster.yaml
index 5b307d5..e66e85d 100644
--- a/test/e2e/values.dns-node-etcd-schema-cluster.yaml
+++ b/test/e2e/values.dns-node-etcd-schema-cluster.yaml
@@ -17,7 +17,7 @@
image:
repository: ghcr.io/apache/skywalking-banyandb
- tag: a9d081b36dbd37ca1713732b05f6b065a3047a24
+ tag: c27121f43c76b3b31470e2846f68958884ef91d6
pullPolicy: IfNotPresent
cluster:
diff --git a/test/e2e/values.dns-node-native-schema-cluster.yaml
b/test/e2e/values.dns-node-native-schema-cluster.yaml
index 6e4d404..79aedbe 100644
--- a/test/e2e/values.dns-node-native-schema-cluster.yaml
+++ b/test/e2e/values.dns-node-native-schema-cluster.yaml
@@ -17,7 +17,7 @@
image:
repository: ghcr.io/apache/skywalking-banyandb
- tag: a9d081b36dbd37ca1713732b05f6b065a3047a24
+ tag: c27121f43c76b3b31470e2846f68958884ef91d6
pullPolicy: IfNotPresent
cluster:
@@ -40,7 +40,7 @@ storage:
data:
enabled: true
persistentVolumeClaims:
- - mountTargets: [ "measure", "stream", "property", "trace" ]
+ - mountTargets: [ "measure", "stream", "property", "trace",
"schema-property" ]
nodeRole: hot
existingClaimName: null
claimName: data
@@ -62,7 +62,7 @@ storage:
standalone:
enabled: false
persistentVolumeClaims:
- - mountTargets: [ "measure", "stream", "property", "trace" ]
+ - mountTargets: [ "measure", "stream", "property", "trace",
"schema-property" ]
claimName: standalone-data
size: 200Gi
accessModes:
diff --git a/test/e2e/values.etcd-cluster.yaml
b/test/e2e/values.etcd-cluster.yaml
index 8a5f143..de6f8b7 100644
--- a/test/e2e/values.etcd-cluster.yaml
+++ b/test/e2e/values.etcd-cluster.yaml
@@ -19,7 +19,7 @@
image:
repository: ghcr.io/apache/skywalking-banyandb
- tag: a9d081b36dbd37ca1713732b05f6b065a3047a24
+ tag: c27121f43c76b3b31470e2846f68958884ef91d6
pullPolicy: IfNotPresent
cluster:
diff --git a/test/e2e/values.fodc.yaml b/test/e2e/values.fodc.yaml
index f8f4197..f019d1c 100644
--- a/test/e2e/values.fodc.yaml
+++ b/test/e2e/values.fodc.yaml
@@ -19,7 +19,7 @@
image:
repository: ghcr.io/apache/skywalking-banyandb
- tag: a9d081b36dbd37ca1713732b05f6b065a3047a24
+ tag: c27121f43c76b3b31470e2846f68958884ef91d6
pullPolicy: IfNotPresent
cluster:
diff --git a/test/e2e/values.lifecycle.yaml b/test/e2e/values.lifecycle.yaml
index 3aa2452..71b37c6 100644
--- a/test/e2e/values.lifecycle.yaml
+++ b/test/e2e/values.lifecycle.yaml
@@ -19,7 +19,7 @@
image:
repository: ghcr.io/apache/skywalking-banyandb
- tag: a9d081b36dbd37ca1713732b05f6b065a3047a24
+ tag: c27121f43c76b3b31470e2846f68958884ef91d6
pullPolicy: IfNotPresent
cluster:
diff --git a/test/e2e/values.standalone.yaml b/test/e2e/values.standalone.yaml
index 404c126..7fd1f79 100644
--- a/test/e2e/values.standalone.yaml
+++ b/test/e2e/values.standalone.yaml
@@ -22,7 +22,7 @@ cluster:
image:
repository: ghcr.io/apache/skywalking-banyandb
- tag: a9d081b36dbd37ca1713732b05f6b065a3047a24
+ tag: c27121f43c76b3b31470e2846f68958884ef91d6
pullPolicy: IfNotPresent
standalone: