Monday, October 30, 2023

Fix for Kubernetes Deployment Error using helm chart | Error: kubernetes cluster unreachable: exec plugin: invalid apiversion "client.authentication.k8s.io/v1alpha1"

 Error: kubernetes cluster unreachable: exec plugin: invalid apiversion "client.authentication.k8s.io/v1alpha1"


 

Root cause and fix:
Downgrading helm version to 3.8.2 would resolve the issue.

curl -L https://git.io/get_helm.sh | bash -s -- --version v3.8.2

3 comments:

  1. This explanation really helped me understand the root cause behind the “invalid apiversion” error. I actually ran into the same issue with Helm 3.9 and downgrading to 3.8.2 fixed it instantly. Has anyone tried this approach on a multi-cluster setup? For more tips on kubernetes deployment, this guide is quite helpful.

    ReplyDelete