kubeflow / pipelines

Machine Learning Pipelines for Kubeflow
https://www.kubeflow.org/docs/components/pipelines/
Apache License 2.0
3.6k stars 1.62k forks source link

Can not connect to the mongodb #7641

Closed mike0355 closed 6 months ago

mike0355 commented 2 years ago

Hi! I'm try to use kubeflow pipeline to run my project ,and my project need to store data to mongodb . My mongodb is deploy in the K8s and it work fine, but when I use the kubeflow pipeline to create a mongodb connection, I got this error. image my mongodb uri is : "mongodb://testUser:passwd@localhost:8000/?authMechanism=SCRAM-SHA-256&authSource=admin&directConnection=true"

and my mongodb's pipeline code is : image

And I port-forward my mongodb svc to the 8000:27017 image I try to use this mongodb uri on the mongodb client and I connect complete. But I don't know why I use this uri on the pipeline and get this error. image Here is my complete connect mongodb picture. image

rimolive commented 6 months ago

Closing this issue. No activity for more than a year.

/close

google-oss-prow[bot] commented 6 months ago

@rimolive: Closing this issue.

In response to [this](https://github.com/kubeflow/pipelines/issues/7641#issuecomment-2016978832): >Closing this issue. No activity for more than a year. > >/close Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.