-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Description
Summary
Add a PodMetadataPatch
field to the workflow template definition to allow the workflow controller to update the Metadata
field. This field would function similarly to PodSpecPatch
, and logic for applying the patch would need to be added in workflow/controller/workflowpod.go
// PodMetadataPatch holds strategic merge patch to apply against the pod metadata. Allows parameterization of
// metadata fields Labels and Annotations, which are not strings.
PodMetadataPatch string `json:"podMetadataPatch,omitempty" protobuf:"bytes,31,opt,name=podMetadataPatch"
Use Cases
- This feature would be used by Kubeflow Pipelines (KFP) to apply task-specific pod metadata. In KFP currently, pod metadata set on a single task is applied to pods for all the tasks in an input pipeline because the workflow template used for task execution is reused. Having a
PodMetadataPatch
field on the template definition would allow KFP to pass in a single, task-specific patch parameter each time that template is called.
Message from the maintainers:
Love this feature request? Give it a 👍. We prioritise the proposals with the most 👍.
HumairAK, mprahl and iwpnd
Metadata
Metadata
Assignees
Labels
No labels