Show HN: Run a Kubernetes Job and get the logs when it's done
github.com
github.com
Last I checked, you could just do
kubectl logs job/<job-name>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.
Nowadays, I'm back to Docker Swarm and loving it. It seems you did something similar before for Docker Swarm [1] btw, nice ;-)