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

[FR] Pipeline-level sidecars #5112

Open
lbernick opened this issue Jul 8, 2022 · 3 comments
Open

[FR] Pipeline-level sidecars #5112

lbernick opened this issue Jul 8, 2022 · 3 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness.

Comments

@lbernick
Copy link
Member

lbernick commented Jul 8, 2022

Feature request

The ability to create sidecars that can be used by multiple Tasks in a Pipeline. (Note: this is different from #4235, which requests allowing a Task's sidecar to be defined in a Pipeline Task.) This is similar to the "daemon containers" feature in Argo Workflows.

My guess is we would implement this as separate pods that TaskRun pods can communicate with via the network (rather than shared volumes mounted onto each pod).

Use case

Use case #1: Docker sidecar

A user might want to run different Tasks that all use a docker daemon; for example, docker build followed by a docker exec python -m pytest. Today, these units of functionality tend to be squished into one Task (such as the "build and push" that occurs in most catalog builder tasks) or an image can be built and pushed in one task, and then downloaded from an artifact registry and used in a subsequent task.

Use case #2: integration tests

This sidecar or sidecars could set up test instances of an application and/or its DB, and testing tasks could seed it with test data for integration tests. I don't have a great example though for why someone might prefer to connect to the same test DB in multiple Tasks.

@lbernick lbernick added the kind/feature Categorizes issue or PR as related to a new feature. label Jul 8, 2022
@tekton-robot
Copy link
Collaborator

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale with a justification.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close with a justification.
If this issue should be exempted, mark the issue as frozen with /lifecycle frozen with a justification.

/lifecycle stale

Send feedback to tektoncd/plumbing.

@tekton-robot tekton-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Oct 6, 2022
@lbernick lbernick removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Oct 6, 2022
@dibyom dibyom added the lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. label Oct 19, 2022
@jerop
Copy link
Member

jerop commented Oct 21, 2022

here's a closed issue with the same feature request and related discussions: #2973

@lbernick
Copy link
Member Author

I've opened tektoncd/community#943 with a problem statement for this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness.
Projects
Status: Todo
Development

No branches or pull requests

4 participants