<p><strong>I am deploying PostgreSQL cluster using kubernetes runnung 3 Instance How do you add postgresql connection string url by using kubernetes yaml file</strong></p>
<blockquote>
<p>postgresql://bigdata:bigdata@dbhost1:5432,dbhost2:5432/bigdata?target_session_attrs=primary</p>
</blockquote>

<p>Try like this:</p>
<pre><code>jdbc:postgresql://&lt;database_host&gt;:&lt;port&gt;/&lt;database_name&gt;
</code></pre>
<p>Credentials will need to be managed via Secrets.</p>
