Join Slack
Powered by
Hi Team, Is metadata argument won't support in po...
# flyte-support
a
acoustic-parrot-22802
01/24/2025, 7:27 AM
Hi Team, Is metadata argument won't support in podtemplate inside task decorator? @task(-------------) How to give annotations it is requie to use annotations for utilising the gcs bucket as volume to the pod metadata = V1ObjectMeta( annotations={ "gke-gcsfuse/volumes": "true" } ) reference link:
https://chimbu.medium.com/access-cloud-storage-buckets-as-volumes-in-gke-c2e405adea6c#:~:text=specify%20the%20annotation
please help
a
average-finland-92144
01/24/2025, 2:46 PM
I don't think you need to wrap the
annotations
under
metadata
Annotations are supported as part of the base PodTemplate class (
ref
)
a
acoustic-parrot-22802
01/24/2025, 7:53 PM
Thanks
@average-finland-92144
its working
Open in Slack
Previous
Next