[Config Guide]

행복성장캠퍼스의 설정파일을 활용하면 CloudZ 환경에 빠르게 배포하실 수 있습니다.

구분 설명 링크
React-Frontend React Frontend 배포용 Configuration 바로가기
Node.js-Backend Node.js Backend 배포용 Configuration 바로가기
Spring Boot-Backend Springboot Backend 배포용 Configuration 바로가기



프로젝트 구조


프로젝트 Root 폴더에 설정파일을 추가해보세요.

  • deployment.yaml : Pod 및 ReplicaSet에 대한 선언적 업데이트를 담당
  • service.yaml : Pod에서 실행되는 응용프로그램을 네트워크 서비스로 노출하는 역할
  • ingress.yaml : 클러스터의 서비스에 대한 외부 액세스를 관리하는 API 객체
  • Dockerfile : docker 설정파일
  • Jenkinsfile : Jenkins 설정파일

Frontend 구성

  • k8s/[name]-deployment.yaml
  • k8s/[name]-service.yaml
  • k8s/[name]-ingress.yaml ← Frontend 서비스는 외부 액세스를 위해 Ingress 설정
  • Dockerfile
  • Jenkinsfile

Backend 구성

  • k8s/[name]-deployment.yaml
  • k8s/[name]-service.yaml
  • Dockerfile
  • Jenkinsfile