Skip to main content
Question

Which Linux Distribution for Kubernetes/miniKube


k00laidIT
Forum|alt.badge.img+8

Hey all, going to try to start up with a bare metal, single node kubernetes implementation with kubevirt. From what I can gather minikube is probably the easiest method to get there so plan to use that as my k8s level. One question I have is that of what is the preferred linux distro to sit underneath such things? I tend to skew towards ubuntu but curious if you all see something better out there for this kind of use case.

19 comments

Geoff Burke
Forum|alt.badge.img+22
  • Veeam Legend, Veeam Vanguard
  • 1312 comments
  • March 20, 2024

Ubuntu is fine. Also checkout K3S it is closer to a real K8S distro and not that much more of a learning curve.

At the end of the day though whatever you feel more comfortable with!

 

If you have any questions please reach out :) 

 


Geoff Burke
Forum|alt.badge.img+22
  • Veeam Legend, Veeam Vanguard
  • 1312 comments
  • March 20, 2024

Also you can install both on your laptop too to have a nuke zone, i.e. where you feel free to go nuts and then wipe out without nuking the lab too:


k00laidIT
Forum|alt.badge.img+8
  • Author
  • Veeam Vanguard
  • 73 comments
  • March 20, 2024

awesome, thanks for the information @Geoff Burke !


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • 8400 comments
  • March 20, 2024

I am interested in this as well to get going with Kubernetes and Kasten stuff.  šŸ‘€


Geoff Burke
Forum|alt.badge.img+22
  • Veeam Legend, Veeam Vanguard
  • 1312 comments
  • March 20, 2024

If I remember correctly you are a Macman as well so Rancher Desktop runs on ARM too

 

https://rancherdesktop.io/


saintdle
Forum|alt.badge.img+3
  • Veeam Vanguard
  • 17 comments
  • March 20, 2024

So if you want bare metal over running this on my daily driver machine, youā€™ve a few options

 

OpenShift single node - sign up for an account with red hat, get 60 days trial licence from an install, use the assisted installer (liveCD) to built your node from scratch. https://docs.openshift.com/container-platform/4.15/installing/installing_sno/install-sno-installing-sno.html

Rancher https://medium.com/@gregory.grubbs/putting-up-a-rancher-kubernetes-cluster-on-bare-metal-dce3b8ac2a4a

Or Talos Linux, which I think is getting really popular atm, and probably what Iā€™d look at first. https://www.talos.dev/

 

@michaelcade has been using Talos for his homelab at the moment as well, https://github.com/MichaelCade/Kargo

 

Ciao, Jurgen Kubernetes Klopp!


michaelcade
Forum|alt.badge.img+7
  • Product Strategy
  • 114 comments
  • March 20, 2024
Geoff Burke wrote:

If I remember correctly you are a Macman as well so Rancher Desktop runs on ARM too

 

https://rancherdesktop.io/

You wonā€™t be able to run K10 on ARM 


michaelcade
Forum|alt.badge.img+7
  • Product Strategy
  • 114 comments
  • March 20, 2024

Talos for me! 


michaelcade
Forum|alt.badge.img+7
  • Product Strategy
  • 114 comments
  • March 20, 2024

Talos is super easy to create a cluster on vSphere or bare metal 


Geoff Burke
Forum|alt.badge.img+22
  • Veeam Legend, Veeam Vanguard
  • 1312 comments
  • March 20, 2024

@michaelcade is sporting his Kubecon look!! :) 


Geoff Burke
Forum|alt.badge.img+22
  • Veeam Legend, Veeam Vanguard
  • 1312 comments
  • March 22, 2024

Just to follow up. I had a free moment and you got me intrigued so I decided to try this out on my non work (i.e. less resources) Laptop. Literally took 10 minutes to get it going on Rancher Desktop on windows. Now have not started to play with it so we will see but nevertheless:

 

 


Geoff Burke
Forum|alt.badge.img+22
  • Veeam Legend, Veeam Vanguard
  • 1312 comments
  • March 22, 2024

ah @k00laidIT you knew I was a Kubernetes junkie anyways and now you have enabled me šŸ˜‚ even more. I donā€™t know why I had avoided or not wandered into Kubevirt before. The problem with Kubernetes is that it is like being on a street with candy stores on both sides, this when you are trying to stick to a diet. 

Anyways, better than drinking beer. I will do a few posts on kubevirt in the near future and see what I can squeeze out of my lego lab. I played around with Rancher Desktop yesterday but as @michaelcade and @saintdle said Talos should be more fun and will try a multi node cluster with it as well. 

 


saintdle
Forum|alt.badge.img+3
  • Veeam Vanguard
  • 17 comments
  • March 22, 2024
michaelcade wrote:

Talos for me! 

geek!


saintdle
Forum|alt.badge.img+3
  • Veeam Vanguard
  • 17 comments
  • March 22, 2024
Geoff Burke wrote:

ah @k00laidIT you knew I was a Kubernetes junkie anyways and now you have enabled me šŸ˜‚ even more. I donā€™t know why I had avoided or not wandered into Kubevirt before. The problem with Kubernetes is that it is like being on a street with candy stores on both sides, this when you are trying to stick to a diet. 

Anyways, better than drinking beer. I will do a few posts on kubevirt in the near future and see what I can squeeze out of my lego lab. I played around with Rancher Desktop yesterday but as @michaelcade and @saintdle said Talos should be more fun and will try a multi node cluster with it as well. 

 

Maybe you can compare Beer to KubeVirt and make it your thing? a connoisseur of alcohol and cloud native.


Geoff Burke
Forum|alt.badge.img+22
  • Veeam Legend, Veeam Vanguard
  • 1312 comments
  • March 22, 2024

Kubebeer? Now that would be CNCF project!!!


Geoff Burke
Forum|alt.badge.img+22
  • Veeam Legend, Veeam Vanguard
  • 1312 comments
  • March 22, 2024

could leverage the brainā€™s eBPF so right in its Kernel. Does cilium for EBPF still leverage a ā€œsidebarā€ ;)  


michaelcade
Forum|alt.badge.img+7
  • Product Strategy
  • 114 comments
  • March 23, 2024

I think itā€™s time for us all to jump on a call to discuss and share some of this learningā€¦.. 


Geoff Burke
Forum|alt.badge.img+22
  • Veeam Legend, Veeam Vanguard
  • 1312 comments
  • March 23, 2024

One important thing to remember if you do this on K3S (and I imagine Talos as well, I will try that later) if you want to use software virtualization emulation then you need to set it in the kubevirt CR:

spec.configuration.developerConfiguration.useEmulation to true

 

kubectl edit -n kubevirt kubevirt kubevirt

and add 

spec:
    ...
    configuration:
    developerConfiguration:
        useEmulation: true

or before you start

export VERSION=$(curl -s https://storage.googleapis.com/kubevirt-prow/release/kubevirt/kubevirt/stable.txt)

wget https://github.com/kubevirt/kubevirt/releases/download/${VERSION}/kubevirt-cr.yaml

and then edit the kubevirt-cr.yaml before applying.

 

I will do a quick post on getting it going on a small 3 node k3s cluster in a bit.


Geoff Burke
Forum|alt.badge.img+22
  • Veeam Legend, Veeam Vanguard
  • 1312 comments
  • March 23, 2024

This is a lot of fun. Will give Talos and Rancher Desktop a try later but I have used up my allowed Saturday morning screen time already :( Here is the link to my morning setup:

https://community.veeam.com/kubernetes-korner-90/kubevirt-on-k3s-7073?postid=58158#post58158


Comment