EKSにhelmでPrometheusをデプロイする
1983 ワード
パッケージダウンロード
git clone [email protected]:prometheus-community/helm-charts.git
リポジトリ登録
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
リポジトリ登録確認
helm repo list
出力
prometheus-community https://prometheus-community.github.io/helm-charts
ディレクトリ移動
cd helm-charts/charts/prometheus
デプロイ
- value.yamlでNodeExportの設定が
true
になっているので、デフォルトでNodeExporterも構成される
helm install prometheus prometheus-community/prometheus
接続
export POD_NAME=$(kubectl get pods --namespace default -l "app=prometheus,component=server" -o jsonpath="{.items[0].metadata.name}")
kubectl --namespace default port-forward $POD_NAME 9090
動作確認
Author And Source
この問題について(EKSにhelmでPrometheusをデプロイする), 我々は、より多くの情報をここで見つけました https://qiita.com/yuta_vamdemic/items/cb420a806ead95792c5b著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .