DNS Question! We have a pod with a couple contain...
# k3s
p
DNS Question! We have a pod with a couple containers. 1. installs a python package, so it reaches out to pi mirrors 2. reaches out to AWS 3. reaches out to a webserver over our tailscale network <tailscale-ip>:5000 So we have tried a couple configurations in our daemonset spec:
Copy code
dnsPolicy: Default
hostNetwork: true
Resolves the first two, but not the Tailscale address. I tried adding:
Copy code
dnsPolicy: ClusterFirstWithHostNet
hostNetwork: true
hostAliases:
  - ip: "100.97.220.53"
    hostnames:
      - "<http://our-app.tailcd9c7a.ts.net|our-app.tailcd9c7a.ts.net>"
But then then in the first container we get "All attempts to connect to pypi.org failed." Also tried adding some dnsConfig nameservers to google, but that didn't help either. Does anyone know how to resolve this?