github Netflix/metaflow 2.9.2

latest releases: 2.18.5, 2.18.4, 2.18.3...
2 years ago
  • 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

Full Changelog: 2.9.1...2.9.2

Don't miss a new metaflow release

NewReleases is sending notifications on new releases.