Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ spec:
{{- end }}
- --v=3
- --provide-node-service=false
- --metrics-address=:{{ .Values.config.metricsPort }}
env:
- name: CSI_ENDPOINT
value: unix://{{ .Values.socketPath }}/csi.sock
Expand All @@ -74,6 +75,10 @@ spec:
- name: healthz
containerPort: 9808
protocol: TCP
- containerPort: {{ .Values.config.metricsPort }}
hostPort: {{ .Values.config.metricsPort }}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
hostPort: {{ .Values.config.metricsPort }}

Why do we need the hostPort?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No please just create a service and don't expose the port to the node

name: metrics
protocol: TCP
livenessProbe:
httpGet:
path: /healthz
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
replicas: 1
config:
metricsPort: 9090
Comment thread
aniruddha2000 marked this conversation as resolved.
podAnnotations: {}
kubernetesVersion: 1.30.0
prefix: stackit-blockstorage
Expand Down