chaoskube
chaoskube copied to clipboard
Call an optional webhook before killing a pod
Call an optional POST webhook before killing a pod.
The webhook sends the PodSpec as a JSON payload to the webhook. This could allow an external webhook service to make an informed decision about killing the pod.
This could be used to have more complex logic or simply checking the Docker Hub status page.
It took a couple of tries, but I've added unit tests and fixed the comments from @golangcibot
@Miouge1 Interesting idea. I'll take a look.
Merged in latest master.
@linki thanks for the rebase, what do you think about the PR? Anything I can do to help?