<@U06RKAMK0UC> does flyte app environment support ...
# flyte-v1-support
s
@ancient-wolf-19325 does flyte app environment support pod templates for pvc, etc in flyte oss ?
a
Yes, Flyte OSS supports pod templates at the task level, allowing you to customize the entire Kubernetes pod specification, including mounting PersistentVolumeClaims (PVCs) and other advanced configurations. You can use the
pod_template
parameter in
TaskEnvironment
to define volumes, sidecars, labels, annotations, and more, leveraging the full power of Kubernetes pod specs. This feature is available in Flyte OSS as of version 1.4.0 and later, and is documented in the official user guide and changelog. For example, you can mount a PVC by specifying it in the
volumes
and
volume_mounts
sections of your pod template using Kubernetes Python client objects within your Flyte task definition. Would you like a step-by-step example of how to mount a PVC using a pod template in Flyte OSS? Sources: - Flyte 1.4 release changelog - Pod templates user guide πŸ‘ 0 button πŸ‘Ž 0 button πŸ’‘ Hint: Mention @herald in the thread for followups.
s
@ancient-wolf-19325 the question was specific to app.AppEnvironments
a
Support for pod templates (including PVCs and advanced pod spec customization) is available for
TaskEnvironment
in Flyte OSS, but there is no evidence in the provided data sources that
AppEnvironment
supports pod templates or direct pod spec customization. The pod_template parameter and related Kubernetes customization are documented only for
TaskEnvironment
, not for
AppEnvironment
in Flyte OSS. Would you like more detail on the differences between
TaskEnvironment
and
AppEnvironment
in Flyte OSS? Sources: - Pod templates user guide - Flyte 1.4 release changelog - AppEnvironment source code πŸ‘ 0 button πŸ‘Ž 0 button πŸ’‘ Hint: Mention @herald in the thread for followups.
g
we don’t support it today. the PR is not merged yet, will get it merge soon. https://github.com/flyteorg/flyte/pull/7340
❀️ 1