This message was deleted.
# ask-for-help
s
This message was deleted.
🏁 1
🍱 1
💾 1
a
The reason we are changing the port from
5000
to
3000
is that we found port
5000
conflicts with one of the control center port on MacOS, and
3000
is trivial among web application
s
I had that problem with Mac. But, it is an easy change on the Mac to run on different port. Or specify a different port to run it locally. Making a change to the application is a breaking change from previous version. Migrating to 1.0 is challenging enough without being surprised by these changes. Is there a way for us to configure it to run on
5000
so that we don’t have to mess with our infrastructure setup?
a
you can always pass in
--port
options to serve
s
How do I do that for the image that is being deployed to k8s?
Also, why not encourage the users to use
--port
to run on mac instead?
And switch the application port back to
5000
?
c
@Shihgian Lee in the kubernetes pod config, you can add container args
--port=5000
, or set env var
BENTOML_PORT=5000
s
@Chaoyu Thanks for the env suggestion. I think that is the easiest fix. Let me give that a try.
👍 1
Chaoyu, that fixed it! now I can proceed with load testing. thanks for the assist!
c
Great!