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
terminationMessagePathandterminationMessagePolicyto customize the termination message. But when I try to addterminationMessagePolicy: FallbackToLogsOnErrorto 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
