title: How to know if autoscaling has taken place in Kubernetes
body: <p>Is there any way to know that the number of pods have scaled up or down as a result of Horizontal Pod Autoscaling apart from kubectl get hpa command?</p>
  
  <p>I want to trigger a particular file on every scale up or scale down of pods</p>