From 13b7802bd6f6d2303dd97acaa58b02130ebac45e 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 22c2174ba4..2db68b3c90 100644 --- a/justfile +++ b/justfile @@ -84,7 +84,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=120 \ + --timeout=10m fi # Create a CoCo-enabled AKS cluster.