How can I access the minio in charmed-kubeflow deployment

Hi All,

Need help in accessing the minio UI in Charmed Kubeflow deployment.

I have tried setting minio-service as Nodeport via kubectl commands and still I am not able to access the UI of minio. Since Kubeflow 1.9 uses minio in backend to hold the training artifacts is it possible to provide default access to the same in volume section ?

1 Like

Hi @codingfreak ! Thanks for the question. Have you tried directly accessing the UI using the unit’s IP and port 9000? You can find the IP if you run juju status minio.

For the username and password (login UI),use the access_key and secret_key values that you configure beforehand. See minio’s configuration for more info.

Hi @dnplas Thanks for the reply. As shown in below logs looks like 10.1.195.238 is not accessible from outside the K8 cluster. Is there a way I can change the same to access from outside the cluster?

Also is there a way to map MINIO UI into KubeflowUI similar to MLFLOW so that I can access it to check more details regarding the different artifacts stored in minio as part of training.

mlst01:~$ juju status minio
Model     Controller          Cloud/Region             Version  SLA          Timestamp
kubeflow  juju-kf-controller  juju-kf-cloud/localhost  3.6.5    unsupported  16:20:41-07:00

App    Version                Status  Scale  Charm  Channel          Rev  Address        Exposed  Message
minio  res:oci-image@7f2474f  active      1  minio  ckf-1.10/stable  459  10.152.183.29  no

Unit      Workload  Agent  Address       Ports          Message
minio/0*  active    idle   10.1.195.238  9000-9001/TCP

There are a few options, you can try accessing it by:

  • Directly using the unit IP:port in your browser - this only applies if minio is deployed locally in you machine
  • ssh tunnel (for example, if running from a VM)
  • port-forwarding the minio Service

Right now, there is no integration between the minio and kubeflow-dashboard charms, but this is a good suggestion.

cc: @deusebio @kimwnasptd

Thanks for the reply @dnplas

In my case KF+minio is in a remote cluster. I did try port forwarding option and it is not successful. Can you share your command so that I can quickly try the same?