Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- Java
- Windows
- nginx
- SAP
- Kubernetes
- mybatis
- IntelliJ
- JavaScript
- Linux
- nodejs
- gradle
- log4j2
- Git
- BPMN
- kubectl
- NCP
- react
- JPA
- gson
- springboot
- docker
- VSCode
- Spring
- dbeaver
- LOG4J
- MySQL
- database
- maven
- tibero
- useEffect
Archives
- Today
- Total
두 손끝의 창조자
Mac에 NCloud kubectl 설치 본문
반응형
kubectl 설치
brew install kubectlncp-iam-authenticator 설치
brew tap NaverCloudPlatform/tap
brew install ncp-iam-authenticatorncp-iam-authenticator API 인증키값 설정
OS 환경변수 설정
export NCLOUD_ACCESS_KEY=ACCESSKEYIDACCESSKEY
export NCLOUD_SECRET_KEY=SECRETACCESSKEYSECRETACCESSKEYSECRETACCE
export NCLOUD_API_GW=https://ncloud.apigw.ntruss.comncp-iam-authenticator update-kubeconfig 명령 사용
ncp-iam-authenticator update-kubeconfig --region <region-code> --clusterUuid <cluster-uuid>
region - KR, SGN, JPN
clusterUuid - Console에서 Kubernetes Service --> Clusters 에서 해당하는 클러스터의 UUID 확인
생성된 설정 파일 확인
~/.kube 에 생성된 config파일 생성 확인
반응형
Comments