[K8S] 使用 Helm 下載 Prometheus chart

[K8S] 使用 Helm 下載 Prometheus chart

今天想要把 Prometheus 的 Helm chart 抓下來使用,

簡單記錄一下步驟吧~

 

首先加入 Prometheus 的 Helm repo:

helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update

 

接著可以搜尋一下 repo 裡有哪些 Helm chart:

$ helm search repo prometheus-community
NAME                                              	CHART VERSION	APP VERSION	DESCRIPTION
prometheus-community/alertmanager                 	0.33.1       	v0.25.0    	The Alertmanager handles alerts sent by client ...
prometheus-community/alertmanager-snmp-notifier   	0.1.1        	v1.4.0     	The SNMP Notifier handles alerts coming from Pr...
prometheus-community/jiralert                     	1.4.1        	v1.3.0     	A Helm chart for Kubernetes to install jiralert
prometheus-community/kube-prometheus-stack        	47.3.0       	v0.66.0    	kube-prometheus-stack collects Kubernetes manif...
prometheus-community/kube-state-metrics           	5.8.1        	2.9.2      	Install kube-state-metrics to generate and expo...
prometheus-community/prom-label-proxy             	0.3.0        	v0.6.0     	A proxy that enforces a given label in a given ...
prometheus-community/prometheus                   	22.7.0       	v2.45.0    	Prometheus is a monitoring system and time seri...
prometheus-community/prometheus-adapter           	4.2.0        	v0.10.0    	A Helm chart for k8s prometheus adapter
......

 

像我要抓的是 prometheus 這個 helm chart ,就執行下面的指令:

helm pull prometheus-community/prometheus

 

抓下來是 prometheus-22.7.0.tgz 這個檔案,

解開後就可以使用囉~

(本頁面已被瀏覽過 168 次)

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

這個網站採用 Akismet 服務減少垃圾留言。進一步了解 Akismet 如何處理網站訪客的留言資料