Skip to content

Commit

Permalink
Update CSI driver ports (#97)
Browse files Browse the repository at this point in the history
* Update CSI driver ports
  • Loading branch information
vinli-cn authored Feb 3, 2023
1 parent be0fad4 commit 4fff861
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
11 changes: 6 additions & 5 deletions deploy/csi-azurelustre-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ spec:
args:
- --csi-address=/csi/csi.sock
- --probe-timeout=120s
- --health-port=29632
- --health-port=29762
volumeMounts:
- name: socket-dir
mountPath: /csi
Expand All @@ -71,12 +71,13 @@ spec:
- "-v=5"
- "--endpoint=$(CSI_ENDPOINT)"
ports:
- containerPort: 29632
- containerPort: 29762
name: healthz
protocol: TCP
- containerPort: 29634
name: metrics
protocol: TCP
# Reserved port for metrics
# - containerPort: 29764
# name: metrics
# protocol: TCP
livenessProbe:
failureThreshold: 5
httpGet:
Expand Down
8 changes: 6 additions & 2 deletions deploy/csi-azurelustre-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ spec:
args:
- --csi-address=/csi/csi.sock
- --probe-timeout=120s
- --health-port=29633
- --health-port=29763
- --v=2
resources:
limits:
Expand Down Expand Up @@ -95,9 +95,13 @@ spec:
- "--endpoint=$(CSI_ENDPOINT)"
- "--nodeid=$(KUBE_NODE_NAME)"
ports:
- containerPort: 29633
- containerPort: 29763
name: healthz
protocol: TCP
# Reserved port for metrics
# - containerPort: 29765
# name: metrics
# protocol: TCP
livenessProbe:
failureThreshold: 5
httpGet:
Expand Down

0 comments on commit 4fff861

Please sign in to comment.