How to access LDAP server (not container) by application deployed in container

7 views
Skip to first unread message

nvnva...@gmail.com

unread,
Apr 6, 2018, 7:56:12 AM4/6/18
to Kubernetes user discussion and Q&A
Hello Experts,

I have my application running in docker swarm, where the application is using the LDAP and MySQL server (not container) very well and everything is working fine. Initially I had source file (config file PHP), which was used in order to reach this LDAP server.

Now I would like to migrate all stuff over openshift (built over Kubernetes).

Does any have idea, how to access LDAP server (not container) from the application (container)?

Or should I be creating my yaml file, so that it should be able to access and reach the LDAP server?

I know, my weird. But I am pretty new in Kubernetes and need some guidelines.

Regards,
Nitin

Rodrigo Campos

unread,
Apr 6, 2018, 11:03:27 AM4/6/18
to kubernet...@googlegroups.com
On Fri, Apr 06, 2018 at 04:56:11AM -0700, nvnva...@gmail.com wrote:
> Hello Experts,
>
> I have my application running in docker swarm, where the application is using the LDAP and MySQL server (not container) very well and everything is working fine. Initially I had source file (config file PHP), which was used in order to reach this LDAP server.
>
> Now I would like to migrate all stuff over openshift (built over Kubernetes).
>
> Does any have idea, how to access LDAP server (not container) from the application (container)?

Just the way you were doint it before? If you can route, you should be able to
connect.

What is the issue you forsee?
Reply all
Reply to author
Forward
0 new messages