Skip to content

Commit

Permalink
just: set kubectl delete timeout and grace-period
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Meyer <[email protected]>
  • Loading branch information
katexochen committed Mar 7, 2024
1 parent 56b5f34 commit 13b7802
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 13b7802

Please sign in to comment.