cuddly-rocket-69327
09/29/2021, 5:03 PM@image() (container image*) vs @kfp_step decorators:
@image("foo")
@step
def start(self):
pass
@kfp_step(image="foo")
@step
def start(self):
pass
https://github.com/zillow/metaflow/pull/120/filescuddly-rocket-69327
09/29/2021, 5:05 PM@image() decorator for the default local runtime (I don't see the need yet: imagine it using local docker or k8s).average-beach-28850
09/29/2021, 5:52 PMcuddly-rocket-69327
09/29/2021, 5:59 PM...and just not addandyet, so we defer the decision on this until there is a way in Metaflow to run flows locally in docker via@imageor something.--environment=docker
require (by convention) that all compute decorators that use docker (https://github.com/Netflix/metaflow/issues/489#issuecomment-833861470 in our case,@batch,@awslambda..) accept@kubernetesparameter and respectimage=METAFLOW_DEFAULT_IMAGE
@kfp_step(image="foo")average-beach-28850
09/29/2021, 6:07 PMcuddly-rocket-69327
09/29/2021, 6:08 PM@kfp
class HelloFlow(FlowSpec):
@kfp(image="foo")
@step
def start(self, fee):
passcuddly-rocket-69327
09/29/2021, 6:08 PM@kfp_step()
@kfp
class HelloFlow(FlowSpec):
@kfp_step(image="foo")
@step
def start(self, fee):
passaverage-beach-28850
09/29/2021, 6:09 PMaverage-beach-28850
09/29/2021, 6:09 PMaverage-beach-28850
09/29/2021, 6:10 PMaverage-beach-28850
09/29/2021, 6:11 PMMETAFLOW_CONTAINER_IMAGE not METAFLOW_DEFAULT_IMAGE because we already have METAFLOW_BATCH_CONTAINER_IMAGE so the naming is consistent