#1122 [Core Feature] Allow specifying k8sPod task targets using just yaml
Issue created by
katrogan
Motivation: Why do you think this is important?
The K8sPod target is a first-class task template target now. However, the only way to use it is to install the flytekit pod plugin which marshals a python-defined kubernetes pod spec to it.
To utilize the K8sPod target in core/ flytekit we could allow users to specify a pod spec with yaml, which doesn't require installing the pod plugin's dependencies (in this case, the python kubernetes-client library).
Goal: What should the final outcome look like, ideally?
It should be possible to define a flyte task using valid k8s yaml without installing additional flytekit plugins.
Describe alternatives you've considered
Current implementation where only the pod plugin can serialize to the K8sPod target.
[Optional] Propose: Link/Inline OR Additional context
If you have ideas about the implementation please propose the change. If inline keep it short, if larger then you link to an external document.
flyteorg/flyte