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 8, 2024
1 parent 059e483 commit 501d55c
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 @@ -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.
Expand Down

0 comments on commit 501d55c

Please sign in to comment.