Thank you for reaching out to the Microsoft Q&A platform.
The error message indicates that the scheduler cannot find any nodes with enough available CPU.
Please check that the resource requests and limits for your pod are correctly defined. Check that no discrepancies in the configuration.
Mentioned that your nodes have sufficient CPU resources, please check the allocatable resources on the nodes. You can do this by running the following command:
kubectl describe nodes
If you have resource quotas set at the namespace level, ensure that your StatefulSet pod is not exceeding those quotas. You can check for resource quotas with:
kubectl get resourcequota -n <your-namespace>
Check that none of the nodes are in a NotReady state or have any conditions that might prevent scheduling. You can check the node status with:
kubectl get nodes
If the allocatable resources are indeed insufficient, you may need to consider scaling your cluster by adding more nodes or increasing the size of existing nodes to provide additional CPU resources.
Please find the below document for your reference : Cluster is in a failed state
If it was helpful, please click "Upvote" on this post to let us know.
Thank You.