Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Provide the ability to use the same environment as a running container for job-run jobs #247

@kopf

Description

@kopf

I'd love to use job-run to run my cronjobs - spinning up a new container to service each cronjob. However, my cronjobs (primarily django management jobs) require an awful lot of environment variables to be set in order to do their job.

Therefore, the easiest solution is to simply run them on an already running webserver container. The only problem with this is that they're killed if the webserver container is cycled.

So - wouldn't it be great if we could provide a simple "copy the environment of container X" directive for job-run jobs? Is this possible? If so, I'll have a look at its implementation. If not, thank you for letting me know and saving me the time and effort.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions