Skip to content

Commit

Permalink
add delete previous deployments and statefulset
Browse files Browse the repository at this point in the history
  • Loading branch information
thanh-nguyen-dang committed Jul 15, 2024
1 parent 3b9fd6e commit eddac8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gen3/bin/kube-setup-spark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ gen3_load "gen3/lib/kube-setup-init"
[[ -z "$GEN3_ROLL_ALL" ]] && gen3 kube-setup-secrets
g3kubectl delete configmap hadoop-spark-config
g3kubectl create configmap hadoop-spark-config --from-file="${GEN3_HOME}/kube/services/spark/config-map.yaml"
g3kubectl delete statefulset --all
g3kubectl delete deployment resourcemanager-deployment nodemanager-deployment spark-master-deployment spark-worker-deployment
gen3 roll spark $@
g3kubectl apply -f "${GEN3_HOME}/kube/services/spark/spark-service.yaml"

Expand Down

0 comments on commit eddac8d

Please sign in to comment.