#1074·k8sgpt

Getting error "AI provider openai not specified in configuration. Please run k8sgpt auth" while using k8sgpt cli with Azureopenai as backend

Author: venkatestCreated Apr 7, 2024Updated Aug 25, 2026
Labelsbug

Checklist

  • I've searched for similar issues and couldn't find anything matching
  • I've included steps to reproduce the behavior

Affected Components

  • K8sGPT (CLI)
  • K8sGPT Operator

K8sGPT Version

v0.3.29

Kubernetes Version

v1.29.1

Host OS and its Version

Windows

Steps to reproduce

image

k8sgpt auth default -p azureopenai

k8sgpt auth add --backend azureopenai --baseurl https://xxxxxx.openai.azure.com --engine gpt3-5 --model gpt-35-turbo

image

image

k8sgpt analyze --explain --filter=Pod

image

Expected behaviour

K8sgpt should give analyze results

Actual behaviour

Error: AI provider openai not specified in configuration. Please run k8sgpt auth

Additional Information

I checked this issue : https://github.com/k8sgpt-ai/k8sgpt-operator/issues/98 but didnt help