Skip to content

Commit

Permalink
better deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
praktiskt committed Oct 25, 2020
1 parent ec111bd commit cbdbb0a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
target/
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
deploy:
./flink-cluster/deploy.sh
./flink-cluster/deploy.sh apply

undeploy:
./flink-cluster/undeploy.sh
./flink-cluster/deploy.sh delete
2 changes: 1 addition & 1 deletion flink-cluster/deploy.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
YAML_PATH="flink-cluster"
for f in $(ls $YAML_PATH | grep yaml); do
kubectl apply -f $YAML_PATH/$f
kubectl $@ -f $YAML_PATH/$f
done
5 changes: 0 additions & 5 deletions flink-cluster/undeploy.sh

This file was deleted.

0 comments on commit cbdbb0a

Please sign in to comment.