Skip to content

Allow streaming build logs over containers #2816

@osherdp

Description

@osherdp

What feature do you want to see added?

I would like to be able to run kubectl logs <pod> for pods created by Kubernetes plugin and be able to see the build logs as they are shown in the Console Output view. This will allow for a much easier logs aggregation as well as generally being able to debug on-the-fly issues.
Currently, the pod logs are only showing logs of the jnlp container ("remoting" protocol) and there's no easy way as far as I know to actually logs the build logs, the same way that it happens in other build systems.

Upstream changes

No response

Are you interested in contributing this feature?

I would be interested in contributing to this feature, although as I'm a newcomer I would need some general guidance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for Enhancement.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions