Add termination policy customization in helm chart (#2255)

Currently default pod termination logs go to /dev/termination-log.
With CI we need to change customize path somewhere to /var/log for
exporting logs with the kind export logs command.
Setting FallbackToLogsOnError as termination policy for skaffold.

Signed-off-by: Sanket Sudake <sanketsudake@gmail.com>
This commit is contained in:
Sanket Sudake
2021-11-10 08:47:54 +05:30
committed by GitHub
parent 2c1b459a5e
commit 547e1b0d83
16 changed files with 121 additions and 1 deletions
+4 -1
View File
@@ -53,7 +53,10 @@ deploy:
openTracing.enabled: false
openTelemetry.otlpCollectorEndpoint: ""
openTelemetry.otlpInsecure: true
priorityClassName: "system-cluster-critical"
priorityClassName: system-cluster-critical
# Use /var/log directory for kind logs export
terminationMessagePath: /var/log/termination-log
terminationMessagePolicy: FallbackToLogsOnError
wait: true
flags:
install: