gpt4 book ai didi

Kubernetes ReplicaFailure FailedCreate 但没有事件

转载 作者:行者123 更新时间:2023-12-02 11:34:28 27 4
gpt4 key购买 nike

我在 Kubernetes 中有部署和副本集,但无法创建 pod。我试过了kubectl describe deployment deployment-namekubectl describe replicaset replicaset-name他们都说

Conditions:
Type Status Reason
---- ------ ------
ReplicaFailure True FailedCreate
Events: <none>
我见过的所有故障排除指南都依赖于来自事件部分的信息,但它说 <none>就我而言。如何获得更多信息来调试问题?

最佳答案

描述副本集将为您提供导致部署对象失败的错误。

./kubectl describe replicaset <replica-set-name>
示例错误:
  Type     Reason            Age                From                   Message
---- ------ ---- ---- -------
Normal SuccessfulCreate 13m replicaset-controller Created pod: pod
Warning FailedCreate 13m replicaset-controller Error creating: pods "pod" is forbidden: exceeded quota: custom-resource-quota, requested: cpu=510m, used: cpu=1630m, limited: cpu=2

关于Kubernetes ReplicaFailure FailedCreate 但没有事件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63199022/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com