Configuring logging for Windows containers log monitor

Kubernetes itself provides simple tools for browsing Pod container logs. Generally, you will have to implement a good cluster-level logging solution—for example, using the Elasticsearch, Logstash, Kibana stack or using Azure Log Analytics (as briefly demonstrated in the previous chapters). The official documentation gives a good overview of possible architectures for logging solutions: https://kubernetes.io/docs/concepts/cluster-administration/logging/. In all cases, you will need to expose the application logs from your container to the outside world. From a high-level view, there are three main approaches:

  • Use a container standard output (stdout) and standard error (stderr) entry point ...

Get Hands-On Kubernetes on Windows now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.