Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/google-cloud-platform/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Kubernetes集群从Google容器引擎中消失_Kubernetes_Google Cloud Platform_Google Kubernetes Engine - Fatal编程技术网

Kubernetes集群从Google容器引擎中消失

Kubernetes集群从Google容器引擎中消失,kubernetes,google-cloud-platform,google-kubernetes-engine,Kubernetes,Google Cloud Platform,Google Kubernetes Engine,过去几周,我一直在Kubernetes上顺利运行一个应用程序,直到今天我发现我的Kubernetes master不再可用 但是应用程序仍在运行,这似乎是因为集群的节点在Google Compute Engine中仍然可用: (除了K8s集群之外,我们不使用任何计算实例。) MygcloudCLI具有所有正确的配置: $ gcloud config list Your active configuration is: [default] [compute] ... [container] u

过去几周,我一直在Kubernetes上顺利运行一个应用程序,直到今天我发现我的Kubernetes master不再可用

但是应用程序仍在运行,这似乎是因为集群的节点在Google Compute Engine中仍然可用:

(除了K8s集群之外,我们不使用任何计算实例。)

My
gcloud
CLI具有所有正确的配置:

$ gcloud config list
Your active configuration is: [default]

[compute]
...
[container]
use_client_certificate = True
[core]
account = {email}
disable_usage_reporting = True
project = {myproject}
甚至我的
kubectl
CLI也配置为使用曾经存在的群集:

$ kubectl config current-context
gke_{myproject}_us-central1-a_{clustername}
但是任何
kubectl
调用都会导致超时

$ kubectl get pods
Unable to connect to the server: dial tcp {ipv4 address}:443: i/o timeout
gcloud
和Google容器引擎web UI都同意不存在集群:

$ gcloud container clusters list
*crickets*

为了解决这个问题,我联系了谷歌支持部门。集群的主实例被错误地标记为滥用,主实例被取下。谷歌能够把它带回来。之后,有一个过程将集群恢复到正常状态


我想这里的解决方案是联系支持部门。

通过“crickets”,您的意思是命令没有完成,还是它没有输出就完成了?这是一个巨大的差异。鉴于kubectl的输出,它似乎无法与谷歌对话。控制台的容器引擎部分显示了什么?()@JonSkeet
gcloud
完成,没有输出,GKE web UI也没有显示任何内容(我看到“创建容器集群”的提示)。您在活动页面上看到任何相关操作吗?@EricTune在过去12天内没有任何活动。。。昨天,我成功地修补了此群集上的部署,并使用
kubectl
查看了日志。您是否创建了部署?如果是,多久以前?