Search code examples
kubernetesazure-akskubernetes-pod

Check pod resources consumption


I've got some deployment on a basic k8s cluster withouth defining requests and limits. Is there any way to check how much the pod is asking for memory and cpu?


Solution

  • Depending on whether the metrics-server is installed in your cluster, you can use:

    kubectl top pod
    kubectl top node