Dustin C. Hatch 473e279a18 tf/userdata: Remove default DNS configuration
Lately, cloud nodes seem to be failing to come up more frequently.  I
traced this down to the fact that `/etc/resolv.conf` in the `kube-proxy`
container contains both the AWS-provided DNS server and the on-premises
server set by Wireguard.  This evidently "works" correctly sometimes,
but not always.  When it doesn't, the `kube-proxy` cannot resolve the
Kubernetes API server address, and thus cannot create the necessary
netfilter rules to forward traffic correctly.  This causes pods to be
unable to communicate.

I am not entirely sure what the "correct" solution to this problem would
be, since there are various issues in play here.  Fortunately, cloud
nodes are only ever around for a short time, and never need to be
rebooted.  As such, we can use a "quick fix" and simply remove the
AWS-provided DNS configuration.
2023-11-13 19:52:57 -06:00
2022-10-07 07:37:20 -05:00
2022-09-10 10:30:54 -05:00
2022-08-31 21:02:17 -05:00
2022-09-05 09:45:44 -05:00
2022-09-11 13:17:54 -05:00
2022-08-31 21:02:17 -05:00
Description
No description provided
314 KiB
Languages
Rust 91.4%
HCL 6.5%
Shell 2%
Dockerfile 0.1%