Using terminationMessagePolicy in DeploymentConfig on Red Hat OpenShift Container Platform
Issue
- I found https://kubernetes.io/docs/tasks/debug-application-cluster/determine-reason-pod-failure/ and https://blog.openshift.com/kubernetes-pods-life/ where it is described how to use
terminationMessagePath
andterminationMessagePolicy
to customize the termination message. But when I try to addterminationMessagePolicy: FallbackToLogsOnError
to myDeploymentConfig
, OpenShift will deploy my container but silently remove the added property.
Environment
- Red Hat OpenShift Container Platform 3.4 and 3.5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.