Skip to content

Commit

Permalink
[argo] add terminationMessagePolicy (Netflix#50)
Browse files Browse the repository at this point in the history
- add a terminationMessagePolicy to FallbackToLogsOnError
  • Loading branch information
iamsgarg-ob committed Jul 29, 2024
1 parent 790a0f0 commit a284db6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions metaflow/plugins/argo/argo_workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -2015,6 +2015,7 @@ def _container_templates(self):
kubernetes_sdk.V1Container(
name=self._sanitize(node.name),
command=cmds,
termination_message_policy= "FallbackToLogsOnError",
ports=[kubernetes_sdk.V1ContainerPort(container_port=port)]
if port
else None,
Expand Down

0 comments on commit a284db6

Please sign in to comment.