You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
472 B

  1. create:
  2. @echo "==> Creating deployment"
  3. @kubectl create -f app.yaml
  4. @echo "==> Waiting 10s until it is probably ready"
  5. @sleep 10
  6. @echo "==> Creating monitor and transacter pods"
  7. @kubectl create -f tm-monitor-pod.yaml
  8. @kubectl create -f transacter-pod.yaml
  9. destroy:
  10. @echo "==> Destroying deployment"
  11. @kubectl delete -f transacter-pod.yaml
  12. @kubectl delete -f tm-monitor-pod.yaml
  13. @kubectl delete -f app.yaml
  14. @kubectl delete pvc -l app=tm
  15. .PHONY: create destroy