개발/Apache Airflow

helm upgrade --install 오류

Jaeyeon Baek 2023. 6. 16. 22:10

helm upgrade --install 명령어가 실패하는 경우가 있습니다.

$ helm upgrade --install airflow apache-airflow/airflow --namespace airflow --create-namespace
Release "airflow" does not exist. Installing it now.
Error: failed to download "apache-airflow/airflow"

 

공식문서에 있는 명령어를 그대로 사용했음에도 오류가 나는 경우는, 일반적으로 이미 오래전에 helm repo를 추가해두고 방치한 경우일겁니다. 아래와 같이 repo를 업데이트 해주세요.

$ helm repo update
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "apache-airflow" chart repository

 

그리고 나서 helm upgrade --install 명령어를 실행하면 정상적으로 동작하는걸 확인하실 수 있습니다.