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.
1.8 KiB
1.8 KiB
Rancher Monitoring CRD 버전 갱신 가이드
- 해당 차트는
rancher-monitoring을 배포 전에 배포되어야 하는 crd 파일을 관리하는 차트이다. - 갱신 작업 시
rancher-monitoring에 대한 갱신 작업도 같이 진행되어야 한다.
1. git 작업 환경 구성
- 서비스 카탈로그 git 다운로드
$ git clone https://github.com/paasup/service-catalog.git
- 작업 브랜치로 체크아웃
$ git checkout -b update-monitoring/104.1.2+up57.0.3
2. helm chart upgrade
1) 파일 삭제
- 수정 또는 추가한 파일을 제외한 나머지 파일을 삭제한다.
# chart 디렉토리로 이동 cd ~/service-catalog/charts/rancher-monitoring-crd # 파일 삭제 전 삭제할 파일 목록 확인 find . -mindepth 1 \( -name "CUSTOM-README.md" -o -name "BUILD-README.md" -o -name "custom-values.yaml" \) -prune -o -print # 파일 삭제 find . -mindepth 1 \(-name "CUSTOM-README.md" -o -name "BUILD-README.md" -o -name "custom-values.yaml" \) -prune -o -exec rm -rf {} +
2) 차트 다운로드
- 해당 차트는 rancher에서 관리 중인 charts에서 다운로드한다.
- rancher/charts 클론
# 작업 디렉토리로 이동 $ cd ~/ # rancher 버전 별로 branch가 관리된다. # rancher 버전에 맞추어 필요한 버전의 chart를 클론한다. $ git clone -b release-v2.9 https://github.com/rancher/charts - 파일 복사
$ cd service-catalog/charts/rancher-monitoring-crd/ $ cp -r ~/charts/charts/rancher-monitoring-crd/104.1.2+up57.0.3/* ./
3. git push 및 tag 추가
- rancher-monitoring에 대한 갱신 작업 진행 후 git push를 진행한다.
- push 방법은 rancher-monitoring의 BUILD-README.md를 참조하여 진행한다.