Skip to content

Support for worker pods with extra containers #320

@znd4

Description

@znd4

In one of the clusters that I work with, every pod is created with an additional proxy container, which messes up read_namespaced_pod_log because I get a "container name must be provided" error.

Would it be possible to infer the name of the worker container from the worker template and pass container=container_name? (Or, if that's too tricky, allow users to pass that in as a kwarg somewhere?)

Thanks :)

Also, if either of those options is feasible + worth adding, I'm down to try writing a PR

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions