Skip to content

Commit fe875cd

Browse files
authored
Add banyandb backup feature (#214)
1 parent 0c508d6 commit fe875cd

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Makefile.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ TAG ?= $(shell git rev-parse --short HEAD)
2828
BANYANDB_IMAGE ?= ghcr.io/apache/skywalking-banyandb
2929
BANYANDB_IMAGE_TAG ?= 38f19094145a30c6403fbc4390d0b0cf57494725
3030
STORAGE_CLASS ?= ""
31+
BANYANDB_BACKUP_DEST ?= file:///tmp/backups/data
3132

3233
ES_IMAGE ?= docker.elastic.co/elasticsearch/elasticsearch-oss
3334
ES_IMAGE_TAG ?= 7.10.2

deploy/platform/kubernetes/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,11 @@ feature-banyandb-monitor:
153153
$(eval HELM_OPTIONS := $(HELM_OPTIONS) --set features.banyandbMonitor.enabled=true)
154154
$(eval HELM_OPTIONS := $(HELM_OPTIONS) --set opentelemetry.enabled=true)
155155

156+
.PHONY: feature-banyandb-backup
157+
feature-banyandb-backup:
158+
$(eval HELM_OPTIONS := $(HELM_OPTIONS) --set skywalking.banyandb.cluster.data.nodeTemplate.backupSidecar.enabled=true)
159+
$(eval HELM_OPTIONS := $(HELM_OPTIONS) --set skywalking.banyandb.cluster.data.nodeTemplate.backupSidecar.dest=$(BANYANDB_BACKUP_DEST))
160+
156161
.PHONY: feature-postgresql-monitor
157162
feature-postgresql-monitor:
158163
$(eval HELM_OPTIONS := $(HELM_OPTIONS) --set features.postgresqlMonitor.enabled=true)

0 commit comments

Comments
 (0)