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 |
Tags
- IntelliJ
- Windows
- nginx
- Java
- NCP
- kubectl
- Linux
- JavaScript
- springboot
- Kubernetes
- gradle
- MySQL
- VSCode
- react
- SAP
- database
- gson
- maven
- Git
- dbeaver
- mybatis
- useEffect
- docker
- BPMN
- log4j2
- nodejs
- JPA
- LOG4J
- Spring
- tibero
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