Unable to setup Rancher 2.6

Hello,

I’m trying to install Rancher on a kubernetes cluster configured through RKE but facing issues.
I’m done with the cert-manager step and used below command to install Rancher:

helm install rancher rancher-latest/rancher --namespace cattle-system --set hostname=rancher.167.xx.xx.181.sslip.io --set replicas=1

All the pods under cattle-system ns are going into Error state.

Pods have two containers running ‘helm’ and ‘proxy’ out of which container ‘helm’ is failing for all pods.

[kubenode@localhost ~]$ kubectl logs helm-operation-9pvn9 helm -n cattle-system

Waiting for Kubernetes API to be available

Waiting for Kubernetes API to be available

Waiting for Kubernetes API to be available

Waiting for Kubernetes API to be available

Waiting for Kubernetes API to be available

Waiting for Kubernetes API to be available

Waiting for Kubernetes API to be available

Also getting status as unhealthy for Scheduler

kubectl get cs
Warning: v1 ComponentStatus is deprecated in v1.19+
NAME STATUS MESSAGE ERROR
scheduler Unhealthy Get “http://127.0.0.1:10251/healthz”: dial tcp 127.0.0.1:10251: connect: connection refused
controller-manager Healthy ok
etcd-0 Healthy {“health”:“true”}


It’s a single node Kubernetes cluster configured via RKE.
Node details
OS-CentOS
CPU-4GB
VCPU-4
HDD-160GB

rke version
INFO[0000] Running RKE version: v1.3.1Server Version: version.Info{Major:“1”, Minor:“21”, GitVersion:“v1.21.5”, GitCommit:“aea7bbadd2fc0cd689de94a54e5b7b758869d691”, GitTreeState:“clean”, BuildDate:“2021-09-15T21:04:16Z”, GoVersion:“go1.16.8”, Compiler:“gc”, Platform:“linux/amd64”}