0

所以我有minikube 0.16.0 installed

istio 1.7.3

因此,根据命令,我在每次部署时都使用特使边车kubectl label namespace default istio-injection=enabled

现在,谈到这个问题,我无法curl从任何 pod 内部执行任何操作,即使从sleep-diag,我总是会收到 request timed out 消息,但它确实适用于非安全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

有任何想法吗?

4

0 回答 0