title: How to scale k8s pods according to rabbitmq queue message rate?
body: <p>My application is running as a container on top of <code>kubernetes</code>.<br>
  The application consume messages from <code>rabbitmq</code>.  </p>
  
  <p>I can't predict the exact amount of <code>cpu</code> so I don't want to use it as autoscale limit, though I did set the <code>prefetch</code> to something that looks normal.<br>
  Is there a way to follow the number of messages in the queue,<br>
  and once there are too much to tell <code>k8s</code> to autoscale?<br>
  Or maybe set the autoscale to follow message rate?</p>