https://rancher.com/ logo
Title
s

some-book-73639

02/14/2023, 3:02 PM
Morning - Rancher Desktop installed using containerd on OS X Ventura. Seem to be having a problem getting to web resources within pods. nslookup from within a pod works perfectly fine, however wget return bad address. Mac currently has firewall disabled. Any ideas?
If I run: kubectl run -it --rm --restart=Never busybox --image=busybox:1.28 -- wget https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz It downloads successfully. However any other pods that are running, it fails with bad address.
p

proud-jewelry-46860

02/14/2023, 7:09 PM
Hmm, there shouldn't be any difference; presumably you've already tried comparing
/etc/resolv.conf
and things like that? Especially if there's multiple entries some how (I wouldn't expect more than one)… Those pods don't have any non-default networking configuration right?
s

some-book-73639

02/14/2023, 8:22 PM
Everything seems fine - hostnames are resolving when using nslookup, so that should rule out the resolv.conf file. No non-default anything that I can see.
p

proud-jewelry-46860

02/14/2023, 8:29 PM
Right, that was why I mentioned having multiple nameservers in
resolv.conf
(technically it's undefined which server you use, as it's not supposed to be an ordered list, so it's possible that one thing happened to pick a luckier server). But that doesn't sound relevant here…
s

some-book-73639

02/14/2023, 8:47 PM
Nope. It was using the kube-dns server, but for giggles, I added 8.8.8.8 before it just to see. hostnames were always resolving though. Very odd.
p

proud-jewelry-46860

02/14/2023, 10:21 PM
Maybe something is being silly and trying to use IPv6?
Not that I have particular reasons for thinking that would lead to the described behaviour; this is more just generically blaming IPv6 when I start running out of ideas…
c

cuddly-umbrella-82227

02/23/2023, 3:45 PM
I’ve have the same issue with my Mac M1 with wifi only. Lots of weird networking stuff on local cluster and one I built in Parallels. If I had ethernet I’d try that and see if it was any better. The Mac wifi causes me some issues when my networking gets crazy like with k8s and vms.