Skip to content

Commit

Permalink
adding minishift poller scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
burrsutter committed Sep 30, 2018
1 parent 9fdee99 commit e3a94bb
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions poll_myboot_shift.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

while true
do
curl $(minishift ip):$(kubectl get service/myboot -o jsonpath="{.spec.ports[*].nodePort}" -n myspace)
sleep .5;
done

8 changes: 8 additions & 0 deletions poll_mynode_shift.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

while true
do
curl $(minishift ip):$(kubectl get service/mynode -o jsonpath="{.spec.ports[*].nodePort}" -n yourspace)
sleep .5;
done

0 comments on commit e3a94bb

Please sign in to comment.