odo icon indicating copy to clipboard operation
odo copied to clipboard

Support `dedicatedPod` field on `container` components

Open rm3l opened this issue 2 years ago • 4 comments

/kind feature /area devfile-spec

Which functionality do you think we should add?

dedicatedPod seems to be ignored currently by odo. Per the Devfile spec, it is supposed to allow running a container in its own Pod.

This seems to be a limitation in the Devfile library: https://github.com/devfile/api/issues/670. So I guess it must be fixed in the library, then pulled into odo.

Why is this needed?

To improve our coverage of the Devfile spec

I guess supporting this might have other implications like:

  • port-forwarding: make sure to port-forward to the right pod
  • Limitations on unique port values might no longer make sense in some cases, e.g., having the same port defined in different container components is okay, as long as they are in different pods.
  • Impact on Podman
  • ...

Related

  • Epic: https://github.com/redhat-developer/odo/issues/5834

rm3l avatar May 03 '23 13:05 rm3l