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 7272 args :
7373 - --csi-address=/csi/csi.sock
7474 - --connection-timeout=3s
75- - --health-port=29622
75+ - --health-port=29632
7676 imagePullPolicy : {{ .Values.image.livenessProbe.pullPolicy }}
7777 volumeMounts :
7878 - name : socket-dir
@@ -90,10 +90,10 @@ spec:
9090 - " --v=5"
9191 - " --endpoint=$(CSI_ENDPOINT)"
9292 ports :
93- - containerPort : 29622
93+ - containerPort : 29632
9494 name : healthz
9595 protocol : TCP
96- - containerPort : 29624
96+ - containerPort : 29634
9797 name : metrics
9898 protocol : TCP
9999 livenessProbe :
Original file line number Diff line number Diff line change 3030 args :
3131 - --csi-address=/csi/csi.sock
3232 - --connection-timeout=3s
33- - --health-port=29623
33+ - --health-port=29633
3434 - --v=5
3535 resources :
3636 limits :
7474 - " --nodeid=$(KUBE_NODE_NAME)"
7575 - " --metrics-address=0.0.0.0:{{ .Values.node.metricsPort }}"
7676 ports :
77- - containerPort : 29623
77+ - containerPort : 29633
7878 name : healthz
7979 protocol : TCP
8080 - containerPort : {{ .Values.node.metricsPort }}
Original file line number Diff line number Diff line change 7070 args :
7171 - --csi-address=/csi/csi.sock
7272 - --connection-timeout=3s
73- - --health-port=29622
73+ - --health-port=29632
7474 volumeMounts :
7575 - name : socket-dir
7676 mountPath : /csi
@@ -88,10 +88,10 @@ spec:
8888 - " --v=5"
8989 - " --endpoint=$(CSI_ENDPOINT)"
9090 ports :
91- - containerPort : 29622
91+ - containerPort : 29632
9292 name : healthz
9393 protocol : TCP
94- - containerPort : 29624
94+ - containerPort : 29634
9595 name : metrics
9696 protocol : TCP
9797 livenessProbe :
Original file line number Diff line number Diff line change 2929 args :
3030 - --csi-address=/csi/csi.sock
3131 - --connection-timeout=3s
32- - --health-port=29623
32+ - --health-port=29633
3333 - --v=5
3434 resources :
3535 limits :
@@ -72,12 +72,12 @@ spec:
7272 - " --v=5"
7373 - " --endpoint=$(CSI_ENDPOINT)"
7474 - " --nodeid=$(KUBE_NODE_NAME)"
75- - " --metrics-address=0.0.0.0:29625 "
75+ - " --metrics-address=0.0.0.0:29635 "
7676 ports :
77- - containerPort : 29623
77+ - containerPort : 29633
7878 name : healthz
7979 protocol : TCP
80- - containerPort : 29625
80+ - containerPort : 29635
8181 name : metrics
8282 protocol : TCP
8383 livenessProbe :
Original file line number Diff line number Diff line change 11# Get Prometheus metrics from CSI driver
22
3- 1 . Create ` csi-blob-controller ` service with targetPort ` 29624 `
3+ 1 . Create ` csi-blob-controller ` service with targetPort ` 29634 `
44``` console
55kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-driver/master/deploy/example/metrics/csi-blob-controller-svc.yaml
66```
77
882 . Get ClusterIP of service ` csi-blob-controller `
99``` console
1010$ 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
1313```
1414
15153 . Run following command to get cloudprovider_azure metrics
1616``` console
17- curl http://{CLUSTER-IP}:29624 /metrics | grep cloudprovider_azure
17+ curl http://{CLUSTER-IP}:29634 /metrics | grep cloudprovider_azure
1818```
Original file line number Diff line number Diff line change 88 selector :
99 app : csi-blob-controller
1010 ports :
11- - port : 29624
12- targetPort : 29624
11+ - port : 29634
12+ targetPort : 29634
1313 type : ClusterIP
You can’t perform that action at this time.
0 commit comments