问题描述
所以,我有 minikube 0.16.0 installed
还有istio 1.7.3
所以我在每次部署时都使用特使边车,按照命令 kubectl label namespace default istio-injection=enabled
现在,谈到这个问题,我无法从任何 pod 内部执行任何 curl
,即使是从 sleep-diag
,我总是收到请求超时消息,但它确实适用于不安全http
例如,在安装 jenkins
时,我尝试针对此 curl
url
没有成功:
bash-5.0# curl -v https://updates.jenkins.io/current/update-center.json
* Trying 92.242.132.16:443...
* TCP_NODELAY set
* connect to 92.242.132.16 port 443 Failed: Operation timed out
* Failed to connect to updates.jenkins.io port 443: Operation timed out
* Closing connection 0
curl: (28) Failed to connect to updates.jenkins.io port 443: Operation timed out
但即使我尝试让我们说:
bash-5.0# curl -v https://www.google.com
* Trying 92.242.132.16:443...
* TCP_NODELAY set
* connect to 92.242.132.16 port 443 Failed: Operation timed out
* Failed to connect to www.google.com port 443: Operation timed out
* Closing connection 0
curl: (28) Failed to connect to www.google.com port 443: Operation timed out
虽然我可以在本地集群中的任何 pod
之外,对此有任何想法吗?
例如,尝试像这样安装 jenkins
,使用 helm
:
helm install --set Master.ServiceType=ClusterIP jenkins/jenkins --generate-name
显然它会失败,因为我无法从本地集群访问任何 https
,即使指定 NodePort
我也有同样的问题:
helm install --set Master.ServiceType=NodePort jenkins/jenkins --generate-name
有什么想法吗?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)