I'd like to run two instances of k3s
on the same machine.
Let's say I have already two different master servers.
What I'd like to do is to install:
- A K3S instance to deal with Master #1.
- A second instance to deal with Master #2.
First instance will be managed by myself while the second instance will be managed by my customer.
Is there a way to setup two instances of K3S on the same machine?
CodePudding user response:
Running multiple instances of k3s is not supported out of the box.
You can however use tools like k3d (running inside docker container), or multipass-k3s (running inside a VM).
chroot jail is not really an option. Rootless K3s is still in experimental stage [reference], and applications running as root can easily break out of jail.