# prometheus-node-exporter 버전 갱신 가이드 > **카탈로그 업데이트 방식**: 기존 버전 디렉토리는 유지하고, 신규 버전 디렉토리를 새로 생성한다. > `manifests/helm/prometheus-node-exporter//` 디렉토리를 직접 추가하는 방식으로 관리한다. ## 1. git 작업 환경 구성 - dip-catalog git 다운로드 ```sh git clone https://github.com/paasup/dip-catalog.git ``` - 작업 브랜치로 체크아웃 ```sh git checkout -b update-prometheus-node-exporter/ ``` ## 2. helm chart 업데이트 ### 1) 기존 버전 디렉토리 복사 신규 버전 디렉토리를 기존 버전에서 복사하여 시작한다. `BUILD-README.md`, `CUSTOM-README.md`, `custom-values.yaml`가 함께 복사된다. ```sh cd ~/dip-catalog/manifests/helm/prometheus-node-exporter # 기존 버전에서 신규 버전 디렉토리 복사 cp -r 4.55.0 ``` ### 2) 업스트림 차트 파일 업데이트 신규 버전 디렉토리에서 업스트림 차트 파일만 교체한다. `BUILD-README.md`, `CUSTOM-README.md`, `custom-values.yaml`는 유지한다. ```sh cd ~/dip-catalog/manifests/helm/prometheus-node-exporter # helm repo 추가 helm repo add prometheus-community https://prometheus-community.github.io/helm-charts helm repo update # 신규 버전 차트 다운로드 후 압축 해제 helm pull prometheus-community/prometheus-node-exporter --version="" tar xzvf prometheus-node-exporter-.tgz -C --strip-components=1 # 불필요한 파일 삭제 rm prometheus-node-exporter-.tgz ``` ## 3. git push 및 tag 추가 ```sh git add . git commit -m "update prometheus-node-exporter/" git checkout main git merge update-prometheus-node-exporter/ git push -u origin main git branch -d update-prometheus-node-exporter/ git tag prometheus-node-exporter/ git push origin prometheus-node-exporter/ ``` ## 4. 차트 버전 정보 - prometheus-node-exporter/4.55.0 - Chart version: 4.55.0 - App version: 1.11.1 - 업스트림: https://prometheus-community.github.io/helm-charts