测试有用 ubuntu server 22.04 LTS systemd-resolved can cause issues with Kubernetes (not to mention the time spent troubleshooting various issues). Fix Disable the systemd-resolved service Remove the remove the existing /etc/resolv.conf file, which is currently a symbolic link to /run/systemd/resolve/stub-resolv.conf Create a new static resolv.conf