https://rancher.com/ logo
Title
h

happy-fountain-42547

05/10/2023, 4:20 AM
Absolute newbie here with moderate experience of k3s, and decent experience of k8s. I'm working on an internal project to host katacoda like environment where we can assess candidate's knowledge and understanding of Kubernetes after completing internal Kubernetes trainnig. To achieve this objective, I came across Hobbyfarm and it appears to be a perfect solution! However, I'm kind of struggling to find some help to start deploying and setting up the system for this use-case. I"ve a VM instance available on vSphere and can easily add up more instances to make a cluster. Any quick start to setup HobbyFarm on a VM machine? Thank you community.
f

faint-optician-47536

05/10/2023, 1:10 PM
Have you looked at https://hobbyfarm.github.io/docs/setup/ yet? we described some steps that you would need to do. Install the helm chart is the biggest of them. Afterwards you can configure hobbyfarm
h

happy-fountain-42547

05/10/2023, 2:49 PM
Yea, that was the first thing I started with and end up with an error as below: :~# helm install hf hobbyfarm --repo https://hobbyfarm.github.io/hobbyfarm --namespace hobbyfarm Error: INSTALLATION FAILED: Kubernetes cluster unreachable: Get "http://localhost:8080/version": dial tcp 127.0.0.1:8080: connect: connection refused Background: • I've helm installed • I've k3s installed on this node. • It's Ubuntu server 20.04 with no custom repo installed. • Anything I'm missing?
w

worried-fountain-60974

05/10/2023, 8:24 PM
It sounds like
KUBECONFIG
hasn't been set properly.
1
h

happy-fountain-42547

05/11/2023, 2:03 AM
Yes, bingo! Fixed the kubeconfig and honnyfarm objects are now deployed on my k3s single node machine. Exploring further tomorrow. Thanks @worried-fountain-60974 !!
❤️ 1