Repository for dip
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

2.1 KiB

mlflow 버전 갱신 가이드

카탈로그 업데이트 방식: 기존 버전 디렉토리는 유지하고, 신규 버전 디렉토리를 새로 생성한다. manifests/helm/mlflow/<new-version>/ 디렉토리를 직접 추가하는 방식으로 관리한다.

1. git 작업 환경 구성

  • dip-catalog git 다운로드
git clone https://github.com/paasup/dip-catalog.git
  • 작업 브랜치로 체크아웃
git checkout -b update-mlflow/<new-version>

2. helm chart 업데이트

1) 기존 버전 디렉토리 복사

신규 버전 디렉토리를 기존 버전에서 복사하여 시작한다. BUILD-README.md, CUSTOM-README.md, custom-values.yaml, README.md가 함께 복사된다.

cd ~/dip-catalog/manifests/helm/mlflow

# 기존 버전에서 신규 버전 디렉토리 복사
cp -r 1.9.0 <new-version>

2) 업스트림 차트 파일 업데이트

신규 버전 디렉토리에서 업스트림 차트 파일만 교체한다. BUILD-README.md, CUSTOM-README.md, custom-values.yaml, README.md는 유지한다.

cd ~/dip-catalog/manifests/helm/mlflow

# helm repo 추가
helm repo add community-charts https://community-charts.github.io/helm-charts
helm repo update

# 신규 버전 차트 다운로드 후 압축 해제
helm pull community-charts/mlflow --version="<new-version>"
tar xzvf mlflow-<new-version>.tgz -C <new-version> --strip-components=1

# 불필요한 파일 삭제
rm mlflow-<new-version>.tgz

3. git push 및 tag 추가

  • 갱신 작업 진행 후 commit
git add .
git commit -m "update mlflow/1.9.0"
  • main 브랜치에 체크아웃 후 merge
git checkout main
git merge update-mlflow/1.9.0
  • git에 push 후 작업 브랜치 삭제
git push -u origin main
git branch -d update-mlflow/1.9.0
  • git tag 추가 후 push
git tag mlflow/1.9.0
git push origin mlflow/1.9.0

4. 차트 버전 정보