Show HN: Goconf – Dead simple Go configuration file library
github.com2 pointsby Noah-Huppert1 comments
# Before
kubectl --namespace foo-bar get pods
kubectl --namespace foo-bar describe pod/bazz
kubectl --namespace foo-bar exec bazz
# After
kubens use foo-bar
kubectl get pods
kubectl describe pod/bazz
kubectl exec bazz
I hope this helps others who have encountered the same issue.
I saw a comment below where some was rolling their eyes that you "complicated" stuff with Prometheus, Grafana, and Docker and how you could just use Bash scripts and crons. As I just upgraded my codebase from this more bare metal approach to this "more complex setup" I'd like to mention: there's no way you could do time series statistical analysis easily with "just a cron job and a bash script". Prometheus and Grafana are for more than just buzz words. Prometheus offers an advanced time series database which allows you to, at minimum, do more robust analysis using data techniques like Histograms. As for Grafana, it makes exploring data dead easy.
Providing users with a Docker Compose setup is also something I did with my tool and the benefits are huge. It lets me distribute a setup which relies on multiple moving parts working smoothly together. Sure I could write a whole wiki on how you should setup Prometheus Grafana and my tool, or I could distribute the setup with a configuration as code tool. Ensuring that even if someone doesn't want to use Docker Compose they can at least read my configuration as code and see exactly what I did to setup my tool.