Skip to content
Merged
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 }}
{{- if .Values.csi.enableCompatibilityMode }}
- --legacy-storage-mode=true
{{- end }}
Expand Down Expand Up @@ -80,6 +81,9 @@ spec:
- name: healthz
containerPort: {{ .Values.healthzPort }}
protocol: TCP
- containerPort: {{ .Values.config.metricsPort }}
name: metrics
protocol: TCP
livenessProbe:
httpGet:
path: /healthz
Expand Down
Comment thread
nschad marked this conversation as resolved.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
apiVersion: v1
kind: Service
metadata:
Comment thread
aniruddha2000 marked this conversation as resolved.
annotations:
networking.resources.gardener.cloud/from-all-scrape-targets-allowed-ports: '[{"port":{{ .Values.config.metricsPort }},"protocol":"TCP"}]'
labels:
app: {{ .Values.prefix }}-csi
role: controller
name: {{ .Values.prefix }}-csi-driver-controller
namespace: {{ .Release.Namespace }}
Comment thread
aniruddha2000 marked this conversation as resolved.
spec:
ports:
- name: metrics
port: {{ .Values.config.metricsPort }}
targetPort: metrics
protocol: TCP
selector:
app: {{ .Values.prefix }}-csi
role: controller
type: ClusterIP
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