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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.