From 501d55cc1c0f0ef8a1df868d4d26bfc6c1888b08 Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Thu, 7 Mar 2024 14:48:13 +0100 Subject: [PATCH] just: set kubectl delete timeout and grace-period Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> --- justfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/justfile b/justfile index b4fdc133c7..93f67eafb5 100644 --- a/justfile +++ b/justfile @@ -82,7 +82,10 @@ undeploy: fi ns=$(cat ./{{ workspace_dir }}/just.namespace) if kubectl get ns $ns 2> /dev/null; then - kubectl delete -f ./{{ workspace_dir }}/deployment + kubectl delete \ + -f ./{{ workspace_dir }}/deployment \ + --grace-period=30 \ + --timeout=10m fi # Create a CoCo-enabled AKS cluster.