Summary
We started the chapter by showing how to use different kubectl
commands to monitor an application. Then, we showed how the logs Kubernetes creates can be used to debug that application. The logs contain all the information that is written to stdout
and stderr
. Lastly, we explained the use of Azure Monitor to show the AKS metrics and environment variables, as well as logs with log filtering. We also showed how to debug application and cluster issues by using kubectl
and Azure Monitor monitoring.
In the next chapter, we will learn how to connect an AKS cluster to Azure PaaS services. We will specifically focus on how you can connect an AKS cluster to a MySQL database managed by Azure.