Set a different default value for terminationMessagePolicy
I would like to set the value of terminationMessagePolicy
to FallbackToLogsOnError
by default for all my pods.
Is there any way to do that?
I am running Kubernetes 1.21.
terminationMessagePolicy
is a field in container spec, currently beside set it in your spec there is no cluster level setting that could change the default value ("File").