Hi Guys ,
I want to know if there exist an API call that would scale namespaced based workloads down/up in a GKE cluster ? If so could you please help share link to that , As I would like to setup setup a Cloud Scheduler job that will use HTTP method to target the API call. Thanks
What exactly do you want to do? Are you trying to add more replicas of the workloads (horizontal scaling) and/or vertically scale (increase CPU and memory)?
if you are using a deployment with a replica set, you can simply change the number of replicas as needed. You can use the “kubectl scale” command from your Scheduler job.