https://rancher.com/ logo
Title
f

flaky-shampoo-86024

08/17/2022, 1:53 AM
Hi, am trying to create new EKS cluster from Rancher GUI. Am not able to skip Node Group details ? Version of Rancher is 2.6.5. If I choose node group, what should I fill in UserData?. When I try as is, it fails on nodegroup join error
Error while applying agent YAML, it will be retried automatically: exit status 1, Unable to connect to the server: remote error: tls: internal error
[Disconnected] Cluster agent is not connected
b

busy-ability-54059

08/17/2022, 9:43 AM
Hi @flaky-shampoo-86024 . Personally I never tried using EKS, but there's an option called
server-url
which might be what you are looking for. You should set the URL to the main entry point to your Rancher Server, otherwise 3rd party providers might not be able to reach back to your server. Hope it helps. 🙏
i was able to reach..from node using serverurl..but same issue
Worked 1. Create Private Cert openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout tls.key -out tls.crt -subj "/CN=yourdomain.com/O=dummyorg" -addext "subjectAltName = DNS:yourdomain.com" Note: Version openssl ver 1.1.1f 2. Create Secret
kubectl -n cattle-system create secret tls tls-rancher-ingress \
--cert=tls.crt \
--key=tls.key
kubectl -n cattle-system create secret generic tls-ca \ --from-file=cacerts.pem=./cacerts.pem 3. Install Rancher helm upgrade rancher rancher-latest/rancher \ --namespace cattle-system \ --set hostname=yourdomain.com\ --set bootstrapPassword=<rancherdesiredpassword> \ --set ingress.tls.source=secret \ --set privateCA=true