From 1411833ec52d5b9c12bde7f6f02d0d5eea1f67b3 Mon Sep 17 00:00:00 2001 From: machichima Date: Thu, 20 Mar 2025 19:28:01 +0800 Subject: [PATCH] add deprecated warning for pod example Signed-off-by: machichima --- examples/k8s_pod_plugin/k8s_pod_plugin/pod.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/examples/k8s_pod_plugin/k8s_pod_plugin/pod.py b/examples/k8s_pod_plugin/k8s_pod_plugin/pod.py index 3e7fb2003..ccb62bbb1 100644 --- a/examples/k8s_pod_plugin/k8s_pod_plugin/pod.py +++ b/examples/k8s_pod_plugin/k8s_pod_plugin/pod.py @@ -1,6 +1,14 @@ # %% [markdown] # # Pod Example # +# :::{Warning} +# This plugin is no longer needed and is here only for backwards compatibility. +# No new versions will be published after v1.13.x Please use the `pod_template` +# and `pod_template_name` arguments to `@task` as described in the +# {ref}`Kubernetes task pod configuration guide +# ` instead. +# ::: +# # Pod configuration for a Flyte task allows you to run multiple containers within a single task. # They provide access to a fully customizable [Kubernetes pod spec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#podspec-v1-core), # which can be used to modify the runtime of the task execution.