인텔맥 MacOS 상에 Kubectl 설치

  • Edwards
    (Edwards)
  • Edwards's Avatar 이 글의 작성자
  • Offline
  • Newbie
  • Newbie
더보기
23 Mar 2022 12:20 - 30 Mar 2022 13:47 #5572 작성자: Edwards
Edwards 님의 글: 인텔맥 MacOS 상에 Kubectl 설치
$ curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/darwin/amd64/kubectl"
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   154  100   154    0     0    437      0 --:--:-- --:--:-- --:--:--   443
100 50.6M  100 50.6M    0     0  3705k      0  0:00:13  0:00:13 --:--:-- 3636k

$ chmod +x ./kubectl

$ sudo mv ./kubectl /usr/local/bin/kubectl
Password:

$ kubectl version --client
Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.5", GitCommit:"c285e781331a3785a7f436042c65c5641ce8a9e9", GitTreeState:"clean", BuildDate:"2022-03-16T15:58:47Z", GoVersion:"go1.17.8", Compiler:"gc", Platform:"darwin/amd64"}

$ kubectl version --client --output=yaml
clientVersion:
  buildDate: "2022-03-16T15:58:47Z"
  compiler: gc
  gitCommit: c285e781331a3785a7f436042c65c5641ce8a9e9
  gitTreeState: clean
  gitVersion: v1.23.5
  goVersion: go1.17.8
  major: "1"
  minor: "23"
  platform: darwin/amd64
Time to create page: 0.058 seconds
Powered by Kunena Forum