swift-church-94876
07/09/2026, 8:12 AMancient-wolf-19325
07/09/2026, 8:12 AMswift-church-94876
07/09/2026, 8:14 AMancient-wolf-19325
07/09/2026, 8:14 AMswift-church-94876
07/09/2026, 8:15 AMancient-wolf-19325
07/09/2026, 8:15 AMswift-church-94876
07/09/2026, 8:27 AMancient-wolf-19325
07/09/2026, 8:27 AMPodTemplate in Python and passing it via the pod_template parameter in your TaskEnvironment. However, the documentation does not show TTL fields as supported in these templates. Here is a basic usage example:
import flyte
from kubernetes.client import V1PodSpec, V1Container
pod_template = flyte.PodTemplate(
primary_container_name="primary",
pod_spec=V1PodSpec(
containers=[V1Container(name="primary")]
),
)
env = flyte.TaskEnvironment(
name="my_env",
pod_template=pod_template,
)
Would you like more detail on Kubernetes-native TTL controllers or further pod template customization?
Sources:
- pod templates 👍 0 button 👎 0 button 💡 Hint: Mention @herald in the thread for followups.modern-parrot-90373
07/10/2026, 10:09 PMswift-church-94876
07/11/2026, 12:34 AM