Currently, pman only works with either Docker Swarm or Kubernetes. Support could be added for both podman and docker (without swarm) could be added by adding support for pman to speak to the docker engine API.
Note: It is better to target the docker engine API instead of podman's API. Podman's API is compatible with the docker engine API, so targeting docker here would be preferable over a tight coupling with podman.
The work involved is to:
[x] add an implementation of abstractmgr.py for docker/podman, see swarmmgr.py as an example
Currently, pman only works with either Docker Swarm or Kubernetes. Support could be added for both podman and docker (without swarm) could be added by adding support for pman to speak to the docker engine API.
Note: It is better to target the docker engine API instead of podman's API. Podman's API is compatible with the docker engine API, so targeting docker here would be preferable over a tight coupling with podman.
The work involved is to:
abstractmgr.py
for docker/podman, seeswarmmgr.py
as an exampleconfig.py
get_compute_mgr
defined inresources.py