์์ ์ ์ธ ์ฐจํธ ์ ์ฅ์๊ฐ ํ์ํ์ง ์๊ณ (BTW) ์ธํฐ๋ท ์ฐ๊ฒฐ์ด ์ ํ์๋ (๊ณต์ฉ DNS ์๋ฒ์ ๋๋ฌ ํ ์์๋ ๊ฒฝ์ฐ์๋) ๊ทธ๋ฌํ ํ๊ฒฝ์ helm์ ์ ๊ณตํฉ๋๋ค.
ํ์ฌ helm init๋ ์์ ์ ์ธ ์ ์ฅ์์ index.yaml์ ๊ฐ์ ธ์ฌ ์ ์๊ธฐ ๋๋ฌธ์ ์ด๋ฌํ ๊ฒฉ๋ฆฌ ๋ ํ๊ฒฝ์์ ์คํจํฉ๋๋ค.
# helm init -c
Creating /root/.helm
Creating /root/.helm/repository
Creating /root/.helm/repository/cache
Creating /root/.helm/repository/local
Creating /root/.helm/plugins
Creating /root/.helm/starters
Creating /root/.helm/repository/repositories.yaml
Error: Looks like "https://kubernetes-charts.storage.googleapis.com" is not a valid chart repository or cannot be reached: Get https://kubernetes-charts.storage.googleapis.com/index.yaml: dial tcp: lookup kubernetes-charts.storage.googleapis.com on xx.xx.xx.xx:53: server misbehaving
helm init -c
์ด์ ์ ๋น /root/.helm/repository/repositories.yaml
ํ์ผ ๋ฐ ๊ธฐํ ๊ด๋ จ ๋๋ ํ ๋ฆฌ๋ฅผ ์์ฑํ๋ฉด ๋ฌธ์ ๊ฐ ํด๊ฒฐ๋ฉ๋๋ค.์ด ๊ฒฝ์ฐ helm์ ์์ ์ ์ธ ์ฐจํธ ์ ์ฅ์์ ์ ๊ทผํ์ง ์๊ธฐ ๋๋ฌธ์
๋๋ค.
์ด ๋ฐํ์ ์ธํฐ๋ท ์ข ์์ฑ์ ํผํ๊ธฐ ์ํด ์ผ๋ถ ๋ช ๋ น ์ค ๋งค๊ฐ ๋ณ์ ๋๋ ๊ธฐํ ์ต์ ์ ์ด๊ฐ ์์ผ๋ฉด ์ข์ ๊ฒ์ ๋๋ค.
์ฌ์ฉ ์ฌ๋ก๊ฐ ์๋ฏธ์๋ ๊ฒ์ผ๋ก ํ์ธ๋๋ฉด์ด๋ฅผ ์ ์ดํ๊ธฐ ์ํด ์ํ๋ ๋งค๊ฐ ๋ณ์ / ๋ฐฉ๋ฒ์ ๋ํ ์กฐ์ธ์ ์ฃผ์๋ฉด ๊ตฌํํ๊ฒ ์ต๋๋ค.
Helm 2.3.0 : helm init -c --skip-refresh
๊ณผ์ฐ. ์ฐ๋ฆฌ๋ master / 2.3.0 ์ฝ๋ ๊ฒ์ฌ์์ด 2.2.0 helm CLI๋ก ๊ทธ๊ฒ์ ์์ ๋ด๋ ค๊ณ ํ์ต๋๋ค.
๋น ๋ฅธ ์๋ต ๊ฐ์ฌํฉ๋๋ค!
helm init -c --skip-refresh
๊ฐ์ฌํฉ๋๋ค.
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
Helm 2.3.0 :
helm init -c --skip-refresh