본문 바로가기

기타

[mac] macOS에 kubectl 설치 및 설정

728x90

kubectl 설치 및 설정

최신 버전(1.25.x)

brew install kubectl
kubectl version --client --short
$ kubectl version --client --short
Flag --short has been deprecated, and will be removed in the future. The --short output will become the default.
Client Version: v1.25.1
Kustomize Version: v4.5.7

1.22.10 버전 설치

sudo curl -fsSL https://storage.googleapis.com/kubernetes-release/release/v1.22.10/bin/darwin/amd64/kubectl -o /usr/local/bin/kubectl
sudo chmod +x /usr/local/bin/kubectl
kubectl version --client
$ kubectl version --client --short
Client Version: v1.22.10

 

참고URL

- https://kubernetes.io/ko/docs/tasks/tools/install-kubectl-macos/

- http://pwittrock.github.io/docs/tasks/tools/install-kubectl/

 

728x90

'기타' 카테고리의 다른 글

[Mac] vscode 한 번에 여러 개 선택하여 수정하는 법  (0) 2022.09.21
[url] terraform modules  (0) 2022.08.28
[url] 랜덤 문자열 생성기  (0) 2022.08.28
[URL] Amazon EC2 AMI Locator  (0) 2022.08.26
[Mac] parallels desktop command-line  (0) 2022.08.22