Skip to content
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

Use production WSGI Server instead of Development server #259

Open
1 of 5 tasks
sthaha opened this issue Jun 6, 2024 · 0 comments
Open
1 of 5 tasks

Use production WSGI Server instead of Development server #259

sthaha opened this issue Jun 6, 2024 · 0 comments
Assignees
Labels
kind/bug Something isn't working

Comments

@sthaha
Copy link
Contributor

sthaha commented Jun 6, 2024

What happened?

Running model-server latest image produces the following log

model-server-1  |  * Serving Flask app 'model_server' (lazy loading)
model-server-1  |  * Environment: production
model-server-1  |    WARNING: This is a development server. Do not use it in a production deployment.
model-server-1  |    Use a production WSGI server instead.
model-server-1  |  * Debug mode: off
model-server-1  | WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
model-server-1  |  * Running on all addresses (0.0.0.0)

What did you expect to happen?

Shouldn't show the warning above

How can we reproduce it (as minimally and precisely as possible)?

Use kepler vm docker compose to run model-server

Anything else we need to know?

No response

Kepler image tag

NA

Deployment

  • Model server
  • Estimator
  • Online trainer
  • Offline trainer
  • Profiler

Kepler model server image tag if deployed

0.7.7

Kepler estimator image tag if deployed

Kepler online trainer image tag if deployed

Kepler offline trainer image tag if deployed

Kepler profiler image tag if deployed

Kubernetes version

NA

Install tools

NA

Kepler deployment config

NA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants