<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/holmesgpt-azure-ai-foundry-a-quick-kubernetes-troubleshooting-demo-azj7wckqu" -->

---
title: HolmesGPT + Azure AI Foundry: A Quick Kubernetes...
description: A hands-on walkthrough of using HolmesGPT with Azure AI Foundry and Azure OpenAI to diagnose a deliberately broken Kubernetes pod. The setup uses a local kind...
canonical: https://daily.dev/posts/holmesgpt-azure-ai-foundry-a-quick-kubernetes-troubleshooting-demo-azj7wckqu
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: HolmesGPT + Azure AI Foundry: A Quick Kubernetes Troubleshooting Demo | daily.dev
og:description: A hands-on walkthrough of using HolmesGPT with Azure AI Foundry and Azure OpenAI to diagnose a deliberately broken Kubernetes pod. The setup uses a local kind...
og:url: https://daily.dev/posts/holmesgpt-azure-ai-foundry-a-quick-kubernetes-troubleshooting-demo-azj7wckqu
og:image: https://api.daily.dev/og/posts/Azj7wcKQU.png
og:image:alt: HolmesGPT + Azure AI Foundry: A Quick Kubernetes Troubleshooting Demo
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# HolmesGPT + Azure AI Foundry: A Quick Kubernetes Troubleshooting Demo

**[Thomas Thornton](https://daily.dev/sources/thomasthornton)** · 6 min read · 3 upvotes · 0 comments

## Summary

A hands-on walkthrough of using HolmesGPT with Azure AI Foundry and Azure OpenAI to diagnose a deliberately broken Kubernetes pod. The setup uses a local kind cluster with a pod stuck in Pending due to a nodeSelector mismatch. HolmesGPT autonomously investigates the cluster state, reads events, checks nodes, identifies the root cause, and suggests concrete fixes — either removing the nodeSelector or labeling the node. The post highlights how AI-assisted troubleshooting can reduce the manual kubectl command-chaining typically needed to diagnose Kubernetes scheduling issues.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://thomasthornton.cloud/holmesgpt-azure-ai-foundry-a-quick-kubernetes-troubleshooting-demo>

## Questions this post answers

### How do I connect HolmesGPT to an Azure OpenAI deployment through Azure AI Foundry?

Export AZURE_API_KEY, AZURE_API_BASE, AZURE_API_VERSION, and AZURE_DEPLOYMENT_NAME from the Azure portal's endpoints and keys section, then run holmes ask with --model set to azure/$AZURE_DEPLOYMENT_NAME. HolmesGPT uses this to authenticate against your Azure OpenAI deployment and reason over live Kubernetes cluster state rather than just answering from a prompt.

_daily.dev surfaces practical walkthroughs like this for teams wiring AI agents into their Kubernetes workflows._

### Why is my Kubernetes pod stuck in Pending state with no logs?

A pod with no logs stuck in Pending usually means it was never scheduled onto a node, often because of a nodeSelector that does not match any node's labels. Checking scheduler events reveals a node affinity or selector mismatch; fixing it means either removing the nodeSelector from the pod spec or labeling a node to satisfy it.

_Developers debugging scheduling failures can compare notes on Kubernetes troubleshooting patterns via daily.dev._

## Similar posts on daily.dev

- [HolmesGPT: Agentic troubleshooting built for the cloud native era](https://daily.dev/posts/holmesgpt-agentic-troubleshooting-built-for-the-cloud-native-era-4uijutrip) · CNCF · 3 upvotes · 0 comments
- [K8sGPT and the Guardrails for AI-Assisted Kubernetes Troubleshooting](https://daily.dev/posts/k8sgpt-and-the-guardrails-for-ai-assisted-kubernetes-troubleshooting-tgork0fwl) · Cloud Native Now · 4 upvotes · 1 comments
- [Can An AI Agent Debug Kubernetes? I Broke A Cluster To Find Out](https://daily.dev/posts/can-an-ai-agent-debug-kubernetes-i-broke-a-cluster-to-find-out-lpg5q9gwr) · marmelab · 9 upvotes · 0 comments
- [Auto-Verifying Your AI-SRE’s Fixes \(Part II\): HolmesGPT End-to-End on a Real Cluster](https://daily.dev/posts/auto-verifying-your-ai-sre-s-fixes-part-ii-holmesgpt-end-to-end-on-a-real-cluster-tadh2q8bw) · MetalBear · 4 upvotes · 0 comments

---

Tags: [#kubernetes](https://daily.dev/tags/kubernetes), [#ai-agents](https://daily.dev/tags/ai-agents), [#observability](https://daily.dev/tags/observability)

[View this post on daily.dev](https://daily.dev/posts/holmesgpt-azure-ai-foundry-a-quick-kubernetes-troubleshooting-demo-azj7wckqu)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"HolmesGPT + Azure AI Foundry: A Quick Kubernetes Troubleshooting Demo","url":"https://daily.dev/posts/holmesgpt-azure-ai-foundry-a-quick-kubernetes-troubleshooting-demo-azj7wckqu","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/holmesgpt-azure-ai-foundry-a-quick-kubernetes-troubleshooting-demo-azj7wckqu"},"datePublished":"2026-07-16T14:06:31.173Z","dateModified":"2026-09-14T06:12:41.074Z","description":"A hands-on walkthrough of using HolmesGPT with Azure AI Foundry and Azure OpenAI to diagnose a deliberately broken Kubernetes pod. The setup uses a local kind...","image":"https://i0.wp.com/thomasthornton.cloud/wp-content/uploads/2026/07/image-3.png?fit=1840%2C962&ssl=1","thumbnailUrl":"https://i0.wp.com/thomasthornton.cloud/wp-content/uploads/2026/07/image-3.png?fit=1840%2C962&ssl=1","isAccessibleForFree":true,"articleSection":"Thomas Thornton","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Thomas Thornton","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/03d58f5ec1004427824a8381b15027e8","url":"https://daily.dev/sources/thomasthornton"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/holmesgpt-azure-ai-foundry-a-quick-kubernetes-troubleshooting-demo-azj7wckqu","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"kubernetes,ai-agents,observability","timeRequired":"PT6M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Thomas Thornton","item":"https://daily.dev/sources/thomasthornton"},{"@type":"ListItem","position":3,"name":"HolmesGPT + Azure AI Foundry: A Quick Kubernetes Troubleshooting Demo"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/holmesgpt-azure-ai-foundry-a-quick-kubernetes-troubleshooting-demo-azj7wckqu#faq","mainEntity":[{"@type":"Question","name":"How do I connect HolmesGPT to an Azure OpenAI deployment through Azure AI Foundry?","acceptedAnswer":{"@type":"Answer","text":"Export AZURE_API_KEY, AZURE_API_BASE, AZURE_API_VERSION, and AZURE_DEPLOYMENT_NAME from the Azure portal's endpoints and keys section, then run holmes ask with --model set to azure/$AZURE_DEPLOYMENT_NAME. HolmesGPT uses this to authenticate against your Azure OpenAI deployment and reason over live Kubernetes cluster state rather than just answering from a prompt. daily.dev surfaces practical walkthroughs like this for teams wiring AI agents into their Kubernetes workflows."}},{"@type":"Question","name":"Why is my Kubernetes pod stuck in Pending state with no logs?","acceptedAnswer":{"@type":"Answer","text":"A pod with no logs stuck in Pending usually means it was never scheduled onto a node, often because of a nodeSelector that does not match any node's labels. Checking scheduler events reveals a node affinity or selector mismatch; fixing it means either removing the nodeSelector from the pod spec or labeling a node to satisfy it. Developers debugging scheduling failures can compare notes on Kubernetes troubleshooting patterns via daily.dev."}}]}
```

