...
Code Block | ||
---|---|---|
| ||
$ helm search repo stable|head -n10 NAME CHART VERSION APP VERSION DESCRIPTION nginx-stable/nginx-ingress 0.7.0 1.9.0 NGINX Ingress Controller stable/acs-engine-autoscaler 2.2.2 2.1.1 NAME DEPRECATED Scales worker nodes within agent pools stable/aerospike CHART VERSION APP VERSION 0.3.5 DESCRIPTIONv4.5.0.5 DEPRECATED A Helm chart for Aerospike in Kubern... stable/airflow 7.13.3 1.10.12 DEPRECATED - please use: https://github.com/air... stable/ambassador stable/acs-engine-autoscaler 2.25.3.2 20.186.1 DEPRECATED ScalesA workerHelm nodeschart withinfor agentDatawire poolsAmbassador stable/anchore-engine 1.7.0 0.7.3 Anchore container analysis and policy stable/aerospikeevaluatio... stable/apm-server 02.31.57 v47.50.0.5 DEPRECATED AThe Helmserver chartreceives fordata Aerospikefrom inthe KubernEl... stable/ark 4.2.2 0.10.2 stable/airflowDEPRECATED A Helm chart for ark stable/artifactory 7.133.32 6.1.10.120 DEPRECATED -Universal pleaseRepository use: https://github.com/air... stable/ambassador 5.3.2 0.86.1 DEPRECATED A Helm chart for Datawire Ambassador stable/anchore-engine 1.7.0 0.7.3 Anchore container analysis and policy evaluatio... stable/apm-server 2.1.7 7.0.0 DEPRECATED The server receives data from the El... stable/ark 4.2.2 0.10.2 DEPRECATED A Helm chart for ark stable/artifactory 7.3.2 6.1.0 DEPRECATED Universal Repository Manager support... stable/artifactory-ha 0.4.2 6.2.0 DEPRECATED Universal Repository Manager support... |
해서, 원하는 application package 버전의 Chart를 찾아서 repo add 하여 사용한다.
다음 섹션에서 자세히 다루기로 한다.
Using Helm
Using Helm Repo
Find a package
이 전 섹션에서 다룬 것처럼, 기본 stable repo는 DEPRECATED 된 chart가 많아서, 최신 버전 혹은 원하는 버전을 찾기 어렵다.
원하는 application의 chart를 찾기 위해서는 여러 방법이 있는데,
여기에서는 Helm에서 공식 관리하는 Artifact Hub를 사용하여 원하는 chart를 가진 repo를 등록해보자.
Artifact Hub: https://artifacthub.io/
위 사이트에 접속하여 influxdb를 검색해보자.
아래와 같이 결과 화면이 출력 될 것이다.
Info |
---|
|
원하는 버전의 repo를 아래와 같이 복사한다.
...
Info |
---|
이 외에도 자사 제품의 손쉬운 배포 관리를 지원하기 위해, 예, https://github.com/influxdata/helm-charts 또한, https://github.com/helm/monocular 도 많이 사용한다. |
Add into the repo.
Code Block | ||
---|---|---|
| ||
# Add repository
$ helm repo add bitnami https://charts.bitnami.com/bitnami
# List up repo
$ helm repo list
NAME URL
stable https://charts.helm.sh/stable
nginx-stable https://helm.nginx.com/stable
bitnami https://charts.bitnami.com/bitnami # bitnami repo가 추가되었다.
monocular https://helm.github.io/monocular
influxdata https://helm.influxdata.com/ |
Search Chart
아래와 같이 localhost에 등록된 모든 repo에서 influxdb chart를 찾는다.
Code Block | ||
---|---|---|
| ||
$ helm search repo influxdb NAME CHART VERSION APP VERSION DESCRIPTION bitnami/influxdb 1.0.0 1.8.3 InfluxDB is an open source time-series database... influxdata/influxdb 4.8.9 1.8.0 Scalable datastore for metrics, events, and rea... influxdata/influxdb-enterprise 0.1.12 1.8.0 Run InfluxDB Enterprise on Kubernetes influxdata/influxdb2 1.0.11 2.0.0-rc A Helm chart for InfluxDB v2 stable/influxdb 4.3.2 1.7.9 DEPRECATED Scalable datastore for metrics, even... bitnami/grafana 4.0.2 7.3.3 Grafana is an open source, feature rich metrics... Manager support... |
해서, 원하는 application package 버전의 Chart를 찾아서 repo add 하여 사용한다.
다음 섹션에서 자세히 다루기로 한다.
Using Helm
Using Helm Repo
Find a package
이 전 섹션에서 다룬 것처럼, 기본 stable repo는 DEPRECATED 된 chart가 많아서, 최신 버전 혹은 원하는 버전을 찾기 어렵다.
원하는 application의 chart를 찾기 위해서는 여러 방법이 있는데,
여기에서는 Helm에서 공식 관리하는 Artifact Hub를 사용하여 원하는 chart를 가진 repo를 등록해보자.
Artifact Hub: https://artifacthub.io/
위 사이트에 접속하여 influxdb를 검색해보자.
아래와 같이 결과 화면이 출력 될 것이다.
Info |
---|
|
원하는 버전의 repo를 아래와 같이 복사한다.
...
Info |
---|
이 외에도 자사 제품의 손쉬운 배포 관리를 지원하기 위해, 예, https://github.com/influxdata/helm-charts 또한, https://github.com/helm/monocular 도 많이 사용한다. |
Add into the repo.
Code Block | ||
---|---|---|
| ||
# Add repository $ helm repo add bitnami https://charts.bitnami.com/bitnami # List up repo $ helm repo list NAME URL stable https://charts.helm.sh/stable nginx-stable https://helm.nginx.com/stable bitnami influxdata/kapacitor https://charts.bitnami.com/bitnami # bitnami repo가 추가되었다. monocular 1.3.1 https://helm.github.io/monocular influxdata 1.5.4 InfluxDB's native data processing engine. It ca...https://helm.influxdata.com/ |
Search Chart
아래와 같이 localhost에 등록된 모든 repo에서 influxdb chart를 찾는다.
Code Block | ||
---|---|---|
| ||
$ helm search repo influxdb NAME CHART VERSION APP VERSION DESCRIPTION bitnami/influxdb 1.0.0 1.8.3 InfluxDB is an open source time-series stable/kapacitordatabase... influxdata/influxdb 1.2.24.8.9 1.58.20 Scalable DEPRECATEDdatastore InfluxDB's native data processing en...for metrics, events, and rea... influxdata/influxdb-enterprise 0.1.12 1.8.0 Run InfluxDB Enterprise on Kubernetes influxdata/influxdb2 1.0.11 2.0.0-rc A Helm chart for InfluxDB v2 stable/influxdb influxdata/chronograf4.3.2 1.17.199 1.8.8 DEPRECATED Scalable datastore for metrics, even... bitnami/grafana Open-source web application written in Go and R... 4.0.2 7.3.3 Grafana is an open source, feature rich metrics... influxdata/kapacitor 1.3.1 1.5.4 InfluxDB's native data processing engine. It ca... stable/kapacitor influxdata/telegraf 1.72.322 1.165.2 DEPRECATED InfluxDB's native data processing Telegraf is an agent written in Go for collecti...en... influxdata/chronograf 1.1.19 1.8.8 Open-source web application written in Go and R... influxdata/telegraf 1.7.32 1.16 Telegraf is an agent written in Go for collecti... influxdata/telegraf-operator 1.1.5 v1.1.1 A Helm chart for Kubernetes to deploy telegraf-... |
...