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?
You can override the default mysql
specific deployment configurations. More details here and here.
Once you have the above-taken care, you'd update Spring Datasource configuration defined in SCDF deployment, so you can point to the external cluster.
We will further clarify this in the reference guide.