Skip to content

Azure Kubernetes Service (AKS)

By enabling this toolset, HolmesGPT will be able to interact with Azure Kubernetes Service clusters, providing Azure-specific troubleshooting capabilities and cluster management.

Prerequisites

  1. Azure CLI installed and configured
  2. Appropriate Azure RBAC permissions for AKS clusters
  3. Access to the target AKS cluster

Configuration

First, ensure you're authenticated with Azure:

az login
az account set --subscription "<your subscription id>"

Then add the following to ~/.holmes/config.yaml, creating the file if it doesn't exist:

toolsets:
  aks/core:
    enabled: true
    config:
      subscription_id: "<your Azure subscription ID>"
      resource_group: "<your AKS resource group>"
      cluster_name: "<your AKS cluster name>"
holmes:
  toolsets:
    aks/core:
      enabled: true
      config:
        subscription_id: "<your Azure subscription ID>"
        resource_group: "<your AKS resource group>"
        cluster_name: "<your AKS cluster name>"

Update your Helm values and run a Helm upgrade:

helm upgrade robusta robusta/robusta --values=generated_values.yaml --set clusterName=<YOUR_CLUSTER_NAME>

Advanced Configuration

You can configure additional Azure settings:

toolsets:
  aks/core:
    enabled: true
    config:
      subscription_id: "<your Azure subscription ID>"
      resource_group: "<your AKS resource group>"
      cluster_name: "<your AKS cluster name>"
      location: "eastus"  # Azure region
      timeout: 60  # Request timeout in seconds

Capabilities

Tool Name Description
aks_get_cluster_info Get detailed information about the AKS cluster
aks_get_node_pools List and describe AKS node pools
aks_get_cluster_credentials Get cluster credentials for kubectl access
aks_scale_node_pool Scale a specific node pool
aks_get_cluster_logs Fetch AKS cluster logs
aks_get_addon_status Get status of AKS addons