acoustic-carpenter-78188
04/27/2023, 6:26 AM$ kubectl get podtemplate flyte-template -n test8-development -o yaml
apiVersion: v1
kind: PodTemplate
...
template:
...
spec:
containers:
- image: <http://xxxxxx.dkr.ecr.us-west-2.amazonaws.com/my-own-image:my-tag|xxxxxx.dkr.ecr.us-west-2.amazonaws.com/my-own-image:my-tag>
imagePullPolicy: IfNotPresent
name: default
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
...
Example of the Pod that runs
$ kubectl get pod f05d6a5f90403454f88b-n0-0 -n test8-development -o yaml
apiVersion: v1
kind: Pod
...
image: <http://cr.flyte.org/flyteorg/flytekit:py3.8-1.4.1|cr.flyte.org/flyteorg/flytekit:py3.8-1.4.1>
imagePullPolicy: IfNotPresent
name: f05d6a5f90403454f88b-n0-0
...
containerStatuses:
- containerID: <docker://adda36ed3823592a117e5b99f284accddee987e5d966e6b48b1c46eab7e98fa7>
image: <http://cr.flyte.org/flyteorg/flytekit:py3.8-1.4.1|cr.flyte.org/flyteorg/flytekit:py3.8-1.4.1>
imageID: <docker-pullable://cr.flyte.org/flyteorg/flytekit@sha256:dcc3c40249bb983eb96dc0024f1506f4e261a64f1c3a1f447f94750720cb8ae3>
lastState: {}
name: f05d6a5f90403454f88b-n0-0
ready: false
restartCount: 0
started: false
state:
terminated:
...
Expected behavior
The Pod processing the NotebookTask should use the docker image defined in the PodTemplate
Additional context to reproduce
No response
Screenshots
No response
Are you sure this issue hasn't been raised already?
☑︎ Yes
Have you read the Code of Conduct?
☑︎ Yes
flyteorg/flyte