问题描述
我有一个我无法理解的奇怪问题。 在 ubuntu 服务器 18.04 LTS 上运行带有外部 MysqL 数据库的 k3s 集群,所有预安装的 pod 都在运行。 我将我的 k3s 集群连接到 GitLab 并想在我的集群上安装 Prometheus 和 Runners。 但是,pod 安装失败:
Error: looks like "https://gitlab-org.gitlab.io/cluster-integration/helm-stable-archive" is not a valid chart repository or cannot be reached: Get https://gitlab-org.gitlab.io/cluster-integration/helm-stable-archive/index.yaml: dial tcp: lookup gitlab-org.gitlab.io on 10.43.0.10:53: read udp 10.42.0.57:53088->10.43.0.10:53: read: connection refused
ufw 被禁用 环顾四周,我发现这可能是 iptables 的问题,所以我尝试添加一些规则:
iptables -I INPUT 3 -s 10.42.0.0/16 -j ACCEPT
iptables -I INPUT 3 -d 10.42.0.0/16 -j ACCEPT
这没有帮助:
我也试过:
sudo iptables -A INPUT -s 10.42.0.0/16 -d <host_ip> -j ACCEPT
还尝试刷新重新安装 k3s 等,但似乎没有任何效果。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)