Skip to content

Commit

Permalink
Document Database Migration in Kubernetes
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderkiel committed Feb 17, 2023
1 parent 17797f5 commit 5c18a11
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/database/migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,20 @@ backup!

Exit the shell und start Blaze normally.

### On Kubernetes

You can use an init container to delete the index store on Kubernetes:

```yaml
initContainers:
- name: delete-index
image: busybox
command: [ 'sh', '-c', "rm -r /data/index" ]
volumeMounts:
- name: data
mountPath: /data
```
## Index Store Migration at Start
If you start Blaze without an index store, it will use the transaction log and the resource store to recreate the index
Expand Down

0 comments on commit 5c18a11

Please sign in to comment.