In this section, we will use Azure Monitor to monitor, isolate, and diagnose your containerized applications and microservices environments. You will learn how to use Azure Monitor to aggregate logs, events, and metrics from your Kubernetes environment on Azure Kubernetes Service (AKS) to help you understand your application's behavior in production.
Make sure you have an AKS cluster ready and kubectl configured to manage the cluster resources. If you don't already have one, you can follow the instructions in Chapter 1, Building Production-Ready Kubernetes Clusters, in the Configuring a Kubernetes cluster on Google Cloud Platform recipe.
How to do it…
This section is further divided into the following subsections to make the process easier:
- Enabling Azure Monitor support for AKS using the CLI
- Monitoring AKS performance metrics using Azure Monitor
- Viewing live logs using Azure Monitor