Helm: ์ธํ„ฐ๋„ท ์—ฐ๊ฒฐ์ด์—†๋Š” Helm init.

์— ๋งŒ๋“  2017๋…„ 04์›” 07์ผ  ยท  3์ฝ”๋ฉ˜ํŠธ  ยท  ์ถœ์ฒ˜: helm/helm

์‚ฌ์šฉ ์‚ฌ๋ก€ :

์•ˆ์ •์ ์ธ ์ฐจํŠธ ์ €์žฅ์†Œ๊ฐ€ ํ•„์š”ํ•˜์ง€ ์•Š๊ณ  (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์€ ์•ˆ์ •์ ์ธ ์ฐจํŠธ ์ €์žฅ์†Œ์— ์ ‘๊ทผํ•˜์ง€ ์•Š๊ธฐ ๋•Œ๋ฌธ์ž…๋‹ˆ๋‹ค.

ํ•ด๊ฒฐ์ฑ…:

์ด ๋Ÿฐํƒ€์ž„ ์ธํ„ฐ๋„ท ์ข…์†์„ฑ์„ ํ”ผํ•˜๊ธฐ ์œ„ํ•ด ์ผ๋ถ€ ๋ช…๋ น ์ค„ ๋งค๊ฐœ ๋ณ€์ˆ˜ ๋˜๋Š” ๊ธฐํƒ€ ์˜ต์…˜ ์ œ์–ด๊ฐ€ ์žˆ์œผ๋ฉด ์ข‹์„ ๊ฒƒ์ž…๋‹ˆ๋‹ค.

์‚ฌ์šฉ ์‚ฌ๋ก€๊ฐ€ ์˜๋ฏธ์žˆ๋Š” ๊ฒƒ์œผ๋กœ ํ™•์ธ๋˜๋ฉด์ด๋ฅผ ์ œ์–ดํ•˜๊ธฐ ์œ„ํ•ด ์›ํ•˜๋Š” ๋งค๊ฐœ ๋ณ€์ˆ˜ / ๋ฐฉ๋ฒ•์— ๋Œ€ํ•œ ์กฐ์–ธ์„ ์ฃผ์‹œ๋ฉด ๊ตฌํ˜„ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค.

questiosupport

๊ฐ€์žฅ ์œ ์šฉํ•œ ๋Œ“๊ธ€

Helm 2.3.0 : helm init -c --skip-refresh

๋ชจ๋“  3 ๋Œ“๊ธ€

Helm 2.3.0 : helm init -c --skip-refresh

๊ณผ์—ฐ. ์šฐ๋ฆฌ๋Š” master / 2.3.0 ์ฝ”๋“œ ๊ฒ€์‚ฌ์—†์ด 2.2.0 helm CLI๋กœ ๊ทธ๊ฒƒ์„ ์•Œ์•„ ๋‚ด๋ ค๊ณ ํ–ˆ์Šต๋‹ˆ๋‹ค.
๋น ๋ฅธ ์‘๋‹ต ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค!

helm init -c --skip-refresh

๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค.

์ด ํŽ˜์ด์ง€๊ฐ€ ๋„์›€์ด ๋˜์—ˆ๋‚˜์š”?
0 / 5 - 0 ๋“ฑ๊ธ‰