acoustic-carpenter-78188
08/11/2023, 12:42 PMdefault-pod-template is configured, Propeller will then read all the available templates and they then work, so it looks like the process to read PodTemplates isn't being started by default.
This behaviour is displaying on Flyte binary v1.8.1.
Expected behavior
PodTemplates should be read by Propeller by default, even without a default PodTemplate being configured.
Additional context to reproduce
• Deploy the flyte-binary Helm chart.
• Deploy a PodTemplate.... from the docs:
apiVersion: v1
kind: PodTemplate
metadata:
name: flyte-template-test
namespace: flyte
template:
spec:
containers:
- name: default
image: <http://docker.io/rwgrim/docker-noop|docker.io/rwgrim/docker-noop>
terminationMessagePath: "/dev/foo"
hostNetwork: false
• Deploy a workflow using the template
from flytekit import task, workflow
@task(pod_template_name="flyte-template-test")
def check() -> bool:
return True
@workflow
def run() -> None:
check()
• The task fails
Screenshots
No response
Are you sure this issue hasn't been raised already?
☑︎ Yes
Have you read the Code of Conduct?
☑︎ Yes
flyteorg/flyte