Skip to content

Commit 36f450b

Browse files
committed
docs: Clarify application initialization
1 parent 5e90e91 commit 36f450b

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,16 @@ be consistent at least.
108108

109109
### Initializing the application
110110

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

114-
All we need to do is create two databases:
114+
If that didn't complete successfully, try to restart the job. Alternatively, here are the manual
115+
steps to achieve the same:
116+
117+
Establish a shell into the `<deployment>-dfshell` container.
118+
It is likely that the scheduler and server containers are crashing in a loop.
119+
120+
All we need to is to run these commands:
115121

116122
1. `./manage.py clickhouse create-tables`
117123
2. `./manage.py database create-or-upgrade`

examples/deployment/application/config.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,6 @@ worker-catalog:
2020
limits:
2121
memory: 19000Mi
2222
requests:
23-
memory: 19000Mi
23+
memory: 19000Mi
24+
initjob:
25+
install: true

0 commit comments

Comments
 (0)