Replies: 2 comments 3 replies
-
Thanks for reporting this issue @matt985, cc @yubozhao could you take a look? It seems a case we should consider when addressing #1183 in |
Beta Was this translation helpful? Give feedback.
-
Hi!
I can also get to the Swagger UI. Unfortunately this interface does not work. Apparently it calls the wrong endpoint:
Instead of:
|
Beta Was this translation helpful? Give feedback.
-
Hi!
I am trying to serve a bentoML prediction service as a Kubernetes deployment. I am using bentoML 0.10.
Besides the deployment, I defined a service and an ingress (my ingress controller is NginX).
It all seems fine but there is no way I can reach the swagger interface at the specified URL.
If I try to do it with the browser I only get a blank page (which, if inspected, shows the swagger HTML structure).
If I try to curl the link I only get 404 error messages.
Apparently the system cannot reach swagger_static/swagger-ui.css and swagger_static/swagger-ui-bundle.js
On the contrary, everything works fine if I just try to locally port forward the deployment (eg. kubectl port-forward bentopod 5000:5000).
Do you have any suggestions to help me solve this problem? Should I add some extra code to my bento Api?
Thank you a lot,
Matt
Beta Was this translation helpful? Give feedback.
All reactions