k8sgpt icon indicating copy to clipboard operation
k8sgpt copied to clipboard

question: Error initializing Kubernetes Client (k8sgpt auth)

Open kfirfer opened this issue 1 year ago • 3 comments

Hello

im getting this error:

$k8sgpt auth
Error initialising kubernetes client: no Auth Provider found for name "oidc"

connecting to K8s cluster through oidc what should be done ?

kfirfer avatar Apr 10 '23 00:04 kfirfer

@kfirfer try: https://github.com/k8sgpt-ai/k8sgpt/pull/234

rrva avatar Apr 10 '23 14:04 rrva

k8sgpt version command also throws this error Error initialising kubernetes client: no Auth Provider found for name "azure"

aakashsetia avatar Apr 12 '23 10:04 aakashsetia

How can I get this fixed - no Auth Provider found for name "azure"

aakashsetia avatar Apr 12 '23 10:04 aakashsetia

@aakashsetia have you tried the latest v0.2.7? There are multiple fixes and OIDC was also brought in.

AlexsJones avatar Apr 28 '23 12:04 AlexsJones

Please reopen if this is an issue again!

AlexsJones avatar May 02 '23 07:05 AlexsJones