Conversation
- Chart.yaml: name=api, appVersion=0.0.1 - _helpers.tpl: name/fullname/labels/selectorLabels helpers - NOTES.txt: install instructions for devopsim api - .helmignore: standard ignore patterns Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- deployment.yaml: api Deployment template with values variables - values.yaml: replicaCount, image, db, waitForDb, resources - waitForDb.enabled flag for local/production separation - NOTES.txt: simplified install instructions Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- service.yaml: ClusterIP, port 80 → targetPort 3000 - ingress.yaml: nginx, host optional, ingress.enabled flag - values.yaml: add service, ingress sections - docs/helm.md: add Service/Ingress notes Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- deployment.yaml, service.yaml, ingress.yaml templates - db-statefulset.yaml, db-service.yaml templates (db.enabled flag) - migrate-job.yaml with post-install,post-upgrade hook - values.yaml: replicaCount, image, service, ingress, db, waitForDb - values-local.yaml: replicas=3, pullPolicy=Never, ingress enabled - docs/helm.md: Service/Ingress, migration strategy, Secret management - Fix: pre-install → post-install hook (deadlock when db in same chart) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Remove db-statefulset.yaml, db-service.yaml from api chart - Add infra/helm/db/ chart (StatefulSet + Service + helpers) - fullnameOverride: "db" to fix Service name regardless of release name - migrate-job: pre-install hook (db chart deployed separately first) - api values.yaml: remove db image/storage config, keep host/port only Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- README: add Helm deployment section - helm.md: remove Service/Ingress section (moved to k8s.md) - k8s.md: K8s concepts (Service, Ingress, StatefulSet, CoreDNS, kube-proxy) - minikube.md: minikube setup troubleshooting Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
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
infra/helm/api/— api Deployment, Service, Ingress, migrate Job (pre-install hook) Helm Chartinfra/helm/db/— PostgreSQL StatefulSet, Service 독립 Helm Chart/api/version엔드포인트 추가docs/k8s.md,docs/minikube.md,docs/helm.md학습 기록주요 설계 결정
fullnameOverride: "db"로 Service 이름 고정 → api가 항상@db:5432로 접근 가능imagePullPolicy: Never+ 버전 태그로 로컬 minikube 이미지 관리Test plan
helm install db infra/helm/db후 db-0 Running 확인helm install api infra/helm/api -f values-local.yaml후 api × 3, migrate Completed 확인minikube tunnel후curl http://127.0.0.1/health,/ready,/api/items확인helm upgrade버전 변경 후 롤링 업데이트 확인helm rollback이전 버전 복구 확인🤖 Generated with Claude Code