繁体   English   中英

Azure没找到节点

[英]Azure aks no nodes found

我创建了一个具有3个节点的天蓝色AKS(标准DS3 v2(4个vcpus,14 GB内存))。 我在摆弄集群,并创建了具有1000个副本的Deployment。

azureuser@saa:~$ k get cs
NAME                 STATUS      MESSAGE                                                                                        ERROR
controller-manager   Unhealthy   Get http://127.0.0.1:10252/healthz: dial tcp 127.0.0.1:10252: getsockopt: connection refused   
scheduler            Unhealthy   Get http://127.0.0.1:10251/healthz: dial tcp 127.0.0.1:10251: getsockopt: connection refused   
etcd-0               Healthy     {"health": "true"}  

从调试看来,调度程序和控制器管理器似乎都崩溃了。 如何解决这个问题?

创建具有1000个副本的部署时到底发生了什么? k8s应该注意吗?

很少有调试命令输出:

  kubectl cluster-info
    Kubernetes master is running at https://cg-games-e5252212.hcp.eastus.azmk8s.io:443
    Heapster is running at https://cg-games-e5252212.hcp.eastus.azmk8s.io:443/api/v1/namespaces/kube-system/services/heapster/proxy
    KubeDNS is running at https://cg-games-e5252212.hcp.eastus.azmk8s.io:443/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy
    kubernetes-dashboard is running at https://cg-games-e5252212.hcp.eastus.azmk8s.io:443/api/v1/namespaces/kube-system/services/kubernetes-dashboard/proxy

kubectl cluster-info dump日志@ http://termbin.com/e6wb

azureuser@sim:~$ az aks scale -n cg -g cognitive-games -c 4 --verbose
Deployment failed. Correlation ID: 4df797b2-28bf-4c18-a26a-4e341xxxxx. Operation failed with status: 200. Details: Resource state Failed

没有显示节点

azureuser@si:~$ k get nodes
No resources found

看起来很傻,但是当在RG中创建AKS时,令人惊讶地创建了两个RG,一个带有AKS,另一个带有带有所有VMS的随机散列。 我删除了第二个RG,基本的AKS停止工作。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM