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

27번째 줄: 27번째 줄:
</syntaxhighlight>
</syntaxhighlight>
<syntaxhighlight lang='console'>
<syntaxhighlight lang='console'>
$ kubectl get pod  
$ kubectl get pod
NAME                                READY  STATUS    RESTARTS  AGE
NAME                                READY  STATUS    RESTARTS  AGE
ne-prometheus-node-exporter-m4p8s  1/1    Running  0          51s
ne-prometheus-node-exporter-m4p8s  1/1    Running  0          51s

2024년 8월 12일 (월) 11:38 판

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
NAME                                READY   STATUS    RESTARTS   AGE
ne-prometheus-node-exporter-m4p8s   1/1     Running   0          51s
ne-prometheus-node-exporter-vtvrb   1/1     Running   0          51

2 같이 보기

3 참고

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