Closed AnotherStranger closed 2 months ago
Thank you for reporting us your feedback!
The internal ticket has been created: https://warthogs.atlassian.net/browse/KF-5880.
This message was autogenerated
Thanks for opening the issue @AnotherStranger!
You could help us initially by confirming the VirtualService
that we need to ensure the access is there, and then we can figure out how to integrate it into the Charm.
It should look very similar to the other ones, like this one but change the destination to be the K8s SVC that is created for MLflow via the Charm.
Most probably we might need to play with the rewrite of the URL as well. Could you give it a spin?
Hey @kimwnasptd,
I got access to the mlflow app using following VirtualService (Adapted from your linked one):
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: mlflow-server-mlflow-server
spec:
gateways:
- kubeflow-gateway
hosts:
- '*'
http:
- headers:
request:
add:
x-forwarded-prefix: /mlflow
match:
- uri:
prefix: /mlflow/
rewrite:
uri: /
route:
- destination:
host: mlflow-server
port:
number: 5000
Nice, the last step now will be to extend the charm to also create this VirtualService.
There are some details to be discussed though on how this should be done, since the rest of the charms are using the ingress
relation and SDI (which we want to move away from)
https://github.com/canonical/notebook-operators/blob/track/1.8/charms/jupyter-ui/src/charm.py#L420-L429
We already have relation with istio to create the virtual service
juju relate istio-pilot:ingress mlflow-server:ingress
Can you try it please?
We already have relation with istio to create the virtual service
juju relate istio-pilot:ingress mlflow-server:ingress
Can you try it please?
Sorry that I didn't get back to you sooner. The relation adds the correct VirtualService. Thank you!
Hey @AnotherStranger after creating the correct VirtualService
, were you able to see the MLFlow component in the dashboard?
Hey @AnotherStranger after creating the correct
VirtualService
, were you able to see the MLFlow component in the dashboard?
Oh, yes! I should have clarified this in my response. with the istio-pilot relation everything works as expected.
Awesome, thank you very much for confirming! I will be closing this issue as it is not required anymore, feel free to re-open or file a new one if needed.
Bug Description
The mlflow charm fails to provide a working link to the mlflow UI in the Kubeflow dashboard. After deploying and relating the charms, the link is created but it does not work (possibly due to a missing VirtualService). The juju debug logs only contain some warnings on a missing refresh_event (This seems to be unrelated to this report).
@kimwnasptd and I already had a short discussion in the matrix chatroom about this.
If there is anything I can do to assist you further please let me know.
Here is a screenshot of the dashboard link which gets created after enabling the relation:
To Reproduce
mlflow
using channel 2.1/stable withjuju deploy mlflow --channel=2.1/stable --trust
resource-dispatcher
using channel 1.0/stable withjuju deploy resource-dispatcher --channel=1.0/stable --trust
mlflow-server:pod-defaults
toresource-dispatcher:pod-defaults
, andmlflow-server:secrets
toresource-dispatcher:secrets
mlflow-server:dashboard-links
tokubeflow-dashboard:links
Environment
Relevant Log Output
Additional Context
No response