https://rancher.com/ logo
Title
h

handsome-salesclerk-54324

03/04/2023, 6:02 PM
I'm trying to install rancher manager on my k3s cluster running on WSL-2 but am getting
helm install rancher rancher-latest/rancher --namespace cattle-system --set hostname=<http://k3s-rancher.homelab.int|k3s-rancher.homelab.int>
Error: INSTALLATION FAILED: chart requires kubeVersion: < 1.25.0-0 which is incompatible with Kubernetes v1.25.6+k3s1
What am I doing wrong? I had previously run:
kubectl create namespace cattle-system
namespace/cattle-system created
kubectl create namespace cert-manager
namespace/cert-manager created
kubectl apply --validate=false -f <https://github.com/jetstack/cert-manager/releases/download/v1.0.4/cert-manager.crds.yaml>
<http://customresourcedefinition.apiextensions.k8s.io/certificaterequests.cert-manager.io|customresourcedefinition.apiextensions.k8s.io/certificaterequests.cert-manager.io> created
<http://customresourcedefinition.apiextensions.k8s.io/certificates.cert-manager.io|customresourcedefinition.apiextensions.k8s.io/certificates.cert-manager.io> created
<http://customresourcedefinition.apiextensions.k8s.io/challenges.acme.cert-manager.io|customresourcedefinition.apiextensions.k8s.io/challenges.acme.cert-manager.io> created
<http://customresourcedefinition.apiextensions.k8s.io/clusterissuers.cert-manager.io|customresourcedefinition.apiextensions.k8s.io/clusterissuers.cert-manager.io> created
<http://customresourcedefinition.apiextensions.k8s.io/issuers.cert-manager.io|customresourcedefinition.apiextensions.k8s.io/issuers.cert-manager.io> created
<http://customresourcedefinition.apiextensions.k8s.io/orders.acme.cert-manager.io|customresourcedefinition.apiextensions.k8s.io/orders.acme.cert-manager.io> created
helm repo add rancher-latest <https://releases.rancher.com/server-charts/latest>
"rancher-latest" already exists with the same configuration, skipping
helm repo add jetstack <https://charts.jetstack.io>
"jetstack" 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!⎈
helm install cert-manager jetstack/cert-manager --namespace cert-manager --version v1.0.4
NAME: cert-manager
LAST DEPLOYED: Sat Mar 4 09:55:31 2023
NAMESPACE: cert-manager
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
cert-manager has been deployed successfully!
In order to begin issuing certificates, you will need to set up a ClusterIssuer
or Issuer resource (for example, by creating a 'letsencrypt-staging' issuer).
More information on the different types of issuers and how to configure them
can be found in our documentation:
<https://cert-manager.io/docs/configuration/>
For information on how to configure cert-manager to automatically provision
`Certificates for Ingress resources, take a look at the `ingress-shim``
documentation:
<https://cert-manager.io/docs/usage/ingress/>
r

rich-cartoon-70161

03/04/2023, 6:57 PM
Well the chart says it wants k8s < 1.25
c

creamy-pencil-82913

03/04/2023, 8:57 PM
chart requires kubeVersion: < 1.25.0-0 which is incompatible with Kubernetes v1.25.6+k3s1
Is more explanation needed?
h

handsome-salesclerk-54324

03/04/2023, 9:48 PM
I was hoping there was a more recent chart that worked with that this version of kubernetes or an alternative approach that would work with this version
c

creamy-pencil-82913

03/05/2023, 2:22 AM
nope. Rancher doesn’t support 1.25 or 1.26 yet.
next release should