Commit 80d1e480 authored by Philippe Pepiot's avatar Philippe Pepiot
Browse files

Use kubectl rollout status instead of kubectl wait

parent 8affb087cb5d
......@@ -24,6 +24,7 @@ dev: build
deploy: push
sed "$(IMAGE)@" deploy/deployment.yaml | kubectl -n $(NAMESPACE) apply -f -
@echo "wait at max 3 minutes for deployment to be UP"
kubectl -n $(NAMESPACE) wait --for=condition=available --timeout=180s deployment/fresh deployment/fresh-scheduler
kubectl -n $(NAMESPACE) rollout status --timeout=180s deployment/fresh
kubectl -n $(NAMESPACE) rollout status --timeout=180s deployment/fresh-scheduler
.PHONY: all build push run dev deploy
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