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

Node Auto-provisioning on a schedule

Hello all!

We've been running GKE in Autopilot mode for some time now, it works well for our use-case with one exception.

Recently we removed some containers, which triggered auto-provisioning to replace one of our nodes, with a smaller one. Our pods however are set to the "Recreate" deployment strategy*, which means all containers on the affected node were killed, and recreated on the new node. Which caused a few moments of downtime on our production environment.

Is there any way we can tell the node provisioner to only work during low traffic hours so the amount of impacted users is minimal? The same way we can schedule our updates already?

*We require session storage to be persisted across deployments, so most of our containers have a small read-write-once volume attached to it.

Solved Solved
0 1 152
1 ACCEPTED SOLUTION

Hi jannes1,

Welcome to Google Cloud Community!

As of the moment, GKE Autopilot does not offer a direct feature to schedule node auto-provisioning based on traffic hours. Google manages the provisioning and scaling of nodes automatically based on the resource needs of your workloads.

 If feasible to your projects/deployments you may consider the following:

For feature requests, we encourage you to create a public issue tracker. However, please note that there's no guaranteed timeframe for resolving it. I also suggest keeping an eye on the GKE release notes.

 

Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.

View solution in original post

1 REPLY 1

Hi jannes1,

Welcome to Google Cloud Community!

As of the moment, GKE Autopilot does not offer a direct feature to schedule node auto-provisioning based on traffic hours. Google manages the provisioning and scaling of nodes automatically based on the resource needs of your workloads.

 If feasible to your projects/deployments you may consider the following:

For feature requests, we encourage you to create a public issue tracker. However, please note that there's no guaranteed timeframe for resolving it. I also suggest keeping an eye on the GKE release notes.

 

Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.

Top Labels in this Space