Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

GKE API calls for scaling Down/Up workloads/Deployments on a cluster

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 

0 1 218
1 REPLY 1

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.

Top Labels in this Space