Ubuntu使用kubespray部署Kuboard遇到的坑


Administrator 发布于 2026-04-27 / 3 阅读 / 0 评论 /
一、安装前务必禁用systemd-resolved,使用NetworkManager 禁用systemd-resolved # 1. 停止服务

一、安装前务必禁用systemd-resolved,使用NetworkManager

禁用systemd-resolved

# 1. 停止服务

systemctl stop systemd-resolved

# 2. 禁用开机自启(关键)

systemctl disable systemd-resolved

# 3. 屏蔽服务(防止被其他程序自动拉起)

systemctl mask systemd-resolved

移除旧的 resolv.conf 符号链接

sudo rm -f /etc/resolv.conf

vim /etc/NetworkManager/NetworkManager.conf

[main]

#plugins=ifcfg-rh,ibft

systemd-resolved=false

dns=none

systemctl restart NetworkManager

二、建议关闭 节点DNS服务

Kuboard Spray集群管理界面Kubernetes下面找的DNS功能,去掉节点DNS前面的对勾即可



是否对你有帮助?