Blair Anson
04/25/2023, 4:06 AMNotebookTask
?
I have been using a PodTemplate
to set the default docker image for a normal @task()
, as per the link below. However the NotebookTask
ignores the image
setting in the PodTemplate
, although it does apply other settings such as VolumeMount
. How do I change the default docker image for a NotebookTask
without using pyflyte *--image xxxx run xxxx*
?
https://docs.flyte.org/en/latest/deployment/configuration/general.html#using-default-k8s-podtemplatesSamhita Alla
container_image
to your NotebookTask
?Blair Anson
04/26/2023, 7:15 AMcontainer_image
to NotebookTask
does work, but that is a user overriding the docker image in their code which is not what my quesion asked. The question was about changing the default docker image so that users do not have to override the image.Samhita Alla
Eduardo Apolinario (eapolinario)
04/27/2023, 4:47 AMBlair Anson
04/27/2023, 6:26 AMPryce
05/05/2023, 2:04 AMdefault_pod_template_name
.
"""
Similarly, each k8s container is required to have an image
. This value will always be overridden by Flyte, so this value may be set to anything. However, we recommend using a real image, for example <http://docker.io/rwgrim/docker-noop|docker.io/rwgrim/docker-noop>
.
"""Samhita Alla