-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow for qlever start
to run in the foreground in native mode
#98
Comments
You could use Does this solve your problem? |
yes, thats what we are doing for now. However, I think it would be cleaner to have the server process just run in the foreground of the container. I'll give qlever log a try. Given thats it not a super important issue and its not preventing us from using the service you can close the issue. However, I would suggest to either remove the |
With the new option `--run-in-foreground`, the `qlever start` command now remains in the foreground as long as the process that runs the QLever server is alive, following the log. Addresses #98 Co-authored-by: Julian Mundhahs <[email protected]>
Since ad-freiburg/qlever#1439 has been merged its possible to run qlever-control directly within the container. Thats great, but currently these lines
qlever-control/src/qlever/commands/start.py
Lines 112 to 113 in 547add9
qlever index && qlever start
. Given that kubernetes marks the container as completed when the server process is moved to the background we need to run a loop to keep the container up.Could we maybe add another system option called
native_foreground
(or similar) and change 101 ff in start.py to something along the lines of:Didnt test this but I suspect the
start_cmd
without nohup would keep the server process in the foreground and prevent kubernetes from marking it as completed.The text was updated successfully, but these errors were encountered: