"Helm install node-exporter"의 두 판 사이의 차이

 
(같은 사용자의 중간 판 2개는 보이지 않습니다)
1번째 줄: 1번째 줄:
==개요==
==개요==
{{소문자}}
;helm install node-exporter  
;helm install node-exporter  


27번째 줄: 28번째 줄:
</syntaxhighlight>
</syntaxhighlight>
<syntaxhighlight lang='console'>
<syntaxhighlight lang='console'>
$ kubectl get pod  
$ kubectl get pod -owide
NAME                                READY  STATUS    RESTARTS  AGE
NAME                                READY  STATUS    RESTARTS  AGE     IP          NODE          NOMINATED NODE  READINESS GATES
ne-prometheus-node-exporter-m4p8s  1/1    Running  0          51s
ne-prometheus-node-exporter-m4p8s  1/1    Running  0          6m33s  172.30.1.2  controlplane  <none>          <none>
ne-prometheus-node-exporter-vtvrb  1/1    Running  0          51
ne-prometheus-node-exporter-vtvrb  1/1    Running  0          6m33s  172.30.2.2  node01        <none>          <none>
</syntaxhighlight>
<syntaxhighlight lang='console'>
$ curl -s http://172.30.1.2:9100/metrics | grep ^node_
node_arp_entries{device="cali52ff8003965"} 1
node_arp_entries{device="calid33c0dac998"} 1
node_arp_entries{device="enp1s0"} 1
node_arp_entries{device="flannel.1"} 1
node_boot_time_seconds 1.723429956e+09
...
</syntaxhighlight>
</syntaxhighlight>


==같이 보기==
==같이 보기==
* [[node-exporter]]
* [[node-exporter]]
* [[helm install prometheus]]


==참고==
==참고==

2024년 8월 12일 (월) 11:45 기준 최신판

1 개요[ | ]

helm install node-exporter
$ helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
"prometheus-community" has been added to your repositories
$ helm repo update
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "prometheus-community" chart repository
Update Complete. ⎈Happy Helming!⎈
$ helm install ne prometheus-community/prometheus-node-exporter
NAME: ne
LAST DEPLOYED: Mon Aug 12 02:37:40 2024
NAMESPACE: default
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
1. Get the application URL by running these commands:
  export POD_NAME=$(kubectl get pods --namespace default -l "app.kubernetes.io/name=prometheus-node-exporter,app.kubernetes.io/instance=ne" -o jsonpath="{.items[0].metadata.name}")
  echo "Visit http://127.0.0.1:9100 to use your application"
  kubectl port-forward --namespace default $POD_NAME 9100
$ kubectl get pod -owide
NAME                                READY   STATUS    RESTARTS   AGE     IP           NODE           NOMINATED NODE   READINESS GATES
ne-prometheus-node-exporter-m4p8s   1/1     Running   0          6m33s   172.30.1.2   controlplane   <none>           <none>
ne-prometheus-node-exporter-vtvrb   1/1     Running   0          6m33s   172.30.2.2   node01         <none>           <none>
$ curl -s http://172.30.1.2:9100/metrics | grep ^node_
node_arp_entries{device="cali52ff8003965"} 1
node_arp_entries{device="calid33c0dac998"} 1
node_arp_entries{device="enp1s0"} 1
node_arp_entries{device="flannel.1"} 1
node_boot_time_seconds 1.723429956e+09
...

2 같이 보기[ | ]

3 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}