12/31/2022, 1:50 PM
@here … i am using rancher desktop on a M1 mac and v activated kubernetes + traefik + install rancher kubernetes ui …… on the M1 i can visit the rancher page ( - private DNS-Server and hosts-File on M1 configured, without entry in hosts file i can’t reach the url locally too) and can do something else with the local cluster ….. but if i try to add a remote cluster (5 node’s k8 cluster (all Ubuntu machines) in my lab, the cattle cluster agent will spawn but cannot connect back to rancher on M1 …. following error in pod-log:
INFO: Environment: CATTLE_ADDRESS= CATTLE_CA_CHECKSUM=b613734ff8828536815451b443d012a82e583af53b50291f4940f6bdf32a8204 CATTLE_CLUSTER=true CATTLE_CLUSTER_AG │
INFO: Using resolv.conf: search cattle-system.svc.cluster.local svc.cluster.local cluster.local nameserver options ndots:5                                       │
ERROR: <> is not accessible (Could not resolve host:
if i install rancher directly (via helm) on top of the “external” cluster (no rancher on M1) i can reach rancher ui from anywhere and play with the “external” k8-cluster (funny thing: here, i dont neet to configure hosts-Files, only the A record in the DNS-Server ) Any idea whats going wrong or i v to configure ?


01/01/2023, 5:57 PM
remote k8s cannot access back your local rancher instance.