Skip to content

Commit 6cb530b

Browse files
committed
USHIFT-3154: Add terminationMessagePolicy to topolvm controller
1 parent 355d070 commit 6cb530b

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

assets/components/lvms/topolvm-controller_deployment.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ spec:
5252
requests:
5353
cpu: 2m
5454
memory: 31Mi
55+
terminationMessagePolicy: FallbackToLogsOnError
5556
volumeMounts:
5657
- mountPath: /run/topolvm
5758
name: socket-dir
@@ -78,6 +79,7 @@ spec:
7879
requests:
7980
cpu: 2m
8081
memory: 35Mi
82+
terminationMessagePolicy: FallbackToLogsOnError
8183
volumeMounts:
8284
- mountPath: /run/topolvm
8385
name: socket-dir
@@ -89,6 +91,7 @@ spec:
8991
requests:
9092
cpu: 1m
9193
memory: 23Mi
94+
terminationMessagePolicy: FallbackToLogsOnError
9295
volumeMounts:
9396
- mountPath: /run/topolvm
9497
name: socket-dir
@@ -100,6 +103,7 @@ spec:
100103
requests:
101104
cpu: 1m
102105
memory: 9Mi
106+
terminationMessagePolicy: FallbackToLogsOnError
103107
volumeMounts:
104108
- mountPath: /run/topolvm
105109
name: socket-dir
@@ -113,6 +117,7 @@ spec:
113117
- name: ADDRESS
114118
value: /csi/csi-topolvm.sock
115119
imagePullPolicy: IfNotPresent
120+
terminationMessagePolicy: FallbackToLogsOnError
116121
volumeMounts:
117122
- name: socket-dir
118123
mountPath: /csi
@@ -125,6 +130,7 @@ spec:
125130
image: '{{ .ReleaseImage.openssl }}'
126131
name: self-signed-cert-generator
127132
resources: {}
133+
terminationMessagePolicy: FallbackToLogsOnError
128134
volumeMounts:
129135
- mountPath: /certs
130136
name: certs

assets/components/lvms/topolvm-node_daemonset.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ spec:
9393
requests:
9494
cpu: 1m
9595
memory: 2Mi
96+
terminationMessagePolicy: FallbackToLogsOnError
9697
volumeMounts:
9798
- mountPath: /run/topolvm
9899
name: node-plugin-dir
@@ -106,6 +107,7 @@ spec:
106107
requests:
107108
cpu: 1m
108109
memory: 7Mi
110+
terminationMessagePolicy: FallbackToLogsOnError
109111
volumeMounts:
110112
- mountPath: /run/topolvm
111113
name: node-plugin-dir

0 commit comments

Comments
 (0)