diff --git a/assets/controller.yaml b/assets/controller.yaml index cdfbb1445..f26fcd3a2 100644 --- a/assets/controller.yaml +++ b/assets/controller.yaml @@ -68,6 +68,7 @@ spec: timeoutSeconds: 3 periodSeconds: 10 failureThreshold: 5 + terminationMessagePolicy: FallbackToLogsOnError volumeMounts: - name: socket-dir mountPath: /var/lib/csi/sockets/pluginproxy/ @@ -100,6 +101,7 @@ spec: env: - name: ADDRESS value: /var/lib/csi/sockets/pluginproxy/csi.sock + terminationMessagePolicy: FallbackToLogsOnError volumeMounts: - name: socket-dir mountPath: /var/lib/csi/sockets/pluginproxy/ @@ -128,6 +130,7 @@ spec: requests: memory: 20Mi cpu: 10m + terminationMessagePolicy: FallbackToLogsOnError volumeMounts: - mountPath: /etc/tls/private name: metrics-serving-cert @@ -146,6 +149,7 @@ spec: env: - name: ADDRESS value: /var/lib/csi/sockets/pluginproxy/csi.sock + terminationMessagePolicy: FallbackToLogsOnError volumeMounts: - name: socket-dir mountPath: /var/lib/csi/sockets/pluginproxy/ @@ -172,6 +176,7 @@ spec: requests: memory: 20Mi cpu: 10m + terminationMessagePolicy: FallbackToLogsOnError volumeMounts: - mountPath: /etc/tls/private name: metrics-serving-cert @@ -189,6 +194,7 @@ spec: env: - name: ADDRESS value: /var/lib/csi/sockets/pluginproxy/csi.sock + terminationMessagePolicy: FallbackToLogsOnError volumeMounts: - name: socket-dir mountPath: /var/lib/csi/sockets/pluginproxy/ @@ -215,6 +221,7 @@ spec: requests: memory: 20Mi cpu: 10m + terminationMessagePolicy: FallbackToLogsOnError volumeMounts: - mountPath: /etc/tls/private name: metrics-serving-cert @@ -233,6 +240,7 @@ spec: env: - name: ADDRESS value: /var/lib/csi/sockets/pluginproxy/csi.sock + terminationMessagePolicy: FallbackToLogsOnError volumeMounts: - mountPath: /var/lib/csi/sockets/pluginproxy/ name: socket-dir @@ -259,6 +267,7 @@ spec: requests: memory: 20Mi cpu: 10m + terminationMessagePolicy: FallbackToLogsOnError volumeMounts: - mountPath: /etc/tls/private name: metrics-serving-cert @@ -270,6 +279,7 @@ spec: - --probe-timeout=3s - --health-port=10301 - --v=${LOG_LEVEL} + terminationMessagePolicy: FallbackToLogsOnError volumeMounts: - name: socket-dir mountPath: /csi diff --git a/assets/node.yaml b/assets/node.yaml index 56c39d1b1..493b3901f 100644 --- a/assets/node.yaml +++ b/assets/node.yaml @@ -80,6 +80,7 @@ spec: requests: memory: 50Mi cpu: 10m + terminationMessagePolicy: FallbackToLogsOnError - name: csi-node-driver-registrar securityContext: privileged: true @@ -123,6 +124,7 @@ spec: timeoutSeconds: 3 periodSeconds: 10 failureThreshold: 5 + terminationMessagePolicy: FallbackToLogsOnError - name: csi-liveness-probe image: ${LIVENESS_PROBE_IMAGE} imagePullPolicy: IfNotPresent @@ -138,6 +140,7 @@ spec: requests: memory: 50Mi cpu: 10m + terminationMessagePolicy: FallbackToLogsOnError volumes: - name: kubelet-dir hostPath: