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
5 changes: 5 additions & 0 deletions curvine-csi/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,13 @@ spec:
- containerPort: {{ .Values.node.container.ports.healthz }}
name: healthz
protocol: TCP
- containerPort: {{ .Values.node.container.ports.metrics }}
name: metrics
protocol: TCP
securityContext:
{{- toYaml .Values.node.container.securityContext | nindent 12 }}
resources:
{{- toYaml .Values.node.container.resources | nindent 12 }}
volumeMounts:
- mountPath: /csi
name: plugin-dir
Expand Down
10 changes: 10 additions & 0 deletions curvine-csi/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ node:
# Ports
ports:
healthz: 9909
metrics: 9002

# Security context
securityContext:
Expand All @@ -141,6 +142,15 @@ node:
- -c
- rm /csi/csi.sock

# Resource limits for embedded mode (when mountMode is "embedded")
resources:
requests:
cpu: "500m"
memory: "512Mi"
limits:
cpu: "2"
memory: "2Gi"

# Sidecar containers
sidecars:
nodeDriverRegistrar:
Expand Down