23 lines
810 B
Markdown
23 lines
810 B
Markdown
# onestudy
|
|
|
|
incaai 클러스터에 배포되는 서비스. 정적 사이트(HTML/CSS/JS).
|
|
|
|
## 라이브 주소
|
|
- https://onestudy.onebiohealth.co.kr
|
|
- https://onestudy.wonlab.co.kr
|
|
|
|
## 노트북에서 배포(업데이트)하는 법
|
|
```bash
|
|
git clone https://git.onebiohealth.co.kr/inca/onestudy.git
|
|
cd onestudy
|
|
# 파일 추가/수정 (index.html 등)
|
|
git add -A && git commit -m "update" && git push
|
|
```
|
|
push하면 소스가 갱신되고, 배포는 다음 중 하나로 반영된다:
|
|
- (수동) 관리자가 `kubectl -n onestudy rollout restart deploy/onestudy`
|
|
- (자동) Gitea webhook/Actions 설정 시 push만으로 자동 반영
|
|
|
|
## 구조
|
|
nginx 파드가 시작 시 이 repo를 clone해서 서비스한다 (레지스트리 불필요).
|
|
배포 매니페스트: `incaai:/home/inca/incaai/k8s/onestudy.yaml`
|