Rke or rancher ui to create kubernetes cluster?

Our cluster is on-premise. rancher2 is running alone in a VM. The kubernetes nodes are physical.

If I create a kubernetes cluster using rke and import it into rancher2, then I can re-run rke to add/remove/update the kubernetes cluster.

If I create a kubernetes cluster using the rancher2 UI to generate a docker command to run on each kubernetes node, then how do I remove/update the kubernetes cluster?

Any warnings about using either of the above methods to create the kubernetes cluster?

Thanks,

Ron

RKE every time. Automation should be your number 1 consideration if you are at all interested in repeatability.

Either way is valid, and pretty much end in the same end-product (a containerized Kubernetes cluster). I prefer to use the UI -> Custom Cluster -> docker command to create workload clusters on-prem. Mainly for simplicity sake, and haven’t had any issues. You can easily update the kubernetes version right in the GUI (Edit Cluster button). If you later want to blow away the cluster, there is a page in the docs that gives the steps. Looks like a lot of work at first glance, but you can copy/paste most of it. I’ve done it many many times in lab, and it works and returns “clean” nodes.

https://rancher.com/docs/rancher/v2.x/en/cluster-admin/cleaning-cluster-nodes/