Dear reader.
Thank you for reading my question.
After I installed Kubernetes, Just I wanted to check the Kube version. I enter kubectl version --client,
however, I can’t check it instead of .\kubectl version --client.
If someone know that how I can solve this errror and check the kubernetes verson using kubectl version --client.
PS C:\Users\royko> kubectl version --client
kubectl : ‘kubectl’ 용어가 cmdlet, 함수, 스크립트 파일 또는 실행할 수 있는 프로그램 이름으로 인식되지 않습니다. 이름이
정확한지 확인하고 경로가 포함된 경우 경로가 올바른지 검증한 다음 다시 시도하십시오.
위치 줄:1 문자:1
- kubectl version --client
-
+ CategoryInfo : ObjectNotFound: (kubectl:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
Suggestion [3,General]: kubectl 명령이 현재 위치에 있지만 이 명령을 찾을 수 없습니다. Windows PowerShell은 기본적으로 현재 위치에서 명령을 로드하지 않습니다. 이 명령을 신뢰하는 경우 대신 ".\kubectl"을(를) 입력하십시오. 자세한 내용은 "get-help about_Command_Precedence"를 참조하십시오.
PS C:\Users\royko> .\kubectl version --client
WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short. Use --output=yaml|json to get the full version.
Client Version: version.Info{Major:“1”, Minor:“24”, GitVersion:“v1.24.1”, GitCommit:“3ddd0f45aa91e2f30c70734b175631bec5b5825a”, GitTreeState:“clean”, BuildDate:“2022-05-24T12:26:19Z”, GoVersion:“go1.18.2”, Compiler:“gc”, Platform:“windows/amd64”}
Kustomize Version: v4.5.4