Skip to content

Commit

Permalink
adds script for rescheduling the traffic lights pod
Browse files Browse the repository at this point in the history
  • Loading branch information
tamarakaufler committed Oct 1, 2019
1 parent 40fe915 commit 7a2662d
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions start_stop_pod.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
kubectl apply -f traffic_lights_pod.yaml
sleep 6
kubectl delete pod traffic-lights
sleep 3
kubectl apply -f traffic_lights_pod.yaml
sleep 6
kubectl delete pod traffic-lights
sleep 3
kubectl apply -f traffic_lights_pod.yaml
sleep 6
kubectl delete pod traffic-lights
sleep 3
kubectl apply -f traffic_lights_pod.yaml
sleep 6
kubectl delete pod traffic-lights
sleep 3
kubectl apply -f traffic_lights_pod.yaml
sleep 6
kubectl delete pod traffic-lights
sleep 3
kubectl apply -f traffic_lights_pod.yaml
sleep 6
kubectl delete pod traffic-lights
sleep 3
kubectl apply -f traffic_lights_pod.yaml
sleep 6
kubectl delete pod traffic-lights

0 comments on commit 7a2662d

Please sign in to comment.