pod status pending from long time

37821879 90 Reputation points
2023-08-08T10:11:21.1866667+00:00

Hi Team, For one of the pod in AKS I am getting the below error though I have sufficient memory and cpu

Events:
  Type     Reason            Age                  From               Message
  ----     ------            ----                 ----               -------
  Warning  FailedScheduling  33m (x19 over 124m)  default-scheduler  0/8 nodes are available: 3 Insufficient cpu, 8 Insufficient memory. preemption: 0/8 nodes are available: 8 No preemption victims found for incoming pod.

Azure Kubernetes Service
Azure Kubernetes Service
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,456 questions
{count} votes

Accepted answer
  1. Mutaz Nassar 2,361 Reputation points Microsoft Employee
    2023-08-08T11:31:13.64+00:00

    Hi,

    You posted the same question twice, https://learn.microsoft.com/en-us/answers/questions/1342879/pod-showing-pending-state

    From the describe pod output it seems you added high request and limit:

      Limits:
          cpu:     4500m
          memory:  1Ti
        Requests:
          cpu:     3
          memory:  1Ti
    

    Can you reduce these values based on your nodes resources

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.