bitter-hydrogen-618
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-podtemplatestall-lock-23197
container_image
to your NotebookTask
?bitter-hydrogen-618
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.tall-lock-23197
high-accountant-32689
04/27/2023, 4:47 AMbitter-hydrogen-618
04/27/2023, 6:26 AMloud-belgium-4006
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>
.
"""loud-belgium-4006
05/05/2023, 2:05 AMtall-lock-23197