New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Azure infrastructure plugin that covers 2025 services, from AKS Automatic to Azure OpenAI reasoning models.

version
1.3.4
GitHub stars
62
View on GitHub

What it does

  • Adds 1 agent (azure-expert) and 6 skills covering AKS Automatic, Container Apps GPU, Azure OpenAI, Azure ML, Deployment Stacks, and the Well-Architected Framework
  • Provides /azure-master:az-cli and /azure-master:azure-deploy slash commands that turn requests into Azure CLI and Bicep deployments
  • Includes Deployment Stacks deny settings (DenyDelete, DenyWriteAndDelete) and ActionOnUnmanage behavior for protecting provisioned resources
  • Designed for teams provisioning Azure resources, including AKS, Container Apps with GPUs, and Azure ML workspaces, who want current 2025 guidance

Complete Azure cloud expertise covering 2025-2026 features. This plugin should be used for ANY Azure resource provisioning, AKS Automatic, Container Apps GPU, Azure OpenAI (GPT-5, reasoning models), Deployment Stacks, Azure ML workspaces, AI Foundry, compute clusters, endpoints, Terraform, networking, private endpoints, managed identities, debugging, and cost optimization.

Add marketplace

/plugin marketplace add JosiahSiegel/claude-plugin-marketplace

Run it inside Claude Code once, then install the plugin below.

Install

/plugin install azure-master@claude-plugin-marketplace

Run it inside Claude Code after adding the marketplace.

Files

Discovered from source

AKS Automatic - 2025 GA Features

Complete knowledge base for Azure Kubernetes Service Automatic mode (GA October 2025).

Overview

AKS Automatic is a fully-managed Kubernetes offering that eliminates operational overhead through intelligent automation and built-in best practices.

Key Features (GA October 2025)

1. Zero Operational Overhead

  • Fully-managed control plane and worker nodes
  • Automatic OS patching and security updates
  • Built-in monitoring and diagnostics
  • Integrated security and compliance

2. Karpenter Integration

  • Dynamic node provisioning based on real-time demand
  • Intelligent bin-packing for cost optimization
  • Automatic node consolidation and deprovisioning
  • Support for multiple node pools and instance types

3. Auto-Scaling (Enabled by Default)

  • Horizontal Pod Autoscaler (HPA): Scale pods based on CPU/memory
  • Vertical Pod Autoscaler (VPA): Adjust pod resource requests/limits
  • KEDA: Event-driven autoscaling for external triggers

4. Enhanced Security

  • Microsoft Entra ID integration for authentication
  • Azure RBAC for Kubernetes authorization
  • Network policies enabled by default
  • Automatic security patches
  • Workload identity for pod-level authentication

5. Advanced Networking

  • Azure CNI Overlay for efficient IP usage
  • Cilium dataplane for high-performance networking
  • Network policies for microsegmentation
  • Private clusters supported

6. New Billing Model (Effective October 19, 2025)

  • Hosted control plane fee: $0.16/cluster/hour
  • Compute charges based on actual node usage
  • No separate cluster management fee
  • Cost savings from Karpenter optimization

7. Node Operating System

  • Ubuntu 22.04 for Kubernetes < 1.34
  • Ubuntu 24.04 for Kubernetes >= 1.34
  • Automatic OS upgrades with node image channel

Creating AKS Automatic Cluster

Basic Creation

az aks create \
  --resource-group MyRG \
  --name MyAKSAutomatic \
  --sku automatic \
  --kubernetes-version 1.34 \
  --location eastus

Production-Ready Configuration

az aks create \
  --resource-group MyRG \
  --name MyAKSAutomatic \
  --location eastus \
  --sku automatic \
  --tier standard \
  \
  # Kubernetes version
  --kubernetes-version 1.34 \
  \
  # Karpenter (default in automatic mode)
  --enable-karpenter \
  \
  # Networking
  --network-plugin azure \
  --network-plugin-mode overlay \
  --network-dataplane cilium \
  --service-cidr 10.0.0.0/16 \
  --dns-service-ip 10.0.0.10 \
  --load-balancer-sku standard \
  \
  # Use custom VNet (optional)
  --vnet-subnet-id /subscriptions/<sub-id>/resourceGroups/MyRG/providers/Microsoft.Network/virtualNetworks/MyVNet/subnets/AKSSubnet \
  \
  # Availability zones
  --zones 1 2 3 \
  \
  # Authentication and authorization
  --enable-managed-identity \
  --enable-aad \
  --enable-azure-rbac \
  --aad-admin-group-object-ids <group-object-id> \
  \
  # Auto-upgrade
  --auto-upgrade-channel stable \
  --node-os-upgrade-channel NodeImage \
  \
  # Security
  --enable-defender \
  --enable-workload-identity \
  --enable-oidc-issuer \
  \
  # Monitoring
  --enable-addons monitoring \
  --workspace-resource-id /subscriptions/<sub-id>/resourceGroups/MyRG/providers/Microsoft.OperationalInsights/workspaces/MyWorkspace \
  \
  # Tags
  --tags Environment=Production ManagedBy=AKSAutomatic

With Azure Policy Add-on

az aks create \
  --resource-group MyRG \
  --name MyAKSAutomatic \
  --sku automatic \
  --enable-addons azure-policy \
  --kubernetes-version 1.34

Karpenter Configuration

AKS Automatic uses Karpenter for intelligent node provisioning. Customize node provisioning with AKSNodeClass and NodePool CRDs.

Default AKSNodeClass

apiVersion: karpenter.azure.com/v1alpha1
kind: AKSNodeClass
metadata:
  name: default
spec:
  # OS Image - Ubuntu 24.04 for K8s 1.34+
  osImage:
    sku: Ubuntu
    version: "24.04"

  # VM Series
  vmSeries:
    - Standard_D
    - Standard_E

  # Max pods per node
  maxPodsPerNode: 110

  # Security
  securityProfile:
    sshAccess: Disabled
    securityType: Standard

Custom NodePool

apiVersion: karpenter.sh/v1
kind: NodePool
metadata:
  name: general-purpose
spec:
  # Constraints
  template:
    spec:
      requirements:
        - key: kubernetes.io/arch
          operator: In
          values: ["amd64"]
        - key: karpenter.sh/capacity-type
          operator: In
          values: ["on-demand"]
        - key: kubernetes.azure.com/agentpool
          operator: In
          values: ["general"]

      # Node labels
      labels:
        workload-type: general

      # Taints (optional)
      taints:
        - key: "dedicated"
          value: "general"
          effect: "NoSchedule"

      # NodeClass reference
      nodeClassRef:
        group: karpenter.azure.com
        kind: AKSNodeClass
        name: default

  # Limits
  limits:
    cpu: "1000"
    memory: 4000Gi

  # Disruption budget
  disruption:
    consolidationPolicy: WhenEmpty
    consolidateAfter: 30s
    expireAfter: 720h # 30 days
    budgets:
      - nodes: "10%"
        duration: 5m

GPU NodePool for AI Workloads

apiVersion: karpenter.sh/v1
kind: NodePool
metadata:
  name: gpu-workloads
spec:
  template:
    spec:
      requirements:
        - key: kubernetes.io/arch
          operator: In
          values: ["amd64"]
        - key: karpenter.sh/capacity-type
          operator: In
          values: ["on-demand"]
        - key: node.kubernetes.io/instance-type
          operator: In
          values: ["Standard_NC6s_v3", "Standard_NC12s_v3", "Standard_NC24s_v3"]

      labels:
        workload-type: gpu
        gpu-type: nvidia-v100

      taints:
        - key: "nvidia.com/gpu"
          value: "true"
          effect: "NoSchedule"

      nodeClassRef:
        group: karpenter.azure.com
        kind: AKSNodeClass
        name: gpu-nodeclass

  limits:
    cpu: "200"
    memory: 800Gi
    nvidia.com/gpu: "16"

  disruption:
    consolidationPolicy: WhenEmpty
    consolidateAfter: 300s

Autoscaling with HPA, VPA, and KEDA

Horizontal Pod Autoscaler (HPA)

apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
  name: myapp-hpa
spec:
  scaleTargetRef:
    apiVersion: apps/v1
    kind: Deployment
    name: myapp
  minReplicas: 2
  maxReplicas: 50
  metrics:
    - type: Resource
      resource:
        name: cpu
        target:
          type: Utilization
          averageUtilization: 70
    - type: Resource
      resource:
        name: memory
        target:
          type: Utilization
          averageUtilization: 80
  behavior:
    scaleUp:
      stabilizationWindowSeconds: 0
      policies:
        - type: Percent
          value: 100
          periodSeconds: 15
        - type: Pods
          value: 4
          periodSeconds: 15
      selectPolicy: Max
    scaleDown:
      stabilizationWindowSeconds: 300
      policies:
        - type: Percent
          value: 50
          periodSeconds: 15

Vertical Pod Autoscaler (VPA)

apiVersion: autoscaling.k8s.io/v1
kind: VerticalPodAutoscaler
metadata:
  name: myapp-vpa
spec:
  targetRef:
    apiVersion: apps/v1
    kind: Deployment
    name: myapp
  updatePolicy:
    updateMode: "Auto"  # Auto, Recreate, Initial, Off
  resourcePolicy:
    containerPolicies:
      - containerName: "*"
        minAllowed:
          cpu: 100m
          memory: 128Mi
        maxAllowed:
          cpu: 4
          memory: 8Gi
        controlledResources: ["cpu", "memory"]
        controlledValues: RequestsAndLimits

KEDA ScaledObject (Event-Driven)

apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
  name: myapp-queue-scaler
spec:
  scaleTargetRef:
    name: myapp
  minReplicaCount: 0  # Scale to zero
  maxReplicaCount: 100
  pollingInterval: 30
  cooldownPeriod: 300
  triggers:
    # Azure Service Bus Queue
    - type: azure-servicebus
      metadata:
        queueName: myqueue
        namespace: myservicebus
        messageCount: "5"
      authenticationRef:
        name: azure-servicebus-auth

    # Azure Storage Queue
    - type: azure-queue
      metadata:
        queueName: myqueue
        queueLength: "10"
        accountName: mystorageaccount
      authenticationRef:
        name: azure-storage-auth

    # Prometheus metrics
    - type: prometheus
      metadata:
        serverAddress: http://prometheus.monitoring.svc.cluster.local:9090
        metricName: http_requests_per_second
        threshold: "100"
        query: sum(rate(http_requests_total[2m]))

Workload Identity (Replaces AAD Pod Identity)

Setup

# Workload identity is enabled by default in AKS Automatic

# Create managed identity
az identity create \
  --name myapp-identity \
  --resource-group MyRG

# Get identity details
export IDENTITY_CLIENT_ID=$(az identity show -g MyRG -n myapp-identity --query clientId -o tsv)
export IDENTITY_OBJECT_ID=$(az identity show -g MyRG -n myapp-identity --query principalId -o tsv)

# Assign role to identity
az role assignment create \
  --assignee $IDENTITY_OBJECT_ID \
  --role "Storage Blob Data Contributor" \
  --scope /subscriptions/<sub-id>/resourceGroups/MyRG/providers/Microsoft.Storage/storageAccounts/mystorage

# Create federated credential
export AKS_OIDC_ISSUER=$(az aks show -g MyRG -n MyAKSAutomatic --query oidcIssuerProfile.issuerUrl -o tsv)

az identity federated-credential create \
  --name myapp-federated-credential \
  --identity-name myapp-identity \
  --resource-group MyRG \
  --issuer $AKS_OIDC_ISSUER \
  --subject system:serviceaccount:default:myapp-sa

Kubernetes Resources

# Service Account
apiVersion: v1
kind: ServiceAccount
metadata:
  name: myapp-sa
  namespace: default
  annotations:
    azure.workload.identity/client-id: "<IDENTITY_CLIENT_ID>"

---
# Deployment using workload identity
apiVersion: apps/v1
kind: Deployment
metadata:
  name: myapp
spec:
  replicas: 2
  selector:
    matchLabels:
      app: myapp
  template:
    metadata:
      labels:
        app: myapp
        azure.workload.identity/use: "true"  # Enable workload identity
    spec:
      serviceAccountName: myapp-sa
      containers:
        - name: myapp
          image: myregistry.azurecr.io/myapp:latest
          env:
            - name: AZURE_CLIENT_ID
              value: "<IDENTITY_CLIENT_ID>"
            - name: AZURE_TENANT_ID
              value: "<TENANT_ID>"
            - name: AZURE_FEDERATED_TOKEN_FILE
              value: /var/run/secrets/azure/tokens/azure-identity-token
          volumeMounts:
            - name: azure-identity-token
              mountPath: /var/run/secrets/azure/tokens
              readOnly: true
      volumes:
        - name: azure-identity-token
          projected:
            sources:
              - serviceAccountToken:
                  path: azure-identity-token
                  expirationSeconds: 3600
                  audience: api://AzureADTokenExchange

Monitoring and Observability

Enable Container Insights

# Already enabled with --enable-addons monitoring
# Query logs using Azure Monitor

# Get cluster logs
az monitor log-analytics query \
  --workspace <workspace-id> \
  --analytics-query "KubePodInventory | where ClusterName == 'MyAKSAutomatic' | take 10" \
  --output table

# Get Karpenter logs
kubectl logs -n kube-system -l app.kubernetes.io/name=karpenter

Prometheus and Grafana

# Enable managed Prometheus
az aks update \
  --resource-group MyRG \
  --name MyAKSAutomatic \
  --enable-azure-monitor-metrics

# Access Grafana dashboards through Azure Portal

Cost Optimization

Billing Model (October 2025)

  • Control plane: $0.16/hour per cluster
  • Compute: Pay for actual node usage
  • Karpenter: Automatic bin-packing and consolidation
  • Scale-to-zero: Possible with KEDA and Karpenter

Cost-Saving Tips

  1. Use Spot Instances for Non-Critical Workloads
- key: karpenter.sh/capacity-type
  operator: In
  values: ["spot"]
  1. Configure Aggressive Consolidation
disruption:
  consolidationPolicy: WhenUnderutilized
  consolidateAfter: 30s
  1. Implement Pod Disruption Budgets
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
  name: myapp-pdb
spec:
  minAvailable: 1
  selector:
    matchLabels:
      app: myapp
  1. Use VPA for Right-Sizing
  • VPA automatically adjusts resource requests based on actual usage

Migration from Standard AKS to Automatic

AKS Automatic is a new cluster mode - in-place migration is not supported. Follow these steps:

  1. Create new AKS Automatic cluster
  2. Install workloads in new cluster
  3. Validate functionality
  4. Switch traffic (DNS, load balancer)
  5. Decommission old cluster

Best Practices

✓ Use AKS Automatic for new production clusters ✓ Enable workload identity for pod authentication ✓ Configure custom NodePools for specific workload types ✓ Implement HPA, VPA, and KEDA for comprehensive scaling ✓ Use spot instances for batch and fault-tolerant workloads ✓ Enable Container Insights and Managed Prometheus ✓ Configure Pod Disruption Budgets for critical apps ✓ Use network policies for microsegmentation ✓ Enable Azure Policy add-on for compliance ✓ Implement GitOps with Flux or Argo CD

Troubleshooting

Check Karpenter Status

kubectl logs -n kube-system -l app.kubernetes.io/name=karpenter --tail=100
kubectl get nodepools
kubectl get nodeclaims

View Node Provisioning Events

kubectl get events --field-selector involvedObject.kind=NodePool -A

Debug Workload Identity Issues

# Check service account annotation
kubectl get sa myapp-sa -o yaml

# Check pod labels
kubectl get pod <pod-name> -o yaml | grep azure.workload.identity

# Check federated credential
az identity federated-credential show \
  --identity-name myapp-identity \
  --resource-group MyRG \
  --name myapp-federated-credential

References

AKS Automatic represents the future of managed Kubernetes on Azure - zero operational overhead with maximum automation!

Readme

Azure Master Plugin

Complete Azure cloud expertise system with 2025 features for Claude Code.

Overview

Azure Master provides comprehensive knowledge and automation for all major Azure services, featuring the latest 2025 updates including AKS Automatic, Container Apps GPU support, Azure OpenAI GPT-5/reasoning models, Deployment Stacks, and Bicep v0.37+ features.

Key Features

🚀 2025 Azure Services

  • AKS Automatic (GA October 2025)

    • Zero operational overhead with Karpenter autoscaling
    • HPA, VPA, and KEDA enabled by default
    • Ubuntu 24.04 on Kubernetes 1.34+
    • New billing model: $0.16/hour cluster + compute
  • Container Apps GPU Support (GA)

    • Serverless GPU with scale-to-zero
    • Per-second billing for cost optimization
    • Dapr integration for microservices
    • Foundry Models integration
  • Azure OpenAI Service 2025 Models

    • GPT-5 series: gpt-5, gpt-5-pro, gpt-5-codex
    • GPT-4.1 with 1M token context
    • Reasoning models: o4-mini, o3, o1
    • Image generation: GPT-image-1
    • Video generation: Sora
  • Deployment Stacks (GA)

    • Unified resource lifecycle management
    • Deny settings for resource protection
    • Replaces Azure Blueprints (deprecated July 2026)
    • Subscription and resource group scopes
  • Bicep 2025 (v0.37.4)

    • externalInput() function (GA)
    • C# authoring for custom extensions
    • Enhanced parameter validation
    • Improved module lifecycle
  • Azure AI Foundry

    • Model router for optimal selection
    • Agentic retrieval (40% better accuracy)
    • Foundry Observability (Preview)
    • SRE Agent for autonomous monitoring

📋 Comprehensive Service Coverage

Compute: VMs, AKS, Container Apps, App Service, Azure Functions, Batch

Networking: VNet, NSG, Application Gateway, Front Door, Load Balancer, Private Link

Storage: Blob Storage, Azure Files, Data Lake, Managed Disks

Databases: SQL Database, Cosmos DB, PostgreSQL, MySQL, Redis Cache

AI/ML: Azure OpenAI, Cognitive Services, Machine Learning, AI Foundry

Security: Key Vault, Microsoft Defender, Entra ID, RBAC, Managed Identity

Monitoring: Azure Monitor, Application Insights, Log Analytics

DevOps: Deployment Stacks, Bicep, ARM Templates, Azure CLI

Installation

Via Claude Code Marketplace

# Install from marketplace
claude-code plugin install azure-master

Manual Installation

# Clone repository
git clone https://github.com/JosiahSiegel/claude-plugin-marketplace
cd claude-plugin-marketplace/plugins/azure-master

# Link plugin
claude-code plugin link .

Usage

Automatic Activation

The plugin automatically activates when you:

  • Mention Azure services in your request
  • Work with Azure CLI commands
  • Deploy infrastructure with Bicep or ARM templates
  • Configure AKS, Container Apps, or other Azure resources

Slash Commands

/azure-master:az-cli

Execute Azure CLI commands with expert guidance and 2025 best practices.

Examples:

# Create AKS Automatic cluster
/azure-master:az-cli Create an AKS Automatic cluster with Karpenter, Cilium networking, and workload identity

# Deploy Container App with GPU
/azure-master:az-cli Deploy a Container App with NVIDIA A100 GPU for AI inference with scale-to-zero

# Setup Azure OpenAI with GPT-5
/azure-master:az-cli Create Azure OpenAI resource and deploy GPT-5 model with 100 capacity
/azure-master:azure-deploy

Deploy Azure resources using Bicep, ARM templates, or Deployment Stacks.

Examples:

# Create production infrastructure with Deployment Stack
/azure-master:azure-deploy Create a deployment stack for AKS Automatic, Container Apps, and Azure OpenAI

# Deploy multi-region application
/azure-master:azure-deploy Deploy web app with Front Door, App Service in multiple regions, and Cosmos DB

# Infrastructure with monitoring
/azure-master:azure-deploy Create complete observability stack with Log Analytics, Application Insights, and alerts

Skills

aks-automatic-2025

Complete knowledge base for AKS Automatic including:

  • Karpenter configuration and NodePools
  • HPA, VPA, and KEDA autoscaling
  • Workload identity setup
  • GPU NodePools for AI workloads
  • Cost optimization strategies
container-apps-gpu-2025

Azure Container Apps GPU support including:

  • Serverless and dedicated GPU configurations
  • Dapr integration patterns
  • AI model deployment (vLLM, Stable Diffusion)
  • Scaling rules and cost optimization
  • Batch processing jobs
deployment-stacks-2025

Deployment Stacks best practices:

  • Stack creation at different scopes
  • Deny settings and resource protection
  • ActionOnUnmanage policies
  • Migration from Azure Blueprints
azure-openai-2025

Latest Azure OpenAI models and features:

  • GPT-5 series deployment
  • Reasoning models (o3, o4-mini)
  • Image and video generation
  • Model router configuration
  • Foundry Observability

Agent: Azure Expert

The core azure-expert agent provides:

✓ Latest Azure documentation research (WebSearch + Context7) ✓ Production-ready configurations ✓ Well-Architected Framework guidance ✓ Security hardening and RBAC ✓ Cost optimization strategies ✓ Complete service examples with all parameters ✓ Troubleshooting and debugging assistance

Quick Start Examples

1. Create AKS Automatic Cluster

az aks create \
  --resource-group MyRG \
  --name MyAKSAutomatic \
  --sku automatic \
  --kubernetes-version 1.34 \
  --enable-karpenter \
  --network-plugin azure \
  --network-plugin-mode overlay \
  --network-dataplane cilium \
  --zones 1 2 3 \
  --enable-workload-identity \
  --enable-oidc-issuer

2. Deploy Container App with GPU

az containerapp create \
  --name ai-inference \
  --resource-group MyRG \
  --environment myenv \
  --image myregistry.azurecr.io/model:latest \
  --cpu 4 \
  --memory 16Gi \
  --gpu-type nvidia-a100 \
  --gpu-count 1 \
  --min-replicas 0 \
  --max-replicas 10 \
  --target-port 8080 \
  --ingress external

3. Create Deployment Stack

az stack sub create \
  --name MyStack \
  --location eastus \
  --template-file main.bicep \
  --deny-settings-mode DenyWriteAndDelete \
  --action-on-unmanage deleteAll \
  --description "Production infrastructure"

4. Deploy Azure OpenAI GPT-5

az cognitiveservices account create \
  --name myopenai \
  --resource-group MyRG \
  --kind OpenAI \
  --sku S0 \
  --location eastus

az cognitiveservices account deployment create \
  --resource-group MyRG \
  --name myopenai \
  --deployment-name gpt-5 \
  --model-name gpt-5 \
  --model-version latest \
  --model-format OpenAI \
  --sku-name Standard \
  --sku-capacity 100

Architecture Patterns

Microservices with Container Apps and Dapr

resource containerAppEnv 'Microsoft.App/managedEnvironments@2025-02-01' = {
  name: 'myenv'
  location: location
  properties: {
    daprAIInstrumentationKey: appInsights.properties.InstrumentationKey
    zoneRedundant: true
  }
}

resource frontendApp 'Microsoft.App/containerApps@2025-02-01' = {
  name: 'frontend'
  properties: {
    environmentId: containerAppEnv.id
    configuration: {
      dapr: {
        enabled: true
        appId: 'frontend'
        appPort: 3000
      }
      ingress: {
        external: true
        targetPort: 3000
      }
    }
  }
}

resource backendApp 'Microsoft.App/containerApps@2025-02-01' = {
  name: 'backend'
  properties: {
    environmentId: containerAppEnv.id
    configuration: {
      dapr: {
        enabled: true
        appId: 'backend'
        appPort: 8080
      }
      ingress: {
        external: false
        targetPort: 8080
      }
    }
  }
}

AI/ML Platform with GPU Workloads

  • AKS Automatic: Training jobs with GPU NodePools
  • Container Apps GPU: Inference endpoints with scale-to-zero
  • Azure OpenAI: Pre-trained models via API
  • AI Foundry: Model management and observability
  • Storage: Azure Blob for datasets and model artifacts
  • Monitoring: Application Insights + Foundry Observability

Hub-Spoke Network Topology

# Hub VNet with Azure Firewall
az network vnet create \
  --resource-group Hub-RG \
  --name Hub-VNet \
  --address-prefix 10.0.0.0/16 \
  --subnet-name AzureFirewallSubnet \
  --subnet-prefix 10.0.1.0/24

# Spoke VNets for workloads
az network vnet create \
  --resource-group Spoke-RG \
  --name Spoke-VNet \
  --address-prefix 10.1.0.0/16

# VNet peering
az network vnet peering create \
  --name Hub-to-Spoke \
  --resource-group Hub-RG \
  --vnet-name Hub-VNet \
  --remote-vnet Spoke-VNet \
  --allow-vnet-access \
  --allow-forwarded-traffic \
  --allow-gateway-transit

Best Practices

Reliability

✓ Deploy across availability zones (3 zones for 99.99% SLA) ✓ Use AKS Automatic with Karpenter for dynamic scaling ✓ Implement health probes and readiness checks ✓ Enable automatic OS patching

Security

✓ Use managed identities (workload identity for AKS) ✓ Implement network policies and private endpoints ✓ Enable Microsoft Defender for Cloud ✓ Store secrets in Key Vault with RBAC ✓ Apply deny settings in Deployment Stacks

Cost Optimization

✓ Use Container Apps scale-to-zero ✓ Purchase Azure reservations (1-3 years) ✓ Enable Azure Hybrid Benefit ✓ Implement autoscaling policies ✓ Use AKS Automatic for efficient resource allocation

Performance

✓ Use premium storage tiers for production ✓ Enable accelerated networking ✓ Implement CDN for static content ✓ Use Container Apps GPU for AI workloads ✓ Configure appropriate scaling rules

Operational Excellence

✓ Use Deployment Stacks for lifecycle management ✓ Implement Infrastructure as Code (Bicep) ✓ Enable comprehensive monitoring ✓ Configure alerts and action groups ✓ Implement CI/CD pipelines

Azure CLI 2025 Updates

Version 2.79.0 (November 2025 Breaking Changes)

  • ACR Helm 2 support removed (March 2025)
  • Role assignment delete behavior changed
  • Deprecated parameters removed (location, endpoint-type, max-percent-unhealthy-deployed-applications)

Keep Azure CLI Updated:

az version
az upgrade

Git Bash / Windows Compatibility

Critical for Windows developers using Git Bash:

Azure CLI development is common on Windows with Git Bash, but automatic path conversion can break commands. This plugin includes comprehensive Git Bash compatibility guidance.

Quick Fix for Git Bash

# Add to your .bashrc or script start
export MSYS_NO_PATHCONV=1

# Or detect Git Bash automatically
if [[ -n "$MSYSTEM" ]]; then
    export MSYS_NO_PATHCONV=1
fi

Common Issues

Problem: Resource IDs get converted incorrectly

# Fails: /subscriptions/... becomes C:/Program Files/Git/subscriptions/...
az vm start --ids /subscriptions/xxx/resourceGroups/xxx/...

Solution:

export MSYS_NO_PATHCONV=1
az vm start --ids /subscriptions/xxx/resourceGroups/xxx/...

Problem: ARM/Bicep template deployments fail

# May fail with path conversion issues
az deployment group create --template-file main.bicep --parameters @params.json

Solution:

export MSYS_NO_PATHCONV=1
az deployment group create --template-file main.bicep --parameters @params.json

Shell Detection

The plugin agents include automatic shell detection patterns:

# Detect Git Bash using MSYSTEM variable (most reliable)
if [[ -n "$MSYSTEM" ]]; then
    export MSYS_NO_PATHCONV=1
    echo "Git Bash detected"
fi

# Detect using OSTYPE
case "$OSTYPE" in
    msys*)    export MSYS_NO_PATHCONV=1 ;;
    cygwin*)  export MSYS_NO_PATHCONV=1 ;;
esac

Path Conversion Tools

# Convert Unix to Windows path
cygpath -w "/c/Projects/template.bicep"
# Output: C:\Projects\template.bicep

# Convert Windows to Unix path
cygpath -u "C:\Projects\template.bicep"
# Output: /c/Projects/template.bicep

# Use in deployments
templatePath=$(cygpath -w "./main.bicep")
az deployment group create --template-file "$templatePath"

All Azure Master agents (az-cli-expert, arm-bicep-expert) include Windows/Git Bash compatibility guidance and examples.

Troubleshooting

Check Azure CLI Version

az version
# Should be 2.79.0 or later

Verify Bicep Version

az bicep version
# Should be 0.37.4 or later

az bicep upgrade

Check Resource Provider Registration

az provider list \
  --query "[?registrationState=='Registered']" \
  --output table

View Activity Logs

az monitor activity-log list \
  --resource-group MyRG \
  --start-time 2025-01-27T00:00:00Z \
  --output table

Contributing

Contributions are welcome! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Add/update documentation and examples
  4. Test thoroughly with Azure CLI
  5. Submit a pull request

Resources

License

MIT License - see LICENSE for details.

Author

Josiah Siegel (JosiahSiegel@users.noreply.github.com)

Version

1.3.0 (March 2026)

What's New in 1.3.0

  • Azure ML / AI Foundry deep-dive - Comprehensive skill covering workspace architecture, networking, compute, endpoints, identities, ACR, storage, all CLI/PowerShell commands, Terraform, debugging
  • Progressive disclosure - ML skill split into lean core + 7 reference files for context efficiency
  • Lean agent - Agent body trimmed to orchestration logic; all domain knowledge in skills
  • Trigger-phrase descriptions - All 6 skills use third-person trigger phrases for reliable activation

Previous: 1.1.0

  • Git Bash / Windows Compatibility: Comprehensive path conversion guidance for Windows developers
  • Shell Detection: Automatic Git Bash/MINGW detection with MSYS_NO_PATHCONV configuration
  • ARM/Bicep Windows Support: Path handling examples for template deployments on Windows
  • Cross-Platform Scripts: Production-ready scripts that work across Git Bash, PowerShell, and Unix shells
  • Path Conversion Tools: cygpath usage examples for Windows/Unix path conversion

Azure Master - Production-ready Azure infrastructure with 2025 best practices.

Details

Marketplace
JosiahSiegel/claude-plugin-marketplace
Source
plugins/azure-master
Author
Josiah Siegel
Category
Community
Keywords
azure, cloud, infrastructure, aks, container-apps, bicep, azure-cli, openai, ai-foundry, deployment-stacks, kubernetes, devops, networking, storage, databases, security, cost-optimization, monitoring, well-architected, machine-learning, mlops, automl, fine-tuning, prompt-flow, responsible-ai, model-deployment, private-endpoints, managed-identity, compute-cluster, terraform, powershell, acr, gpu, debugging, troubleshooting
Listed since
Apr 7, 2026

More from JosiahSiegel/claude-plugin-marketplace

All 43

Similar to azure-master

More DevOps & Cloud