aks-monitoring

Enable and query AKS monitoring with Container Insights, Prometheus, and Grafana.

Updated Feb 25, 2026
One-click install
npx skills add https://github.com/pauldotyu/aks-skills --skill aks-monitoring
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aks-monitoring
Source: https://github.com/pauldotyu/aks-skills/tree/main/aks-monitoring
Command: npx skills add https://github.com/pauldotyu/aks-skills --skill aks-monitoring

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you set up and query monitoring for your Azure Kubernetes Service (AKS) clusters, enabling you to track performance, diagnose issues, and ensure your applications are running smoothly.

Core Features & Use Cases

  • Enable Azure Monitor Container Insights: Easily integrate AKS with Azure's native monitoring solution.
  • Configure Prometheus & Grafana: Deploy and manage popular open-source monitoring tools for deep insights.
  • Query Metrics & Logs: Use KQL and PromQL to analyze cluster and application performance.
  • Set Up Alerts: Configure alerts for critical conditions like high CPU/memory usage, pod restarts, or CrashLoopBackOff states.
  • Use Case: You notice increased latency in your web application. Use this Skill to enable Container Insights, query pod CPU and memory usage, and identify if resource constraints are the cause.

Quick Start

Enable Azure Monitor Container Insights on your AKS cluster by providing the resource group, cluster name, and Log Analytics workspace ID.

Frequently Asked Questions about aks-monitoring

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enable Azure Monitor Container Insights for my AKS cluster?

To enable Azure Monitor Container Insights, you provide your AKS resource group, cluster name, and Log Analytics workspace ID. The Skill integrates with Azure CLI to configure the monitoring add-on and start collecting cluster health metrics.

How do I query AKS pod CPU and memory usage to diagnose application latency?

Query AKS pod CPU and memory usage by writing KQL or PromQL queries. This Skill helps you analyze cluster and application performance metrics to identify if resource constraints are causing latency or restarts.

Do I need prior experience with KQL or PromQL to monitor AKS cluster health?

While prior experience helps, this Skill provides guidance on writing KQL and PromQL queries for metrics and logs. It supports users at an intermediate level by covering query construction for common AKS monitoring scenarios.

What is the best way to set up alerts for AKS pod restarts and CrashLoopBackOff states?

The best way to set up alerts for pod restarts and CrashLoopBackOff states is configuring alert rules within Azure Monitor Container Insights or Prometheus. This Skill covers alert configuration for these critical conditions.

Can I use Grafana and Prometheus instead of Azure Monitor for AKS monitoring?

Yes, you can use Prometheus and Grafana as an alternative or complementary monitoring solution. This Skill covers deploying the Prometheus stack via Helm and querying metrics with PromQL alongside native Azure Monitor Container Insights.

Why are my AKS pods restarting and how can monitoring help identify the cause?

AKS pods may restart due to resource constraints or application crashes. By enabling Container Insights and querying CPU, memory, and pod state metrics, you can identify if resource limits or CrashLoopBackOff states are causing the restarts.