# Rancher install failed with helm

**URL:** https://forums.suse.com/t/rancher-install-failed-with-helm/40523
**Category:** General
**Created:** [April 24, 2023, 10:55pm UTC](https://forums.suse.com/t/rancher-install-failed-with-helm/40523 "2023-04-24T22:55:26Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![J\_McEvoy](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/j_mcevoy/32/10099_2.png) [@J\_McEvoy](https://forums.suse.com/u/J_McEvoy)
#### Post date: [April 24, 2023, 10:55pm UTC](https://forums.suse.com/t/rancher-install-failed-with-helm/40523/1 "2023-04-24T22:55:26Z")

</div>

hello I’m new to k3s, Kubernetes and rancher,  
every time I install rancher I get the following error:  
INSTALLATION FAILED: chart requires kubeVersion: \< 1.26.0-0 which is incompatible with Kubernetes v1.26.4+k3s1

---

<div class="post-metadata">

### Author: ![malcolmlewis1](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis1/32/10022_2.png) [@malcolmlewis1](https://forums.suse.com/u/malcolmlewis1)
#### Post date: [April 24, 2023, 11:35pm UTC](https://forums.suse.com/t/rancher-install-failed-with-helm/40523/2 "2023-04-24T23:35:37Z")

</div>

@J_McEvoy Hi, how are you installing k3s and what Rancher version?

Version 2.7.3 supports up to v1.25.7 of k3s…

---

<div class="post-metadata">

### Author: ![J\_McEvoy](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/j_mcevoy/32/10099_2.png) [@J\_McEvoy](https://forums.suse.com/u/J_McEvoy)
#### Post date: [April 25, 2023, 9:22am UTC](https://forums.suse.com/t/rancher-install-failed-with-helm/40523/3 "2023-04-25T09:22:19Z")

</div>

Hello,  
I’m using the quick start guide on the k3s website to install on Ubuntu server and following the instructions in this link: [High Availability Rancher on Kubernetes | Techno Tim Documentation](https://docs.technotim.live/posts/rancher-ha-install/)

---

<div class="post-metadata">

### Author: ![malcolmlewis1](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis1/32/10022_2.png) [@malcolmlewis1](https://forums.suse.com/u/malcolmlewis1)
#### Post date: [April 25, 2023, 11:41am UTC](https://forums.suse.com/t/rancher-install-failed-with-helm/40523/4 "2023-04-25T11:41:42Z")

</div>

@J_McEvoy not sure how you installed k3s, but if via their script you need to specify the version via INSTALL\_K3S\_VERSION

For example

```auto
curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION={K3s version} sh -

```

Or Download direct at [https://github.com/k3s-io/k3s/releases](https://github.com/k3s-io/k3s/releases)

Since your getting started you might want to check out [All Products - Rancher Academy](https://www.rancher.academy/collections)

---

<div class="post-metadata">

### Author: ![J\_McEvoy](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/j_mcevoy/32/10099_2.png) [@J\_McEvoy](https://forums.suse.com/u/J_McEvoy)
#### Post date: [April 25, 2023, 12:55pm UTC](https://forums.suse.com/t/rancher-install-failed-with-helm/40523/5 "2023-04-25T12:55:58Z")

</div>

See screenshot:

 ![IMG_0112](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/3/322a32de5c672cc2b3a405a8d733754b28ac4149.jpeg)

---

<div class="post-metadata">

### Author: ![malcolmlewis1](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis1/32/10022_2.png) [@malcolmlewis1](https://forums.suse.com/u/malcolmlewis1)
#### Post date: [April 25, 2023, 1:12pm UTC](https://forums.suse.com/t/rancher-install-failed-with-helm/40523/6 "2023-04-25T13:12:47Z")

</div>

@J_McEvoy I suspect you have the latest version, hence the failure…

```auto
k3s --version

```

---

<div class="post-metadata">

### Author: ![malcolmlewis1](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis1/32/10022_2.png) [@malcolmlewis1](https://forums.suse.com/u/malcolmlewis1)
#### Post date: [April 25, 2023, 2:01pm UTC](https://forums.suse.com/t/rancher-install-failed-with-helm/40523/7 "2023-04-25T14:01:18Z")

</div>

@J_McEvoy I just did a quick install on openSUSE MicroOS (bare-metal) and all good, it’s just a single node so replicas are set to one (1);

```auto
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3
chmod 700 get_helm.sh
./get_helm.sh

helm version
version.BuildInfo{Version:"v3.11.3", GitCommit:"323249351482b3bbfc9f5004f65d400aa70f9ae7", GitTreeState:"clean", GoVersion:"go1.20.3"}

curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION={v1.25.7+k3s1} INSTALL_K3S_EXEC="--node-external-ip=192.168.10.20" sh -

kubectl cluster-info

Kubernetes control plane is running at https://127.0.0.1:6443
CoreDNS is running at https://127.0.0.1:6443/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy
Metrics-server is running at https://127.0.0.1:6443/api/v1/namespaces/kube-system/services/https:metrics-server:https/proxy

kubectl get nodes -o wide

NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
kermit Ready control-plane,master 2m4s v1.25.7+k3s1 192.168.10.20 192.168.10.20 openSUSE MicroOS 6.2.12-1-default containerd://1.6.15-k3s1

helm repo add jetstack https://charts.jetstack.io --force-update
"jetstack" has been added to your repositories

helm repo add rancher-latest https://releases.rancher.com/server-charts/latest --force-update
"rancher-latest" has been added to your repositories

helm repo update
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "jetstack" chart repository
...Successfully got an update from the "rancher-latest" chart repository
Update Complete. ⎈Happy Helming!⎈

export KUBECONFIG=/etc/rancher/k3s/k3s.yaml

helm install cert-manager jetstack/cert-manager --namespace cert-manager --create-namespace --version=1.11.1 --set installCRDs=true

kubectl -n cert-manager rollout status deploy/cert-manager
deployment "cert-manager" successfully rolled out

kubectl -n cert-manager rollout status deploy/cert-manager-webhook
deployment "cert-manager-webhook" successfully rolled out
 
kubectl create namespace cattle-system
namespace/cattle-system created

helm install rancher rancher-latest/rancher --namespace cattle-system --set hostname=kermit.homelinux.org --set replicas=1 --version=2.7.3 --set bootstrapPassword=iamadmin --set global.cattle.psp.enabled=false

```

---

<div class="post-metadata">

### Author: ![J\_McEvoy](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/j_mcevoy/32/10099_2.png) [@J\_McEvoy](https://forums.suse.com/u/J_McEvoy)
#### Post date: [April 25, 2023, 7:41pm UTC](https://forums.suse.com/t/rancher-install-failed-with-helm/40523/8 "2023-04-25T19:41:44Z")

</div>

did you use the k3s quick start in the screenshot??

---

<div class="post-metadata">

### Author: ![malcolmlewis1](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis1/32/10022_2.png) [@malcolmlewis1](https://forums.suse.com/u/malcolmlewis1)
#### Post date: [April 25, 2023, 7:49pm UTC](https://forums.suse.com/t/rancher-install-failed-with-helm/40523/9 "2023-04-25T19:49:20Z")

</div>

@J_McEvoy similar, I just added the version to install (and my local ip address), AFAIK that will install the latest version which won’t work with Rancher.

---

<div class="post-metadata">

### Author: ![J\_McEvoy](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/j_mcevoy/32/10099_2.png) [@J\_McEvoy](https://forums.suse.com/u/J_McEvoy)
#### Post date: [April 25, 2023, 7:53pm UTC](https://forums.suse.com/t/rancher-install-failed-with-helm/40523/10 "2023-04-25T19:53:07Z")

</div>

Sorry only noticed your long instructions. Will use them now, just booted up a fresh proxmox ubuntu server vm

---

<div class="post-metadata">

### Author: ![J\_McEvoy](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/j_mcevoy/32/10099_2.png) [@J\_McEvoy](https://forums.suse.com/u/J_McEvoy)
#### Post date: [April 25, 2023, 9:08pm UTC](https://forums.suse.com/t/rancher-install-failed-with-helm/40523/11 "2023-04-25T21:08:23Z")

</div>

got this error:error: deployment “cert-manager-webhook” exceeded its progress deadline and this, see screenshot

 ![Screenshot_10](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/3/3a872eccd4ede5e025f6868e6cab7a1b63693798.png)

---

<div class="post-metadata">

### Author: ![malcolmlewis1](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis1/32/10022_2.png) [@malcolmlewis1](https://forums.suse.com/u/malcolmlewis1)
#### Post date: [April 25, 2023, 9:28pm UTC](https://forums.suse.com/t/rancher-install-failed-with-helm/40523/12 "2023-04-25T21:28:38Z")

</div>

@J_McEvoy Hi what does the following show;

```auto
kubectl -n cert-manager rollout status deploy/cert-manager-webhook
kubectl get pods -o wide -n cert-manager

```

And you exported the config;

```auto
export KUBECONFIG=/etc/rancher/k3s/k3s.yaml

```

---

<div class="post-metadata">

### Author: ![J\_McEvoy](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/j_mcevoy/32/10099_2.png) [@J\_McEvoy](https://forums.suse.com/u/J_McEvoy)
#### Post date: [April 25, 2023, 9:41pm UTC](https://forums.suse.com/t/rancher-install-failed-with-helm/40523/13 "2023-04-25T21:41:18Z")

</div>

![Screenshot_11](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/a/a83bdd1192f022a2b55ef8849147c073d9bc4440.png)  
hello again, please see screenshot

---

<div class="post-metadata">

### Author: ![malcolmlewis1](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis1/32/10022_2.png) [@malcolmlewis1](https://forums.suse.com/u/malcolmlewis1)
#### Post date: [April 25, 2023, 9:49pm UTC](https://forums.suse.com/t/rancher-install-failed-with-helm/40523/14 "2023-04-25T21:49:54Z")

</div>

@J_McEvoy the order is important, you should only need to sudo for the install of helm and k3s (and check the service has started).

As your user export the KUBECONFIG, then run the kubectl commands…

---

<div class="post-metadata">

### Author: ![J\_McEvoy](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/j_mcevoy/32/10099_2.png) [@J\_McEvoy](https://forums.suse.com/u/J_McEvoy)
#### Post date: [April 25, 2023, 10:02pm UTC](https://forums.suse.com/t/rancher-install-failed-with-helm/40523/15 "2023-04-25T22:02:16Z")

</div>

here:

 ![Screenshot_12](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/f/fc0feb168d859c9e77ae8f43fad0c50be13bc586.png)

---

<div class="post-metadata">

### Author: ![malcolmlewis1](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis1/32/10022_2.png) [@malcolmlewis1](https://forums.suse.com/u/malcolmlewis1)
#### Post date: [April 25, 2023, 10:09pm UTC](https://forums.suse.com/t/rancher-install-failed-with-helm/40523/16 "2023-04-25T22:09:08Z")

</div>

@J_McEvoy ahh ok, so copy it to your working directory and check permissions;

```auto
cp /etc/rancher/k3s/k3s.yaml .
ls -la k3s.yaml
export KUBECONFIG=$(pwd)/k3s.yaml

```

---

<div class="post-metadata">

### Author: ![J\_McEvoy](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/j_mcevoy/32/10099_2.png) [@J\_McEvoy](https://forums.suse.com/u/J_McEvoy)
#### Post date: [April 25, 2023, 10:22pm UTC](https://forums.suse.com/t/rancher-install-failed-with-helm/40523/17 "2023-04-25T22:22:34Z")

</div>

sorry i know im a pain. but here u go:

 ![Screenshot_13](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/0/0a161068792d54839a3b8e6dae4c4b6aac4e37b6.png)

---

<div class="post-metadata">

### Author: ![malcolmlewis1](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis1/32/10022_2.png) [@malcolmlewis1](https://forums.suse.com/u/malcolmlewis1)
#### Post date: [April 25, 2023, 10:31pm UTC](https://forums.suse.com/t/rancher-install-failed-with-helm/40523/18 "2023-04-25T22:31:39Z")

</div>

@J_McEvoy not a problem, it’s all a learning process 😉

So you need to use the `chown` command to set to user username and group, for example

```auto
chown jhmc93:users k3s.yaml

```

Assuming I got your username correct (I’m not sure what group your in…), run the command groups to see or just look at the username and group from the output of `ls -la`

---

<div class="post-metadata">

### Author: ![J\_McEvoy](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/j_mcevoy/32/10099_2.png) [@J\_McEvoy](https://forums.suse.com/u/J_McEvoy)
#### Post date: [April 25, 2023, 10:43pm UTC](https://forums.suse.com/t/rancher-install-failed-with-helm/40523/19 "2023-04-25T22:43:18Z")

</div>

![Screenshot_14](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/8/8856d7d212a822aff3a5a8da3b7cb43ae401a328.png)  
there u go

---

<div class="post-metadata">

### Author: ![malcolmlewis1](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis1/32/10022_2.png) [@malcolmlewis1](https://forums.suse.com/u/malcolmlewis1)
#### Post date: [April 25, 2023, 10:44pm UTC](https://forums.suse.com/t/rancher-install-failed-with-helm/40523/20 "2023-04-25T22:44:57Z")

</div>

@J_McEvoy run `export KUBECONFIG=$(pwd)/k3s.yaml` first.

[Next page](https://forums.suse.com/t/rancher-install-failed-with-helm/40523.md?page=2)
