Skip to content

[Tooling] infra 최초 배포 bootstrap — namespace/postgres-secret/server-env 필요 #104

Description

@BcKmini

배경

PR #97에서 "현재 남은 작업"으로 적어둔 것 그대로: infra 쪽에서 namespace, Secret, PostgreSQL, deployment/server 최초 배포가 아직 안 되어 있음. 실제로 클러스터 확인해보니 fowoco 네임스페이스에 postgres-secret/server-env Secret도 없고 server/postgres Deployment 자체가 없음 (client만 떠있는 상태).

infrak8s/01-postgres.yaml, k8s/02-server.yaml은 이미 작성돼 있지만 아직 클러스터에 apply된 적 없음.

작업 범위 (infra 쪽에서 처리)

  • postgres-secret 생성 (POSTGRES_PASSWORD 등)
  • server-env Secret 생성 — .env.example 기준 필요한 키: DB_RUNTIME_USERNAME/PASSWORD, DB_MIGRATION_USERNAME/PASSWORD, JWT_SECRET_BASE64, AI_RUNTIME_ENDPOINT(클러스터 내부 ai Service 주소), CORS_ALLOWED_ORIGINS
  • kubectl apply -f k8s/00-namespace.yaml -f k8s/01-postgres.yaml -f k8s/02-server.yaml로 최초 배포
  • serverdeploy.yml도 client처럼 self-heal 패턴(매 배포마다 infra 매니페스트 자동 apply)으로 바꾸는 건 PR chore: 데모 배포 환경과 운영 검증 절차를 구성 #97 머지 이후 별도로 진행 (지금은 #97과 충돌 안 나게 코드는 안 건드림)

완료 조건

Metadata

Metadata

Assignees

Labels

area:infraServer Dockerfile·DB 설정·CI hook·배포 가능성 영역; 통합 인프라 운영은 infra 저장소와 조율status:blocked선행 작업이나 외부 조건 때문에 현재 진행할 수 없는 작업

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions