KOPS2 [Kubernetes] kops로 클러스터 생성 s3 설정 ```shell ## 리눅스 export KOPS_STATE_STORE=s3:kustudy ``` ## 클러스터 생성 윈도우에서 KOPS_STATE_STORE 설정이 잘 안되 명령어를 추가했다. --state s3://[버킷 이름] ```shell kops create cluster --state s3://kustudy --zones ap-northeast-1a --networking calico --ssh-public-key ./id_rsa.pub kustudy.effectmall.com ``` ## 클러스터 옵션 변경 ### 노드 ```shell kops edit ig nodes --name kustudy.effectmall.com --state s3://kustudy ``` ### 마스터.. 2020. 3. 21. [Kubernetes] kops 설정하기 쿠버네티스 kops 설정하기 kops는 AWS에 쿠버네티스를 설정하는 데 도움을 주는 프로그램이다. 이 글을 쓰는 시점에 AWS에서 우분투 리눅스를 만들어서 클러스터를 만드는 것까지 성공했지만 개발 PC인 Window와 mac에서도 할 수 있게 할려고 한다. 순서 쿠버네티스 설치 kops 설치 AWS IAM 설정 route53 설정 AWS CLI 설치 s3 버킷 생성 Kops 참조사이트: https://github.com/kubernetes/kops Linux curl -LO https://github.com/kubernetes/kops/releases/download/$(curl -s https://api.github.com/repos/kubernetes/kops/releases/latest | gre.. 2020. 3. 20. 이전 1 다음