Show HN: Run a Kubernetes Job and get the logs when it's done(github.com)
github.com
Show HN: Run a Kubernetes Job and get the logs when it's done
https://github.com/alexellis/run-job
2 comments
I wanted to share a new OSS tool I've written because I felt like the user experience for running a job and getting the output from the Pod was too cryptic.
If you can see yourself using it, let me know. Try it out.
This is how it's being used in OpenFaaS to help support customers: https://github.com/openfaas/config-checker
A similar and more generic tool from Replicated is: https://github.com/replicatedhq/troubleshoot
And if you wanted to see how easy it is to play around with the K8s API with Go, hopefully this example will give you a bit more confidence to try some hacking.
If you can see yourself using it, let me know. Try it out.
This is how it's being used in OpenFaaS to help support customers: https://github.com/openfaas/config-checker
A similar and more generic tool from Replicated is: https://github.com/replicatedhq/troubleshoot
And if you wanted to see how easy it is to play around with the K8s API with Go, hopefully this example will give you a bit more confidence to try some hacking.
One-shot jobs are one of the reasons why I moved from Kubernetes to Nomad[0]. It feels overengineering absurdity that there is no more straightforward way to do it.
Nowadays, I'm back to Docker Swarm and loving it. It seems you did something similar before for Docker Swarm [1] btw, nice ;-)
[0] https://www.nomadproject.io
[1] https://blog.alexellis.io/containers-on-swarm/
Nowadays, I'm back to Docker Swarm and loving it. It seems you did something similar before for Docker Swarm [1] btw, nice ;-)
[0] https://www.nomadproject.io
[1] https://blog.alexellis.io/containers-on-swarm/
Docker swarm has Job support nowadays, would this help?
Last I checked, you could just do