Admission controller rejecting AI model pod missing required label

blue and red cargo ship on sea during daytime

Problem Deploying an AI inference service on a GPU‑enabled Kubernetes cluster fails with an admission controller error: Error from server (Forbidden): admission webhook “gpu-policy.example.com” denied the request: missing required label “model-version” on pod spec; requested GPU count 2 exceeds the per‑pod limit of 1 The MutatingAdmissionWebhook enforces two policies for every pod that schedules on … Read more

Kubernetes inference queue backlog causing batch job timeouts

a group of blue squares

Problem Batch processing jobs that invoke a TensorFlow Serving inference service on a Kubernetes cluster are experiencing timeouts. The underlying symptom is a steadily growing inference request queue inside the service pod, eventually causing the kubectl logs output to show a backlog of pending requests and the batch job to fail with deadline exceeded errors. … Read more

RAG prompt template rendering error during performance benchmark on Kubernetes

a group of blue boxes

Problem The retrieval‑augmented generation (RAG) service deployed on a Kubernetes cluster fails during the performance benchmark phase with a prompt template rendering error. The error appears only under load and aborts the benchmark run, causing the following observable symptoms: Benchmark client receives HTTP 500 responses with body {“error”:”PromptTemplateError: variable ‘context’ is undefined”}. Pod logs contain stack … Read more

401 error from AI inference pod after SAML assertion validation fails

blue and red cargo ship on sea during daytime

401 error from AI inference pod after SAML assertion validation fails Problem In a Kubernetes‑hosted microservices platform, the AI inference service (ai‑model‑svc) began returning HTTP 401 responses for internal calls that should be authenticated via SAML‑based SSO. The failure is logged as “SAML assertion invalid” by the authentication middleware, causing downstream clients to see a hard … Read more

Kubernetes NetworkPolicy blocking API gateway inbound traffic after policy update

a group of blue squares

Problem The API gateway service (gateway-prod) suddenly stopped receiving inbound HTTP requests after a routine NetworkPolicy update. The symptom manifested as 5xx errors from downstream services and connection timeouts observed by clients. Observed logs 2026-10-05T14:32:10.123Z kubelet[1234]: E0905 14:32:10.123456 1234 network_plugin.go:215] Failed to program iptables rules: iptables-restore v1.8.4: line 23: Invalid argument 2026-10-05T14:32:10.124Z kube-proxy[5678]: I0905 14:32:10.124567 … Read more

OAuth2 token request timeout in Kubernetes pods after Docker restart

chart

Problem – OAuth2 Token Request Timeout After Docker Restart After a Docker daemon restart on a node, pods that host the AI inference service begin to fail during the OAuth2 token acquisition phase. The service logs show repeated timeouts when contacting the authorization server, and the authentication flow aborts, causing inference requests to return 401 … Read more

Kubernetes NetworkPolicy blocking model-serving pods from Redis cache

a group of blue boxes

Problem – Model‑Serving Pods Cannot Reach Redis Cache In a production Kubernetes cluster the AI inference workloads run in the model-serving namespace. The Redis cache that stores model artifacts lives in the data-services namespace and is exposed via the Service redis-data-services (port 6379). After a recent deployment of a default‑deny NetworkPolicy in model-serving, inference requests … Read more

RAG answer extraction empty after model evaluation in Kubernetes

a group of blue squares

Problem Description During automated model evaluation runs in a CI/CD pipeline on a Kubernetes cluster, the Retrieval‑Augmented Generation (RAG) microservice returns an answer field that is either empty or malformed. The API response typically looks like: { “question”: “What is the capital of France?”, “answer”: “” } Typical log excerpts from the RAG pod include: … Read more

ModelCollection CRD creation returns 422 after Argo CD sync

background pattern

Problem: ModelCollection CRD creation returns 422 after Argo CD sync In an on‑premise Kubernetes 1.27 cluster running the KFServing (now KServe) model serving stack, an Argo CD application that contains a ModelCollection manifest fails during the sync phase. The controller logs show a 422 Unprocessable Entity response from the modelcollection.kserve.io admission webhook, with errors such as: admission … Read more

RAG pipeline chunk overlap causing duplicate context injection in Kubernetes

background pattern

RAG Pipeline Chunk Overlap Causing Duplicate Context Injection in Kubernetes Problem The Retrieval‑Augmented Generation (RAG) service deployed on a GPU‑accelerated Kubernetes cluster began exhibiting: Excessive token duplication in the vector store, leading to inflated embedding counts. Memory pressure on A100/H100 pods, resulting in OOMKilled restarts. Embedding latency spikes (>30 s) and a 40 % drop in retrieval … Read more