-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Is there any option to set base url for the web report? #2771
Comments
Hi, @prises0221 |
What do you mean by base url? hostname or port? Please try |
@prises0221 - as @ultmaster mentioned if you want to change the port, you can use the nnictl command. if you want to change the entire base url to a different root, you might have to change the code (refer to Lijiaoa's comment). let us know if this is not what you are asking for. |
@scarlett2018 |
@prises0221 - thanks for the quick responds. for the specific need you mentioned above, we don't have the support in current NNI, you can change the code as Lijiaoa mentioned in previous comments. Just for curiosity, why you need |
@scarlett2018 |
@prises0221 #2779 should meet your requirements somehow, please take a look and provide your feedbacks. If you want this feature immediately (before we finish our efforts for #2779), you might consider use REST API to write some codes for it. BTW, would you mind share your organization's name to us as a reference? We are trying to hold a user group for feature discussions, surveys, etc. |
@scarlett2018 |
This is something we also need as well. Our use case: We need to host the NNI UI alongside JupyterLab in Kubernetes. Using a different port is not a good option since we're using Istio and we need to map a path to a port and make the UI available to the user. A good example of this is TensorBoard and the This link doesn't seem to exist anymore. Where can we make this change now? |
It's moved to https://github.com/microsoft/nni/blob/master/ts/webui/src/static/const.ts#L5 now. |
Hi, @prises0221 @rushtehrani @zhangxingdeppon Thanks for your feedback. First, nni webui could render the main url "127.0.0.1:8080/oview" to "127.0.0.1:8080/{this-is-my-custom-url}/oview" by adding
You metioned that
so do you want to pass This proposal may have problem that if |
excellent, thanks@kvartet @Lijiaoa , I prefer to set {this-is-my-custom-url} by the command |
Thanks for the information.
Yes, basically this will be similar to how TensorBoard works: tensorboard --path_prefix {my-custom-path} Exposes TensorBoard at http://127.0.0.1:6006/{my-custom-path} An equivalent command in NNI would be: nnictl create --config=... --path_prefix {my-custom-path} Which will then make NNI available at http://127.0.0.1:8080/{my-custom-path} |
Environment:
Log message:
What issue meet, what's expected?:
How to reproduce it?:
Additional information:
Hello, I am an NNI user.
When I used NNI on my system, I had to change the base url of the web report, so I looked for the option, but I couldn't find it.
Do you guys support this? Is there any option to set base url for the web report?
If there is the option, please let me know, If there isn't, please let me know if you have plans to add this option.
Thanks
The text was updated successfully, but these errors were encountered: