Commit 848395ee authored by Philippe Pepiot's avatar Philippe Pepiot
Browse files

Issue a rollout restart at all deployment

parent 32c11ddd4e75
......@@ -23,6 +23,7 @@ dev: build
deploy: push
sed "$(IMAGE)@" deploy/deployment.yaml | kubectl -n $(NAMESPACE) apply -f -
kubectl -n $(NAMESPACE) rollout restart deployment/fresh deployment/fresh-scheduler
@echo "wait at max 3 minutes for deployment to be UP"
kubectl -n $(NAMESPACE) rollout status --timeout=180s deployment/fresh
kubectl -n $(NAMESPACE) rollout status --timeout=180s deployment/fresh-scheduler
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment