https://rancher.com/ logo
Title
e

eager-pilot-82769

04/27/2023, 1:06 PM
Hello. How's everybody? I love Rancher for 2 years now, I've been using it to manage kubernetes. And I like Harvester's idea for some particular solution using VMs. I have a question and I would like to know if someone can answer me: If I create a cluster with Harvester, it internally uses Kubernetes and KubeVirt for VM management. Can't that Kubernetes be used to also deploy containers like deployments, etc? To use containers, you would have to build VMs, and mount a kubernetes cluster on them. Is there something that prevents using the same kubernetes for both containers and VMs?
b

bright-fireman-42144

04/27/2023, 5:40 PM
yes, at the moment there is. As SUSE harvester is targeted at the hypervisor consumer by using the underlying Kubernetes/rancher/longhorn/etc. that it is built on you are tying your container workloads to those specific versions and support and maintenance would be a nightmare. Imagine a security patch that fixes a component of a harvester cluster necessitating that all your actual application container workloads go off line. Where as, if there is a security patch for the OS you are installing the kubernetes binaries on and running workloads, if using harvester, that is just a change to your base vm template.
­čĹŹ 1
p

prehistoric-balloon-31801

04/28/2023, 4:00 AM
Is there something that prevents using the same kubernetes for both containers and VMs?
As Dave pointed out (Thanks Dave!), the main reason to this is VMs are more manageable.
Deploying container workload on the baremetal cluster will be available in v1.2.0. Stay tuned :) https://github.com/harvester/harvester/issues/2679