Skip to content

Commit 6f3a001

Browse files
authored
Merge pull request #217 from andyzhangx/port-change
doc: port num change due to driver rename
2 parents b3dd1bd + 55a2eae commit 6f3a001

File tree

6 files changed

+18
-18
lines changed

6 files changed

+18
-18
lines changed

charts/latest/blob-csi-driver/templates/csi-blob-controller.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ spec:
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:

charts/latest/blob-csi-driver/templates/csi-blob-node.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ spec:
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:
@@ -74,7 +74,7 @@ spec:
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 }}

deploy/csi-blob-controller.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ spec:
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:

deploy/csi-blob-node.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ spec:
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:

deploy/example/metrics/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
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
55
kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-driver/master/deploy/example/metrics/csi-blob-controller-svc.yaml
66
```
77

88
2. 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

1515
3. 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
```

deploy/example/metrics/csi-blob-controller-svc.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ spec:
88
selector:
99
app: csi-blob-controller
1010
ports:
11-
- port: 29624
12-
targetPort: 29624
11+
- port: 29634
12+
targetPort: 29634
1313
type: ClusterIP

0 commit comments

Comments
 (0)