The stop job function is currently broken on the backend, this causes applications that use Stop() to leak jobs which leads to various problems. ex: https://github.com/signalfx/signalfx-k8s-metrics-adapter
The recommended way is to use detach func instead, which this PR adds.
cc: @kchengsf
The stop job function is currently broken on the backend, this causes applications that use
Stop()
to leak jobs which leads to various problems. ex: https://github.com/signalfx/signalfx-k8s-metrics-adapter The recommended way is to usedetach
func instead, which this PR adds. cc: @kchengsf