datawire / teleproxy

18 stars 9 forks source link

api/shutdown didn't stop teleproxy #171

Open kflynn opened 5 years ago

kflynn commented 5 years ago
$ make teleproxy-stop
curl -s --connect-timeout 5 127.254.254.254/api/shutdown || true
sleep 0.25 # wait for exit...
teleproxy still running
    0  9990     1   0 12:22PM ttys004    0:07.80 venv/bin/teleproxy -kubeconfig /Users/flynn/.kube/kat-flynn.yaml
make: *** [teleproxy-stop] Error 1

Log is attached. teleproxy.log

Naturally, after several minutes, my terminal spontaneously spat out "Teleproxy exited successfully" and apparently all is clean now. 😛