3 ms·
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.
by yellow_lead 3y ago
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.
- maccard 3y agoI'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 https://github.com/gin-gonic/gin [1] https://gist.github.com/donalmacc/0efbb0b377533232da3f776c60690869 https://gist.github.com/donalmacc/0efbb0b377533232da3f776c60.... [2] https://docs.digitalocean.com/products/kubernetes/how-to/deploy-using-github-actions/ https://docs.digitalocean.com/products/kubernetes/how-to/dep...
- yellow_lead 3y agoThanks! Does DO K8s come with sufficient monitoring / logging or do you add anything?
- yolo3000 3y agoYou can just deploy other applications to Kubernetes, for example you can deploy this operator https://prometheus-operator.dev/ 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.
- maccard 3y agoAs the other commentor said, you can deploy Prometheus/grafana into the k8s cluster and it pretty much does what you want it to do.