Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 18 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,25 @@ be consistent at least.

### Initializing the application

The databases aren't created yet. The very first time, establish a shell into the `<deployment>-dfshell`
container. It is likely that the scheduler and server containers are crashing in a loop.
The deployment is created and the initjob should have created the databases and done the
initialization of the site settings.

All we need to do is create two databases:
If that didn't complete successfully, try to restart the job.

Once the deployment is complete and the initjob succeeded, we can set the install to that for false in config.yaml:

```
initjob:
install: false
```

Alternatively, here are the manual
steps to achieve the same:

Establish a shell into the `<deployment>-dfshell` container.
It is likely that the scheduler and server containers are crashing in a loop.

All we need to is to run these commands:

1. `./manage.py clickhouse create-tables`
2. `./manage.py database create-or-upgrade`
Expand Down
4 changes: 3 additions & 1 deletion examples/deployment/application/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@ worker-catalog:
limits:
memory: 19000Mi
requests:
memory: 19000Mi
memory: 19000Mi
initjob:
install: true
Loading