- Features
- Introduce support for image pull policy for @kubernetes
Features
Introduce support for image pull policy for @kubernetes
With this release, Metaflow users can specify image pull policy for their workloads through the @kubernetes decorator for Metaflow tasks.
@kubernetes(image='foo:tag', image_pull_policy='Always') # Allowed values are Always, IfNotPresent, Never
@step
def train(self):
...
...
If an image pull policy is not specified, and the tag for the container image is :latest or the tag for the container image is not specified, image pull policy is automatically set to Always.
If an image pull policy is not specified, and the tag for the container image is specified as a value that is not :latest, image pull policy is automatically set to IfNotPresent.
In case you need any assistance or have feedback for us, ping us at chat.metaflow.org or open a GitHub issue.
What's Changed
- introduce support for intra-cluster webhook url by @savingoyal in #1417
- add and improve docstrings for event-triggering by @tuulos in #1419
- Update readme by @emattia in #1397
- Update README.md by @savingoyal in #1422
- fix includefile for argo-workflows by @savingoyal in #1428
- feature: support configuring image pull policy for Kubernetes and Argo Workflows by @saikonen in #1427
- fix error message by @savingoyal in #1429
- Update to 2.9.2 by @savingoyal in #1430
Full Changelog: 2.9.1...2.9.2