IT/EKS
helm invalid apiVersion "client.authentication.k8s.io/v1alpha1" 이상한 오류
클라우드 개발자 앙몬드
2023. 7. 7. 11:51
반응형
원래 잘 쓰고 있던 헬름차트 바이너리 (지금 3.12) 를, kube config 컨텍스트 좀 만지작 거리면서 놀다보니
다음과 같은 에러가 뜨기 시작함.
Error: Kubernetes cluster unreachable: exec plugin: invalid apiVersion "client.authentication.k8s.io/v1alpha1"
> 어제까지만 해도 잘 쓰던 헬름 애가 갑자기 찡찡댐
> 웃긴거는 그냥 kubectl 바이너리는 아무 문제 없음. 헬름 버그 스멜 의심됨.
대충 이슈 찾아보니 나만 겪은건 아닌거 같음.
github 에서 공식 레이즈되었던 이슈이기도 함.
https://github.com/helm/helm/issues/10975
AWS: helm v3.9.0 causes invalid apiVersion error · Issue #10975 · helm/helm
Versions Output of helm version: not working version: version.BuildInfo{Version:"v3.9.0", GitCommit:"7ceeda6c585217a19a1131663d8cd1f7d641b2a7", GitTreeState:"clean", GoVersion:"go1.17.5"} working v...
github.com
영어 울렁증 있으면 대충 아래 커맨드로 해서, 3.8 버전으로 다운그레이드 한 다음 헬름 업스톨 해보셈.
나는 풀렸음.
curl -L https://git.io/get_helm.sh | bash -s -- --version v3.8.2
아 참고로, 헬름 마이너 버전 차이에 따라서 헬름차트 value가 어떤건 박히고 어떤건 안박히는게 있음.
helm diff 플러그인 꽂아서 꼭 헬름 업스톨 전에 차이여부 확인해보셈.
반응형