I wanted to list the pods with their average cpu and memory for the last 24 hours. Is it possible with kubectl logs?
I need an average CPU and memory consumption. I tried to create a query using Azure Log Monitor and I couldn’t. I only have access to Azure Monitor and the terminal via kubectl…
for example with the command below I have the cpu and the memory at this moment…I wanted the average of these pods (cpu and memory) during the day (24 hours)…or in the last 12 hours…
kubectl top pod -n prd-01
NAME CPU(cores) MEMORY(bytes)
account-service 6m 409Mi
account 16m 603Mi
authenti 6m 634Mi