<p>I'd like to run two instances of <code>k3s</code> on the same machine.</p>
<p>Let's say I have already two different master servers.</p>
<p>What I'd like to do is to install:</p>
<ol>
<li>A K3S instance to deal with Master #1.</li>
<li>A second instance to deal with Master #2.</li>
</ol>
<p>First instance will be managed by myself while the second instance will be managed by my customer.</p>
<p>Is there a way to setup two instances of K3S on the same machine?</p>

<p>Running multiple instances of k3s is not supported out of the box.<br />
You can however use tools like <a href="https://k3d.io/" rel="nofollow noreferrer">k3d</a> (running inside docker container), or <a href="https://github.com/superseb/multipass-k3s" rel="nofollow noreferrer">multipass-k3s</a> (running inside a VM).</p>
<p>chroot jail is not really an option. Rootless K3s is still in experimental stage <sup>[<a href="https://rancher.com/docs/k3s/latest/en/advanced/#running-k3s-with-rootless-mode-experimental" rel="nofollow noreferrer">reference</a>]</sup>, and applications running as root can easily break out of jail.</p>
