Skip to content

Commit

Permalink
add script to reset statefulset (#2560)
Browse files Browse the repository at this point in the history
  • Loading branch information
thanh-nguyen-dang authored Jun 3, 2024
1 parent 5140924 commit e319b3f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gen3/bin/shutdown.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ gen3_shutdown_namespace() {
(
export KUBECTL_NAMESPACE="$namespace"
g3kubectl delete --all deployments --now &
# Delete all StatefulSets
g3kubectl delete --all statefulsets --now &
# ssjdispatcher leaves jobs laying around when undeployed
g3kubectl delete --all "jobs" --now &
# ssjdispatcher leaves jobs laying around when undeployed
Expand Down

0 comments on commit e319b3f

Please sign in to comment.