This message was deleted.
# k3s
a
This message was deleted.
1
c
where are you doing those lookups? those only work from within a pod that is using cluster DNS. not from the outside world.
c
Thank you, I'll check that out. I was doing those DNS queries from outside a pod.
c
yeah that’s not going to work. cluster DNS only works from inside the cluster. From outside the cluster, you’re expected to use ingress and/or manage your own DNS to point things at the nodes (or the loadbalancer IP if using an external load-balancer controller)
c
I have a feeling that the example is broken on a mismatch between
redis-slave
and
redis-replica
.
like the code was updated but the docker images weren't rebuilt or something like that…
c
the guestbook pod should be able to resolve redis-master, redis-master.default, or redis-master.default.svc
c
is there a way to do something like
docker exec -ti
to get into a pod?
c
yep
c
ok, ty!
Yeah, the example is broken, DNS resolution are working fine in the pod.