【发布时间】:2018-07-05 16:47:05
【问题描述】:
我有一个 terraform 部署,它在 GCP 上部署了 GKE 集群池,但它停止了工作。
Error: Error applying plan:
1 error(s) occurred:
* google_container_cluster.primary: 1 error(s) occurred:
* google_container_cluster.primary: Post
https://container.googleapis.com/v1/projects/...-gcp-poc/zones/europe-
west1-d/clusters?alt=json: dial tcp: i/o timeout
我仍然可以通过控制台手动部署
我仍然可以使用 gcloud cli 部署它
gcloud container clusters create cluster_name --zone europe-west1-b
我尝试更改凭据 json 文件无济于事。
从 google 插件 1.4 升级到 1.5 后发生 从那以后,我的 mac 重新启动了。
【问题讨论】:
-
如果你卷曲那个端点会发生什么?看起来它只是超时,这表明防火墙/网络连接。
-
{ "error": { "code": 401, "message": "Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See developers.google.com/identity/sign-in/web/devconsole-project .", "状态": "未认证" } } .我需要安排 http 请求
标签: terraform gcp google-kubernetes-engine