Skip to content

Commit a99052c

Browse files
committed
Document Database Migration in Kubernetes
1 parent 6b0cc76 commit a99052c

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/database/migration.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,20 @@ backup!
3939

4040
Exit the shell und start Blaze normally.
4141

42+
### On Kubernetes
43+
44+
You can use an init container to delete the index store on Kubernetes:
45+
46+
```yaml
47+
initContainers:
48+
- name: delete-index
49+
image: busybox
50+
command: [ 'sh', '-c', "rm -r /data/index" ]
51+
volumeMounts:
52+
- name: data
53+
mountPath: /data
54+
```
55+
4256
## Index Store Migration at Start
4357
4458
If you start Blaze without an index store, it will use the transaction log and the resource store to recreate the index

0 commit comments

Comments
 (0)