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

Change naming of workflow pods #8975

Open
DiegoFlop opened this issue Jun 15, 2022 · 0 comments
Open

Change naming of workflow pods #8975

DiegoFlop opened this issue Jun 15, 2022 · 0 comments
Labels
type/feature Feature request

Comments

@DiegoFlop
Copy link

DiegoFlop commented Jun 15, 2022

Summary

What change needs making?

When we use kubernetes name of pods are aleatory.

I would like to propose the next naming:
Workflows:
{WORKFLOW_NAME}-{ID}
WORKFLOW_NAME -> Name of created workflow
ID -> Integer with autoincrement

for pod of that workflows:
{WORKFLOW_NAME}-{ID}-{NAME_STEP}
WORKFLOW_NAME -> Name of created workflow
ID -> Integer with autoincrement
NAME_STEP -> Name of step or dag task

Example:

devops-angular-web-       9dm7x
   WORKFLOW_NAME         RANDOM

Name of once pod is:

devops-angular-web-       9dm7x-3972262959        
    WORKFLOW_NAME               RANDOM

I think that we can use:
devops-angular-web-1 -> For the first execution workflow name

devops-angular-web-   1
  WORKFLOW_NAME       ID

devops-angular-web-2 -> For the second execution workflow name

devops-angular-web-   2
  WORKFLOW_NAME       ID

and pods:
devops-angular-web-1-checkout -> Step 1 with name checkout

devops-angular-web-   1-      checkout
  WORKFLOW_NAME       ID      NAME_STEP

devops-angular-web-1-deploy -> Step 1 with name deploy

devops-angular-web-   1-      deploy
  WORKFLOW_NAME       ID      NAME_STEP

Similar as jenkins use.

Use Cases

When would you use this?

This would help to debug, tack, audit, view and filter on UI with a friendlier way for users


Message from the maintainers:

Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.

@DiegoFlop DiegoFlop added the type/feature Feature request label Jun 15, 2022
@agilgur5 agilgur5 changed the title Change naming of workflow Change naming of workflow pods Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature Feature request
Projects
None yet
Development

No branches or pull requests

1 participant