我想在 Ubuntu 服务器(v18.04)中安装 Rancher。我正在关注这个文档,我想安装 k3s。当我使用命令安装时
curl -sfL https://get.k3s.io | sh
一切正常。
但是当我尝试使用 MySQL 数据库安装它时,文档说:
curl -sfL https://get.k3s.io | sh -s - server \
--datastore-endpoint="mysql://root:mypassword@tcp(localhost:3306)/dbk3s"
我收到以下错误:
Nameserver limits were exceeded, some nameservers have been omitted, the applied nameserver line is
MySQL 服务器运行没有问题,我已经创建了 dbk3s 数据库。看起来问题与 Ubuntu 仅限于 3 个 DNS 名称服务器记录和 6 个 DNS 搜索记录有关,但我不确定。