https://rancher.com/ logo
Title
d

dazzling-architect-93010

05/08/2023, 4:20 AM
Hi Team, I have deployed a Rancher server by following this doc -> https://ranchermanager.docs.rancher.com/getting-started/quick-start-guides/deploy-rancher-manager/aws. Now I am trying to create a new RKE cluster in my cloud but I am not able to do it. I getting an error when as shown below. I am giving the right details but still I am getting 403 issue. Can anyone help?
l

loud-island-50549

05/08/2023, 4:56 AM
I think the reason it's clear for message. please check your IAM policy quick start is for terraform to create single instances deploy rancher server. So policy is for ec2. If you create cluster by this funture . It will create EKS cluster for you. So I think the policy it's not the same. I've try use AWS secrect key to create clusters with my root accounts. It's okay. I not sure what is the minimum policy is . But I think the funture is correct.
d

dazzling-architect-93010

05/08/2023, 5:07 AM
ok Thanks for the update. Is there any way I can deploy a RKE cluster using the same code?
I mean if I provide the RKE node version in the terraform script will it deploy a RKE cluster instead of RKE2 ?
l

loud-island-50549

05/08/2023, 6:22 AM
I don't know. Maybe you can try yourself.
d

dazzling-architect-93010

05/08/2023, 6:24 AM
ok may I know the RKE node version? which I need to provide in the tfvars file to deploy the RKE cluster instead of RKE2?
So what I am looking for is for RKE2 this is the value I am providing in Terraform script vars v1.24.13+rke2r1. So similarly for RKE what should be the version that I should use to deploy through this script?
h

hundreds-evening-84071

05/08/2023, 11:08 AM
With rke binary, you can run this command to get specific version:
rke config --list-version --all
and depending on version of binary you have it may have different list
https://github.com/rancher/rke for RKE versions and if you review the release notes it will show you specific kubernetes versions