-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ktctl connect 使用后dns解析等并没有走到集群内 #15
Comments
@xinyangbest 麻烦提供了一下加上-d的日志输出,里面能看到所有代理的子网 |
没有-d这个参数 NAME: USAGE: OPTIONS: 2019/09/11 16:03:03 flag provided but not defined: -d |
ktctl -d connect |
[root@VM_0_12_centos ~]# ktctl -d connect [root@VM_0_12_centos ~]# nslookup php-test.default.svc.cluster.local ** server can't find php-test.default.svc.cluster.local: NXDOMAIN [root@VM_0_12_centos ~]# nslookup php-test.default.svc.cluster.local 172.16.255.250 Name: php-test.default.svc.cluster.local |
我也遇到这个问题了, 最后发现是 sshuttle 未安装,我看你的启动日志没有 |
之前因为网络原因 安装pip install sshuttle 失败了 后来忘记了 尴尬 |
我在wsl2上也遇到这个问题,访问podIp,clusterIp都正常,DNS不行。日志如下:
其中有类似这样的错。可能和wsl2有关
|
Describe the bug
2019/08/23 15:35:11 Client address 10.0.0.12
2019/08/23 15:35:11 Deploying proxy deployment kt-connect-daemon-tztcp in namespace default
2019/08/23 15:35:12 Pods not ready......
2019/08/23 15:35:14 Pod status is Pending
2019/08/23 15:35:16 Pod status is Running
2019/08/23 15:35:16 Success deploy proxy deployment kt-connect-daemon-tztcp in namespace default
Forwarding from 127.0.0.1:2222 -> 22
2019/08/23 15:35:18 port-forward start at pid: 3019
Daemon Start At 2777
集群内pod 访问可以
article, aside, dialog, figcaption, figure, footer, header, hgroup, main, nav, section {root@php-test-7cddb54698-j6tn9:~# curl php-test.default.svc.cluster.local:18306 | grep head
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 4036 100 4036 0 0 622k 0 --:--:-- --:--:-- --:--:-- 656k
机器上执行
[root@VM_0_12_centos ~]# curl php-test.default.svc.cluster.local:18306
curl: (6) Could not resolve host: php-test.default.svc.cluster.local; Unknown error
Environment (please complete the following information):
Additional context
使用后dns解析等并没有走到集群内
The text was updated successfully, but these errors were encountered: