Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you can do all that in 30 minutes (or even a few hours), I would love to read an article/post about your setup, or any resources you might recommend.


I've just done it a dozen times at this point. Hello world from gin-gonic [0], terraform file with a DO K8s cluster [1] and load balancer, and CI/CD [2] on deploy. There's even time to make a cuppa when you run terraform.

We use this for our internal services at work, and the last time I touched the infra was in 2022 according to git

[0] https://github.com/gin-gonic/gin

[1] https://gist.github.com/donalmacc/0efbb0b377533232da3f776c60....

[2] https://docs.digitalocean.com/products/kubernetes/how-to/dep...


Thanks! Does DO K8s come with sufficient monitoring / logging or do you add anything?


You can just deploy other applications to Kubernetes, for example you can deploy this operator https://prometheus-operator.dev/ and you get Prometheus and Grafana running with a bunch of dashboards already created. Then you annotate your pods to tell Prometheus what to scrape, and you got monitoring. It also comes with AlertManager for alerting. Same for logging, you deploy Elasticsearch and Kibana and you're good to go.


As the other commentor said, you can deploy Prometheus/grafana into the k8s cluster and it pretty much does what you want it to do.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: