Skip to content

Commit

Permalink
csi-driver-node: set GOMAXPROCS
Browse files Browse the repository at this point in the history
  • Loading branch information
Garfield96 committed Nov 25, 2024
1 parent 01cb906 commit 6e0a2a8
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ spec:
env:
- name: CSI_ENDPOINT
value: unix:{{ .Values.socketPath }}
- name: GOMAXPROCS
value: "2"
{{- if .Values.resources.driver }}
resources:
{{ toYaml .Values.resources.driver | indent 10 }}
Expand Down Expand Up @@ -84,6 +86,8 @@ spec:
value: {{ .Values.socketPath }}
- name: DRIVER_REG_SOCK_PATH
value: /var/lib/kubelet/plugins/{{ include "csi-driver-node.provisioner" . }}/csi.sock
- name: GOMAXPROCS
value: "2"
{{- if .Values.resources.nodeDriverRegistrar }}
resources:
{{ toYaml .Values.resources.nodeDriverRegistrar | indent 10 }}
Expand All @@ -98,6 +102,9 @@ spec:
image: {{ index .Values.images "csi-liveness-probe" }}
args:
- --csi-address={{ .Values.socketPath }}
env:
- name: GOMAXPROCS
value: "2"
{{- if .Values.resources.livenessProbe }}
resources:
{{ toYaml .Values.resources.livenessProbe | indent 10 }}
Expand Down

0 comments on commit 6e0a2a8

Please sign in to comment.