【发布时间】:2022-10-07 02:26:39
【问题描述】:
我的 pod 卡在 ContainerCreating 状态。 pod的描述说:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 2m28s default-scheduler Successfully assigned namespacex/web.app-b7b8b6649-x2gg9 to akswin000002
Warning FailedCreatePodSandBox 24s kubelet Failed to create pod sandbox: rpc error: code = Unknown desc = failed to start sandbox container for pod \"web.app-b7b8b6649-x2gg9\": operation timeout: context deadline exceeded
经过一番研究,我可以找到命令
kubectl get ds -n kube-system
返回:
NAME DESIRED CURRENT READY UP-TO-DATE
AVAILABLE NODE SELECTOR AGE
daemonset.apps/azure-ip-masq-agent 3 3 3 3 3 <none> 146d
daemonset.apps/csi-azuredisk-node 3 3 3 3 3 <none> 146d
daemonset.apps/csi-azuredisk-node-win 3 3 1 3 1 <none> 146d
daemonset.apps/csi-azurefile-node 3 3 3 3 3 <none> 146d
daemonset.apps/csi-azurefile-node-win 3 3 1 3 1 <none> 146d
daemonset.apps/kube-proxy 3 3 3 3 3 <none> 146d
在这里,我们可以看到 2 个部署已准备好 1 个,但需要 3 个。发生了什么以及如何解决?它部署在 AKS 服务上的 Windows 群集中。
-
你能提供 .yaml 文件吗?
标签: kubernetes azure-aks