<p>I am deploying the spring cloud dataflow kubernetes server. this deployment also deploys a mysql server in the cluster but i would like to write a service to connect to my mysql server which is on amazon aws instead of deploying one on kubernetes. Can i do this using external name type or something? Also, how can i give the username and password to connect to this db? </p>

Siddhant Sorann
<p>You can override the default <a href="https://github.com/spring-cloud/spring-cloud-dataflow-server-kubernetes/tree/master/src/kubernetes/mysql" rel="nofollow noreferrer"><code>mysql</code></a> specific deployment configurations. More details <a href="https://docs.spring.io/spring-cloud-dataflow-server-kubernetes/docs/1.6.3.RELEASE/reference/htmlsingle/#_deploy_services_and_dataflow" rel="nofollow noreferrer">here</a> and <a href="https://docs.spring.io/spring-cloud-dataflow-server-kubernetes/docs/1.6.3.RELEASE/reference/htmlsingle/#configuration-rdbms" rel="nofollow noreferrer">here</a>.</p>

<p>Once you have the above-taken care, you'd update Spring Datasource configuration defined in <a href="https://github.com/spring-cloud/spring-cloud-dataflow-server-kubernetes/blob/master/src/kubernetes/server/server-config-rabbit.yaml#L27" rel="nofollow noreferrer">SCDF deployment</a>, so you can point to the external cluster.</p>

<p>We will further clarify this in the reference guide.</p>
