Skip to content

Commit

Permalink
Add script for start/stop hystrix
Browse files Browse the repository at this point in the history
  • Loading branch information
davsclaus committed Dec 6, 2017
1 parent 370bc70 commit 047e6a6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions start-hystrix.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh

kubectl scale deployment client --replicas=0
kubectl scale deployment client-hystrix --replicas=1

kubectl scale deployment turbine-server --replicas=1
kubectl scale deployment hystrix-dashboard --replicas=1
7 changes: 7 additions & 0 deletions stop-hystrix.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh

kubectl scale deployment client --replicas=0
kubectl scale deployment client-hystrix --replicas=0

kubectl scale deployment turbine-server --replicas=0
kubectl scale deployment hystrix-dashboard --replicas=0

0 comments on commit 047e6a6

Please sign in to comment.