"Helm install prometheus"의 두 판 사이의 차이

39번째 줄: 39번째 줄:
</syntaxhighlight>
</syntaxhighlight>
<syntaxhighlight lang='console'>
<syntaxhighlight lang='console'>
testuser@cloudshell:~$ kubectl get all,pvc,serviceaccount,clusterrole,clusterrolebinding -A -l helm.sh/chart=prometheus-22.6.2
testuser@cloudshell:~$ kubectl get all | grep prometheus
NAMESPACE   NAME                                    READY   STATUS    RESTARTS   AGE
pod/prometheus-alertmanager-0                            1/1    Running  0              29m
default     pod/prometheus-server-7cb5489967-4cqz4   2/2    Running  0         7m47s
pod/prometheus-kube-state-metrics-6dc44cc4d9-j6pbp      1/1    Running  0              29m
 
pod/prometheus-prometheus-node-exporter-fqkbj            1/1    Running   0              29m
NAMESPACE   NAME                        TYPE       CLUSTER-IP   EXTERNAL-IP   PORT(S)   AGE
pod/prometheus-prometheus-node-exporter-gb5lw            1/1    Running   0              29m
default     service/prometheus-server   ClusterIP  10.0.5.175   <none>        80/TCP   7m47s
pod/prometheus-prometheus-node-exporter-wcjb5            1/1    Running   0              29m
 
pod/prometheus-prometheus-pushgateway-5fdcccb6f7-b4xk9  1/1     Running  0              29m
NAMESPACE  NAME                                READY  UP-TO-DATE   AVAILABLE  AGE
pod/prometheus-server-7cb5489967-4cqz4                   2/2    Running  0               29m
default    deployment.apps/prometheus-server  1/1    1            1          7m47s
service/prometheus-alertmanager              ClusterIP  10.0.14.119  <none>        9093/TCP      29m
 
service/prometheus-alertmanager-headless      ClusterIP   None          <none>       9093/TCP      29m
NAMESPACE  NAME                                          DESIRED  CURRENT  READY  AGE
service/prometheus-kube-state-metrics        ClusterIP   10.0.7.174    <none>        8080/TCP      29m
default    replicaset.apps/prometheus-server-7cb5489967   1         1         1       7m47s
service/prometheus-prometheus-node-exporter   ClusterIP   10.0.8.134    <none>        9100/TCP      29m
 
service/prometheus-prometheus-pushgateway     ClusterIP  10.0.11.113  <none>        9091/TCP      29m
NAMESPACE  NAME                                      STATUS  VOLUME                                    CAPACITY  ACCESS MODES  STORAGECLASS  AGE
service/prometheus-server                     ClusterIP  10.0.5.175   <none>        80/TCP         29m
default    persistentvolumeclaim/prometheus-server   Bound    pvc-6bef185d-b2c7-41f3-999f-cc2c9c1c7631  8Gi        RWO            pd-standard    7m48s
daemonset.apps/prometheus-prometheus-node-exporter   3        3        3      3            3          <none>          29m
 
deployment.apps/prometheus-kube-state-metrics      1/1    1            1          29m
NAMESPACE  NAME                              SECRETS  AGE
deployment.apps/prometheus-prometheus-pushgateway   1/1    1           1           29m
default    serviceaccount/prometheus-server   1        7m48s
deployment.apps/prometheus-server                   1/1    1            1          29m
 
replicaset.apps/prometheus-kube-state-metrics-6dc44cc4d9      1        1        1      29m
NAMESPACE  NAME                                                      CREATED AT
replicaset.apps/prometheus-prometheus-pushgateway-5fdcccb6f7   1        1        1      29m
            clusterrole.rbac.authorization.k8s.io/prometheus-server   2023-05-23T09:52:10Z
replicaset.apps/prometheus-server-7cb5489967                  1        1        1      29m
 
statefulset.apps/prometheus-alertmanager   1/1    29m
NAMESPACE  NAME                                                            ROLE                            AGE
            clusterrolebinding.rbac.authorization.k8s.io/prometheus-server   ClusterRole/prometheus-server  7m47s
</syntaxhighlight>
</syntaxhighlight>



2023년 5월 23일 (화) 19:22 판

1 개요

helm install prometheus
  • namespace: default
  • release_name: prometheus
testuser@localhost:~$ helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
"prometheus-community" has been added to your repositories
testuser@localhost:~$ 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!⎈
testuser@localhost:~$ helm install prometheus prometheus-community/prometheus
NAME: prometheus
LAST DEPLOYED: Tue May 23 09:52:06 2023
NAMESPACE: default
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
The Prometheus server can be accessed via port 80 on the following DNS name from within your cluster:
prometheus-server.default.svc.cluster.local
...
testuser@cloudshell:~$ helm list
NAME            NAMESPACE       REVISION        UPDATED                                 STATUS          CHART                   APP VERSION
prometheus      default         1               2023-05-23 09:52:06.308796414 +0000 UTC deployed        prometheus-22.6.2       v2.44.0
testuser@cloudshell:~$ kubectl get pod -l helm.sh/chart=prometheus-22.6.2
NAME                                 READY   STATUS    RESTARTS   AGE
prometheus-server-7cb5489967-4cqz4   2/2     Running   0          3m18s
testuser@cloudshell:~$ kubectl get all | grep prometheus
pod/prometheus-alertmanager-0                            1/1     Running   0               29m
pod/prometheus-kube-state-metrics-6dc44cc4d9-j6pbp       1/1     Running   0               29m
pod/prometheus-prometheus-node-exporter-fqkbj            1/1     Running   0               29m
pod/prometheus-prometheus-node-exporter-gb5lw            1/1     Running   0               29m
pod/prometheus-prometheus-node-exporter-wcjb5            1/1     Running   0               29m
pod/prometheus-prometheus-pushgateway-5fdcccb6f7-b4xk9   1/1     Running   0               29m
pod/prometheus-server-7cb5489967-4cqz4                   2/2     Running   0               29m
service/prometheus-alertmanager               ClusterIP   10.0.14.119   <none>        9093/TCP       29m
service/prometheus-alertmanager-headless      ClusterIP   None          <none>        9093/TCP       29m
service/prometheus-kube-state-metrics         ClusterIP   10.0.7.174    <none>        8080/TCP       29m
service/prometheus-prometheus-node-exporter   ClusterIP   10.0.8.134    <none>        9100/TCP       29m
service/prometheus-prometheus-pushgateway     ClusterIP   10.0.11.113   <none>        9091/TCP       29m
service/prometheus-server                     ClusterIP   10.0.5.175    <none>        80/TCP         29m
daemonset.apps/prometheus-prometheus-node-exporter   3         3         3       3            3           <none>          29m
deployment.apps/prometheus-kube-state-metrics       1/1     1            1           29m
deployment.apps/prometheus-prometheus-pushgateway   1/1     1            1           29m
deployment.apps/prometheus-server                   1/1     1            1           29m
replicaset.apps/prometheus-kube-state-metrics-6dc44cc4d9       1         1         1       29m
replicaset.apps/prometheus-prometheus-pushgateway-5fdcccb6f7   1         1         1       29m
replicaset.apps/prometheus-server-7cb5489967                   1         1         1       29m
statefulset.apps/prometheus-alertmanager   1/1     29m

2 같이 보기

3 참고

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