Is it possible to check the logs of hpa. I want to check when the pod scaled and down. I can check the cluster scaling logs but I want the logs of pods on same node pool. Is there any way In the logs I can see the names of new pod but I want when the pod scaled up and scaled down the exact time of it. Like the cluster autoscaling logs. (status, scaleUp, scaleDown, eventResult)
Hello @Robinwilliam15
As per PjoterS from StackOverflow, you can check current status with this command:
$ kubectl get hpa
You can also use the "watch" flag to refresh view within 30 seconds each
$ kubectl get hpa -w
To check if HPA worked you have to describe it
$ kubectl describe hpa <yourHpaName>
Attach to this post is the link where the answer was provide for reference.