mirror of
https://github.com/cna-bootcamp/phonebill.git
synced 2025-12-06 16:16:23 +00:00
주요 작업: - Kustomize 기반 환경별 배포 구조 완성 (dev/staging/prod) - deployment-patch.yaml 개선: replicas + resources 통합 관리 - Strategic Merge Patch 형식으로 변경하여 가독성 및 유지보수성 향상 - 환경별 차등 리소스 할당 정책 적용 - Jenkins 파이프라인 스크립트 및 수동 배포 스크립트 완성 - 상세한 체크리스트 및 실수 방지 가이드 추가 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
56 lines
1.4 KiB
YAML
56 lines
1.4 KiB
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
|
|
metadata:
|
|
name: phonebill-base
|
|
|
|
resources:
|
|
# Common resources
|
|
- common/cm-common.yaml
|
|
- common/secret-common.yaml
|
|
- common/secret-imagepull.yaml
|
|
- common/ingress.yaml
|
|
|
|
# API Gateway
|
|
- api-gateway/deployment.yaml
|
|
- api-gateway/service.yaml
|
|
- api-gateway/cm-api-gateway.yaml
|
|
|
|
# User Service
|
|
- user-service/deployment.yaml
|
|
- user-service/service.yaml
|
|
- user-service/cm-user-service.yaml
|
|
- user-service/secret-user-service.yaml
|
|
|
|
# Bill Service
|
|
- bill-service/deployment.yaml
|
|
- bill-service/service.yaml
|
|
- bill-service/cm-bill-service.yaml
|
|
- bill-service/secret-bill-service.yaml
|
|
|
|
# Product Service
|
|
- product-service/deployment.yaml
|
|
- product-service/service.yaml
|
|
- product-service/cm-product-service.yaml
|
|
- product-service/secret-product-service.yaml
|
|
|
|
# KOS Mock
|
|
- kos-mock/deployment.yaml
|
|
- kos-mock/service.yaml
|
|
- kos-mock/cm-kos-mock.yaml
|
|
|
|
commonLabels:
|
|
app: phonebill
|
|
version: v1
|
|
|
|
images:
|
|
- name: acrdigitalgarage01.azurecr.io/phonebill/api-gateway
|
|
newTag: latest
|
|
- name: acrdigitalgarage01.azurecr.io/phonebill/user-service
|
|
newTag: latest
|
|
- name: acrdigitalgarage01.azurecr.io/phonebill/bill-service
|
|
newTag: latest
|
|
- name: acrdigitalgarage01.azurecr.io/phonebill/product-service
|
|
newTag: latest
|
|
- name: acrdigitalgarage01.azurecr.io/phonebill/kos-mock
|
|
newTag: latest |