chore: reduce csi sidecar container logs

This commit is contained in:
andyzhangx 2021-01-20 06:57:52 +00:00
parent e7cdcedcc4
commit 45fa96612c
4 changed files with 8 additions and 8 deletions

View File

@ -28,7 +28,7 @@ spec:
- name: csi-provisioner
image: "{{ .Values.image.csiProvisioner.repository }}:{{ .Values.image.csiProvisioner.tag }}"
args:
- "-v=5"
- "-v=2"
- "--csi-address=$(ADDRESS)"
- "--leader-election"
env:
@ -51,7 +51,7 @@ spec:
- --csi-address=/csi/csi.sock
- --probe-timeout=3s
- --health-port=29652
- --v=5
- --v=2
imagePullPolicy: {{ .Values.image.livenessProbe.pullPolicy }}
volumeMounts:
- name: socket-dir

View File

@ -26,7 +26,7 @@ spec:
- --csi-address=/csi/csi.sock
- --probe-timeout=3s
- --health-port=29653
- --v=5
- --v=2
imagePullPolicy: {{ .Values.image.livenessProbe.pullPolicy }}
volumeMounts:
- name: socket-dir
@ -45,7 +45,7 @@ spec:
exec:
command: ["/bin/sh", "-c", "rm -rf /registration/csi-nfsplugin /registration/csi-nfsplugin-reg.sock"]
args:
- --v=5
- --v=2
- --csi-address=/csi/csi.sock
- --kubelet-registration-path=/var/lib/kubelet/plugins/csi-nfsplugin/csi.sock
env:

View File

@ -27,7 +27,7 @@ spec:
- name: csi-provisioner
image: k8s.gcr.io/sig-storage/csi-provisioner:v2.0.4
args:
- "-v=5"
- "-v=2"
- "--csi-address=$(ADDRESS)"
- "--leader-election"
env:
@ -49,7 +49,7 @@ spec:
- --csi-address=/csi/csi.sock
- --probe-timeout=3s
- --health-port=29652
- --v=5
- --v=2
volumeMounts:
- name: socket-dir
mountPath: /csi

View File

@ -26,7 +26,7 @@ spec:
- --csi-address=/csi/csi.sock
- --probe-timeout=3s
- --health-port=29653
- --v=5
- --v=2
volumeMounts:
- name: socket-dir
mountPath: /csi
@ -44,7 +44,7 @@ spec:
exec:
command: ["/bin/sh", "-c", "rm -rf /registration/csi-nfsplugin /registration/csi-nfsplugin-reg.sock"]
args:
- --v=5
- --v=2
- --csi-address=/csi/csi.sock
- --kubelet-registration-path=/var/lib/kubelet/plugins/csi-nfsplugin/csi.sock
env: