aks reporting “Insufficient pods”

前端 未结 3 400
粉色の甜心
粉色の甜心 2021-01-12 13:52

I\'ve gone through the Azure Cats&Dogs tutorial described here and I am getting an error in the final step where the apps are launched in AKS. Kubernetes is reporting th

相关标签:
3条回答
  • 2021-01-12 14:29

    I hit this because I exceed the max pods, I found out how much I could handle by doing:

    $ kubectl get nodes -o json | jq -r .items[].status.allocatable.pods | paste -sd+ - | bc
    
    0 讨论(0)
  • 2021-01-12 14:29

    Check to make sure you are not hitting core limits for your subscription.

    az vm list-usage --location "<location>" -o table
    

    If you are you can request more quota, https://docs.microsoft.com/en-us/azure/azure-supportability/resource-manager-core-quotas-request

    0 讨论(0)
  • 2021-01-12 14:39

    What is your max-pods set to? This is a normal error when you've reached the limit of pods per node.

    You can check your current maximum number of pods per node with:

    $ kubectl get nodes -o yaml | grep pods
      pods: "30"
      pods: "30"
    

    And your current with:

    $ kubectl get pods --all-namespaces | grep Running | wc -l
      18
    
    0 讨论(0)
提交回复
热议问题