Summary Post of Logging and Monitoring in Terasology
Going from not knowing what kubernetes even was to setting up the entire infrastructure for logging and monitoring was awesome. (Also plan on taking the CKA certification exam really soon) Here are some of the things I've done up until now
- Spin up logstash, kibana and elasticsearch containers on kubernetes
- Using Nginx as a reverse proxy in front of them and adding routes as required
- Set up https and automated certificate management using cert-manager
- Exposed TCP ports on Nginx to allow game instances to make connections and send data
- Added translations on logstash to enrich log data with contextual information.
Running pods and services
- Photo of netcat messages sent to nginx, showing up in kibana after being parsed by logstash
Things I plan on doing once I get some more time
- Add kibana dashboards, with important game related information
- Integrate SnowPlow and metric gathering