I am working along with my team on GCP migration of on prem workloads. Below are the details:
We have our 2 calculation workloads(large and small) deployed on GKE within GCP. These workloads will simultaneously listen to a single queue(IBM MQ) on-prem.
There is a threshold parameter within message which distinguish between large message and small message. Once the message is identified as large/small it will appropriately be re-directed to respective calc component.
Now we want to device an autoscaling of GKE calc components so that resource utilization is optimized. Can anyone help us in setting up this custom metric/external metric for autoscaling?