Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
OpenTraum 마이크로서비스 플랫폼(7개 앱 + 3개 인프라)을 EKS 클러스터에 배포하기 위한 K8s 매니페스트를 전면 구성합니다.
주요 변경:
k8s/secrets.yml을.gitignore에 추가하여 비밀번호 유출 방지Changes
신규 파일 (11개)
k8s/postgres/statefulset.ymlpg_isreadyprobe, AZ-b nodeAffinity + 인프라 podAffinityk8s/postgres/service.ymlopentraum-postgres:5432k8s/postgres/init-db-configmap.ymlLC_COLLATE제거)k8s/redis/deployment.yml--maxmemory 128mb --allkeys-lru --appendonly yes, 인프라 podAffinityk8s/redis/service.ymlopentraum-redis:6379k8s/kafka/statefulset.ymlCLUSTER_ID고정k8s/kafka/service.ymlopentraum-kafka:9092k8s/web/deployment.ymlimagePullSecrets, port 80k8s/web/service.ymlweb:80k8s/secrets.yml.gitignore처리, 원격 미포함)k8s/pdb.ymlmaxUnavailable: 0수정 파일 (8개)
.gitignorek8s/secrets.yml추가k8s/configmap.ymlDB_HOST,REDIS_HOST,KAFKA_BOOTSTRAP_SERVERS추가. Gateway 라우팅 5개 경로 환경변수 오버라이드 (/api/v1/admin/**포함)k8s/ingress.ymlhost: opentraum.52.79.80.47.nip.io,rewrite-target제거,/api→gateway +/→web 듀얼 path,proxy-read-timeout: 300k8s/gateway/deployment.ymlimagePullSecrets,secretRef,JAVA_TOOL_OPTIONS,topologySpreadConstraints,securityContext,terminationGracePeriodSeconds: 35, 리소스 256Mi/150m → 512Mi/500mk8s/auth-service/deployment.ymlSPRING_R2DBC_URL: r2dbc:postgresql://opentraum-postgres:5432/opentraum_auth,DB_NAMEk8s/user-service/deployment.ymlopentraum_user)k8s/event-service/deployment.ymlopentraum_event)k8s/reservation-service/deployment.ymlpodAffinityevent-service 선호 (weight:80),JAVA_OPTS오버라이드, Git SHA 태그cfb2847k8s/payment-service/deployment.ymlJAVA_OPTS오버라이드설계 결정 및 근거
bitnami/kafka:3.7Docker Hub 삭제 →apache/kafka:3.7.0host:*+path:/충돌 회피/api/v1/admin/events/**누락 → 이미지 리빌드 없이 즉시 반영localhost하드코딩latest는imagePullPolicy: IfNotPresent에서 캐시되어 새 이미지 미반영Test plan
/admin/events,/admin/venues) 200 응답http://opentraum.52.79.80.47.nip.io/200