argoproj / argoproj/argo-workflows

Label pod with workflow's labels

Open
#4,615 16 comments 2 reactions 0 assignees View on GitHub
area/controller solution/workaround
Dominant language
Go
Stars
17k
Forks
3.7k
Avg merge
1d 15h
Merged PRs (30d)
138

Description

Currently, the pods of a given workflow are labelled with `workflows.argoproj.io/completed` and `workflows.argoproj.io/workflow`. Could we also add the labels of the workflow to that list, something like:

```bash
workflows.argoproj.io/workflow/label/project = "xxxx"
workflows.argoproj.io/workflow/label/tenant = "xxxx"
```

Contributor guide

Open the contributing guide

Research direction

The issue names no files or tests. Start by locating the code that creates workflow pods and applies the existing completed and workflow labels; trace how workflow labels are available there. Done means pods also contain the requested workflows.argoproj.io/workflow/label/* labels, with coverage for the project and tenant examples.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
devops, infrastructure
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.