RPi4 - Rancher Install on Ubuntu Server 24.04

Hey Everyone,

I am trying to install a RPi4 cluster and put Rancher on it as well. I am also installing Longhorn.

Raspberry Pi 4b (8gb model)
OS: Ubuntu Server 24.04 (Noble Numbat)
Microk8s v1.28.10

I am trying to install via helm with the following:

helm install rancher rancher-latest/rancher \
  --namespace cattle-system \
  --set hostname=server.myinternal.dom \
  --set replicas=3 \
  --set bootstrapPassword=some_secret

It gave me the following error:

Error: INSTALLATION FAILED: Kubernetes cluster unreachable: Get "http://localhost:8080/version": dial tcp [::1]:8080: connect: connection refused

trust me I have been searching for a few days on how to resolve this error.

Any help would be appreciated Thanks,

P.S. Please forgive me if I posted in the wrong area.

So apparently I didn’t have cert-manager installed. After installing it I get a webhook internal error. I will figure it out and post the result when I get it.

Thanks everyone,