helm: charts is deprecated 원인 및 수정

Choi Yeongjun·2021년 1월 25일
0
post-thumbnail

tl;dr

문제

인터넷에 올라와있는 helm 예제를 보면 차트가 deprecated 되었다고 하는 메세지를 쉽게 접할 수 있습니다. 이는 helm v3 부터 해당 저장소의 대한 공시적인 지원을 종료하여 나타는 안내 메세지입니다. 이에 적절하게 운영되고 있는 비공식 저장소를 사용하는 편이 좋습니다.
제가 사용하는 저장소는 대표적으로 bitnami 가 있습니다.

helm install stable/mariadb --generate-name
-> WARNING: This chart is deprecated # 해당 메세지!
NAME: mariadb-1611597840
...

해결

helm repo add bitnami https://charts.bitnami.com/bitnami`
helm install bitnami/mariadb # stable을  bitnami로 수정하였습니다.
  • 더 이상 https://charts.helm.sh/stable 은 여러 이유(본문참고) 사용되지 않습니다.
  • 대신 bitnami을 사용하거나 더 좋은 차트 저장소를 활용합니다.

원인

helm chart 저장소는 더 이상 사용되지 않습니다.

지난 2019년, helm v2 지원 타임라인과 지원 종료와 함게 helm/charts 의 깃허브 저장소의 사용 중단이 함께 발표되었습니다. 이러한 결정의 주된 이유는 깃허브 저장소의 관리자들의 유지보수비용이 크게 증가하였기 때문입니다.
지난 몇년 동안 유지보수가 필요한 차트의 갯수가 100여개의해서 300개 이상으로 늘어났고, 저장소의 풀리퀘스트와 업데이트가 함께 비례하여 증가하였습니다. 유감스럽게도 검토 및 유지 관리 자동화의 많은 노력이 있음에도 불구하고 관리자가 유지보수할 수 있는 시간이 부족하였습니다.

중략

Helm Chart Repository Deprecation Update

https://helm.sh/blog/charts-repo-deprecation/

Fri, Oct 30, 2020

Back in 2019, when the Helm v2 support timeline and end of life plan was announced, the deprecation of the helm/charts GitHub repository was announced, as well. The primary reason for the deprecation is the significant increase in upkeep for the repo maintainers. Over the last couple of years the number of charts under maintainance increased from ~100 to 300+ causing a commensurate increase in pull requests and updates to the repo. Unfortunately, despite many efforts to automate review and maintenance tasks, the amount of time available from maintainers has not increased.

When we announced the deprecation we also began to share the tools and guidance that we had used to maintain the helm/charts repo. For folks that want to host and maintain their own repositories you now have these tools available to streamline the process:

Chart Testing provides linting and testing for PRs against your charts
Chart Releaser provides tooling to help you host your own chart repo with GitHub Releases and Pages used to host your artifacts
Testing and Releasing Github Actions to automate the tooling described above using GitHub Actions
With these tools available we've enabled many charts to migrate to their own repositories for active maintenance.

profile
Be Right Developer

0개의 댓글