kuryr-libnetwork/releasenotes/notes/use-uwsgi-to-run-server-4f43e615fd277c73.yaml
Mohammad Banikazemi cd82675242 Allow running kuryr-libnetwork with uwsgi
scripts/run_kuryr.sh now understands KURYR_USE_UWSGI. If set to "True" (default)
it would attempt to look for uwsgi executable and run kuryr-libnetwork
with it.
Number of spawned threads and processes can be controlled with
KURYR_UWSGI_THREADS and KURYR_UWSGI_PROCESSES env variables.

If uwsgi is not present or KURYR_USE_UWSGI is set to false the script
operates as usual.

Targets bp: deploy-kuryr-libnetwork-api-in-wsgi
Co-Authored-By: Kirill Zaitsev <k.zaitsev@me.com>

Change-Id: I821a78649ad6f07e4709fa343a0e678e4193a068
2017-05-15 09:57:52 +03:00

7 lines
256 B
YAML

---
features:
- |
scripts/run_kuryr.sh now defaults to running api server under uwsgi. This behaviour
can be controlled by KURYR_USE_UWSGI env variable (default True).
In case it is set to False or uwsgi is abscent api would be run as usual.