Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add variable value to be used for volume creation #929

Open
FROSADO opened this issue Nov 29, 2022 · 3 comments
Open

Add variable value to be used for volume creation #929

FROSADO opened this issue Nov 29, 2022 · 3 comments
Labels
enhancement A PR providing an enhancement to existing functionality.

Comments

@FROSADO
Copy link

FROSADO commented Nov 29, 2022

What feature do you want to see added?

I want to add a cache volume to improve performance at some internal operations that works better with an attached volume.
For example, if we have some I/O operations we want create a volume like:

type=volume, source=myvol-${docker-agent-count}, target=/internal

or any other identity that allow generate a volume for those docker agents and reuse only for them (not shared).
My plan is to use for docker-in-docker (/var/lib/docker) or apt cache folder (/var/cache/apt)

If the plugin allows 10 parallel docker agents to run ansible agents, it will generate 10 volumes:

  • myvol-ansible-1
  • myvol-ansible-2
    ...

Upstream changes

No response

@FROSADO FROSADO added the enhancement A PR providing an enhancement to existing functionality. label Nov 29, 2022
@raagav-ibs
Copy link

Any updates?

@breuniga
Copy link

I‘d like to see this feature too.
Are there any plans/ideas to implement this?
Are there any alternative solutions?

@krisstern
Copy link
Member

We do not currently have the bandwidth add this feature, but any PR for it would be welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A PR providing an enhancement to existing functionality.
Projects
None yet
Development

No branches or pull requests

4 participants