2017-07-28 72 views
0

我有一個服務在Google Container Engine(Kubernetes)上運行。它訪問Google雲端存儲並且工作正常。Istio限制訪問Google雲資源

同Kubernetes集羣,我對以下https://istio.io/v-0.1/docs/tasks/installing-istio.html

我部署我的服務通過KUBE-注入 kubectl create -f <(istioctl kube-inject -f myservice.yaml) 但現在我的服務不能再訪問谷歌雲存儲安裝Istio 0.1。我收到以下錯誤信息:

java.lang.IllegalArgumentException: A project ID is required for this service but could not be determined from the builder or the environment. Please set a project ID using the builder.

對我來說,它看起來像KUBE-注入和跨鬥做的東西,所以我的服務無法訪問有關我在運行我的谷歌雲計算項目信息至於我可以看出是邊車的唯一區別。

服務仍然工作時沒有kube注入部署。

什麼會導致這種影響?

回答

0

您可能想配置對外部服務的訪問權限,如Enabling Egress Traffic中所述:作爲Kubernetes外部服務或使用istioctl --includeIPRanges來排除Istio控制的外部流量。