웹서버, 백엔드, DB를 컨테이너화 하여 쿠버네티스에 배포하는것에 초점을 맞췄습니다.
SpringBoot, Mysql, Nginx를 도커이미지로 만든 후 컨테이너로 실행하였고
GCP에서 Kubernetes클러스터를 구성 후 배포 및 기능동작까지 흘러가는것을 기록하였습니다.
- GCP(Google Cloud Platform)
- Docker
- Kubernetes
- SpringBoot(Maven)
- Mysql(Master-Slave구성)
- Nginx
- 1. Google Kubernetes 환경설정(macOS)
- 2. Mysql 이미지&컨테이너 생성
- 3. SpringBoot 어플리케이션 생성
- 4. 쿠버네티스 MySQL Master-Slave 세팅
- 5. 쿠버네티스 Nginx, SpringBoot 세팅
- 6. 쿠버네티스 Ingress 세팅
※ 컨테이너 yaml파일 경로 https://github.com/seolys/springboot-k8s-deploy-test/tree/master/yaml