From 30f7257bdc6ec9fba260923e8de8674311011d4b Mon Sep 17 00:00:00 2001 From: Daniel Vega-Myhre <105610547+danielvegamyhre@users.noreply.github.com> Date: Fri, 8 Mar 2024 14:34:19 -0800 Subject: [PATCH] [TPU Provisioner] Bump node pool deletion check interval (#269) bump deletion interval in tpu provisioner --- tpu-provisioner/internal/controller/deletion_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tpu-provisioner/internal/controller/deletion_controller.go b/tpu-provisioner/internal/controller/deletion_controller.go index f19c21b8f..457ee6ac0 100644 --- a/tpu-provisioner/internal/controller/deletion_controller.go +++ b/tpu-provisioner/internal/controller/deletion_controller.go @@ -28,7 +28,7 @@ import ( // has passed twice, the node pool can be safely deleted. This second // check is ensure the node pool is not prematurely deleted, in the case // where a JobSet is restarted, but no pods have been created yet. -var nodePoolDeletionCheckInterval = 4 * time.Second +var nodePoolDeletionCheckInterval = 30 * time.Second // DeletionReconciler watches Pods and Nodes and deletes Node Pools. type DeletionReconciler struct {