KubeSphere Container Platform
KubeSphere Container Platform
Istio용 KubeSphere Container Platform을 준비하는 방법을 알려드려요.
출처: Istio 문서
본문
다음 안내를 따라 Istio용 KubeSphere Container Platform을 준비하세요. KubeSphere를 다운로드하면 Linux 머신에 Kubernetes 클러스터를 쉽게 설치할 수 있어요.
사전 요구사항
가상 머신 또는 베어메탈인 Linux 머신이 하나 필요해요. 이 머신은 최소한 다음이 필요해요:
- 하드웨어:
CPU: 최소 2 Core메모리: 최소 4 GB
- 운영체제:
CentOS 7.4 ~ 7.7 (64-bit)Ubuntu 16.04/18.04 LTS (64-bit)RHEL 7.4 (64-bit)Debian Stretch 9.5 (64-bit)
Kubernetes 클러스터 프로비저닝
- KubeSphere를 Linux 머신에 다운로드하고 KubeSphere 디렉터리로 이동해요. 예를 들어 만든 디렉터리가
kubesphere-all-v2.1.1이라면:
$ curl -L https://kubesphere.io/download/stable/latest > installer.tar.gz
$ tar -xzf installer.tar.gz
$ cd kubesphere-all-v2.1.1/scripts
- 설치 스크립트를 실행하면 표준 Kubernetes 클러스터가 만들어져요. 프롬프트가 나오면 "1) All-in-one" 옵션을 선택하세요:
$ ./install.sh
- 설치에는 15~20분 정도 걸릴 수 있어요. 모든 pod가 실행될 때까지 기다려요. 설치 로그에서 얻은 계정 정보로 콘솔에 접속해요:
#####################################################
### Welcome to KubeSphere! ###
#####################################################
Console: http://192.168.0.8:30880
Account: admin
Password: It will be generated by KubeSphere Installer
Kubernetes에서 Istio 설치 활성화
KubeSphere는 Kubernetes 안에 Istio를 설치합니다. 이제 Enable Service Mesh를 참고해서 Istio를 활성화하세요.