'Gracefully Remove K3S Node

After installing 2 master nodes according to the k3s docs we now want to remove one node (don't ask).

We know that if we shut down one node, the entire cluster "dies". No services accessible, no Kubernetes API available.

Is there a way to gracefully remove a node and return to a single node (embedded etcd) cluster?

Theoretically it must be possible since during installation we started with a working, single node cluster.

k3s


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source