File tree Expand file tree Collapse file tree 6 files changed +18
-18
lines changed
charts/latest/blob-csi-driver/templates Expand file tree Collapse file tree 6 files changed +18
-18
lines changed Original file line number Diff line number Diff line change 72
72
args :
73
73
- --csi-address=/csi/csi.sock
74
74
- --connection-timeout=3s
75
- - --health-port=29622
75
+ - --health-port=29632
76
76
imagePullPolicy : {{ .Values.image.livenessProbe.pullPolicy }}
77
77
volumeMounts :
78
78
- name : socket-dir
@@ -90,10 +90,10 @@ spec:
90
90
- " --v=5"
91
91
- " --endpoint=$(CSI_ENDPOINT)"
92
92
ports :
93
- - containerPort : 29622
93
+ - containerPort : 29632
94
94
name : healthz
95
95
protocol : TCP
96
- - containerPort : 29624
96
+ - containerPort : 29634
97
97
name : metrics
98
98
protocol : TCP
99
99
livenessProbe :
Original file line number Diff line number Diff line change 30
30
args :
31
31
- --csi-address=/csi/csi.sock
32
32
- --connection-timeout=3s
33
- - --health-port=29623
33
+ - --health-port=29633
34
34
- --v=5
35
35
resources :
36
36
limits :
74
74
- " --nodeid=$(KUBE_NODE_NAME)"
75
75
- " --metrics-address=0.0.0.0:{{ .Values.node.metricsPort }}"
76
76
ports :
77
- - containerPort : 29623
77
+ - containerPort : 29633
78
78
name : healthz
79
79
protocol : TCP
80
80
- containerPort : {{ .Values.node.metricsPort }}
Original file line number Diff line number Diff line change 70
70
args :
71
71
- --csi-address=/csi/csi.sock
72
72
- --connection-timeout=3s
73
- - --health-port=29622
73
+ - --health-port=29632
74
74
volumeMounts :
75
75
- name : socket-dir
76
76
mountPath : /csi
@@ -88,10 +88,10 @@ spec:
88
88
- " --v=5"
89
89
- " --endpoint=$(CSI_ENDPOINT)"
90
90
ports :
91
- - containerPort : 29622
91
+ - containerPort : 29632
92
92
name : healthz
93
93
protocol : TCP
94
- - containerPort : 29624
94
+ - containerPort : 29634
95
95
name : metrics
96
96
protocol : TCP
97
97
livenessProbe :
Original file line number Diff line number Diff line change 29
29
args :
30
30
- --csi-address=/csi/csi.sock
31
31
- --connection-timeout=3s
32
- - --health-port=29623
32
+ - --health-port=29633
33
33
- --v=5
34
34
resources :
35
35
limits :
@@ -72,12 +72,12 @@ spec:
72
72
- " --v=5"
73
73
- " --endpoint=$(CSI_ENDPOINT)"
74
74
- " --nodeid=$(KUBE_NODE_NAME)"
75
- - " --metrics-address=0.0.0.0:29625 "
75
+ - " --metrics-address=0.0.0.0:29635 "
76
76
ports :
77
- - containerPort : 29623
77
+ - containerPort : 29633
78
78
name : healthz
79
79
protocol : TCP
80
- - containerPort : 29625
80
+ - containerPort : 29635
81
81
name : metrics
82
82
protocol : TCP
83
83
livenessProbe :
Original file line number Diff line number Diff line change 1
1
# Get Prometheus metrics from CSI driver
2
2
3
- 1 . Create ` csi-blob-controller ` service with targetPort ` 29624 `
3
+ 1 . Create ` csi-blob-controller ` service with targetPort ` 29634 `
4
4
``` console
5
5
kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-driver/master/deploy/example/metrics/csi-blob-controller-svc.yaml
6
6
```
7
7
8
8
2 . Get ClusterIP of service ` csi-blob-controller `
9
9
``` console
10
10
$ kubectl get svc csi-blob-controller -n kube-system
11
- NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
12
- csi-blob-controller ClusterIP 10.0.156.8 <none> 29624 /TCP 32m
11
+ NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
12
+ csi-blob-controller ClusterIP 10.0.156.8 <none> 29634 /TCP 32m
13
13
```
14
14
15
15
3 . Run following command to get cloudprovider_azure metrics
16
16
``` console
17
- curl http://{CLUSTER-IP}:29624 /metrics | grep cloudprovider_azure
17
+ curl http://{CLUSTER-IP}:29634 /metrics | grep cloudprovider_azure
18
18
```
Original file line number Diff line number Diff line change 8
8
selector :
9
9
app : csi-blob-controller
10
10
ports :
11
- - port : 29624
12
- targetPort : 29624
11
+ - port : 29634
12
+ targetPort : 29634
13
13
type : ClusterIP
You can’t perform that action at this time.
0 commit comments