When we first started with containers and Kubernetes, we showed how we could get the log output from any of our individual containers using the kubectl log command. As we scale the number of containers from which we want to get information, the ability to easily find the relevant logs becomes increasingly difficult. In the previous chapter, we looked at how to aggregate and collect metrics, and in this chapter we extend that same concept, looking at how to aggregate logging and getting a better understanding of how containers work together with distributed tracing.
Topics for this chapter include:
- A Kubernetes concept—DaemonSet
- Installing Elasticsearch, Fluentd, and Kibana
- Viewing logs using Kibana
- Distributed tracing with Jeager
- An example of adding tracing to your application