<p>I'm planning to deploy a small Kubernetes cluster (3x 32GB Nodes). I'm not experienced with K8S and I need to come up with some kind of resilient SQL database setup and CockroachDB seems like a great choice.</p>
<p>I wonder if it's possible to <em>relatively easy</em> deploy a configuration, where some CockroachDB instances (nodes?) are living inside the K8S cluster, but at the same time some other instances live outside the K8S cluster (2 on-premise VMs). All those CockroachDB would need to be considered a single CockroachDB cluster. It might be also worth noting that Kubernetes would be hosted in the cloud (eg. Linode).</p>
<p>By <em>relatively easy</em> I mean:</p>
<ul>
<li><em>simplish</em> to deploy</li>
<li>requiring little maintenance</li>
</ul>
<p><a href="https://mermaid.live/edit#pako:eNqNkU1vwjAMhv9K5DM9tGwS6nFjp62bNKReCIcsMTRSk1SpI4QQ_51klH10iOGT5fd9Yjveg3QKoYR167ayEZ7Yyzu3LEYfPjZedA17bENP6JfPswWTp3x1sijtUZJ29gv6BSbgNT7P8m8xxfzhRwGtuoYWY7S4GZ2O0ekF9DMZLfxms86j0T3etGZd5cu6Yvlq3O_uv1Hrqkhk8Ye8vz7pcBGWZVnqfqk4fFNUzwWYgEFvhFbx3Pskc6AGDXIoY9rqTUMcuD1EY-iUIHxSmpyHci3aHicgArnFzkooyQc8m-ZaxGXM4DocAUHgpow" rel="nofollow noreferrer"><img src="https://mermaid.ink/img/pako:eNqNkU1vwjAMhv9K5DM9tGwS6nFjp62bNKReCIcsMTRSk1SpI4QQ_51klH10iOGT5fd9Yjveg3QKoYR167ayEZ7Yyzu3LEYfPjZedA17bENP6JfPswWTp3x1sijtUZJ29gv6BSbgNT7P8m8xxfzhRwGtuoYWY7S4GZ2O0ekF9DMZLfxms86j0T3etGZd5cu6Yvlq3O_uv1Hrqkhk8Ye8vz7pcBGWZVnqfqk4fFNUzwWYgEFvhFbx3Pskc6AGDXIoY9rqTUMcuD1EY-iUIHxSmpyHci3aHicgArnFzkooyQc8m-ZaxGXM4DocAUHgpow" alt="" /></a></p>

Xkonti
<p>Yes, it's straight forward to do a multi-cloud deployment of CRDB. This is one of the great advantages of cockroachdb. Simply run the <code>cockroach start</code> command on each of the VMs/pods running cockroachdb and they will form a cluster.</p>
<p>See this blog post/tutorial for more info: <a href="https://www.cockroachlabs.com/blog/multi-cloud-deployment/" rel="noreferrer">https://www.cockroachlabs.com/blog/multi-cloud-deployment/</a></p>
