< Previous Challenge - Home - Next Challenge >
This challenge will cover monitoring in AKS, using open source components such as Prometheus and Azure services such as Azure Monitor.
- Implement Prometheus/Grafana or Azure Container Insights to be able to monitor cluster metrics
- You can access container logs via Azure Monitor
- Increase the CPU utilization of the API container with the
pi
API endpoint, and see the corresponding metric increase in Prometheus and/or Azure Monitor - Implement a mechanism so that Kubernetes increases the amount of API pods when CPU utilization goes high
- If you didn't do it already, configure a mechanism that scales the cluster automatically in and out depending on the required capacity
- You can display cluster metrics graphically
- You can show live container logs with Azure Container Insights
- The cluster autoscales when there are not enough CPU resources
- Participants can explain the autoscaling event using AKS metrics
These docs might help you achieving these objectives: