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

Generate a dependency graph of resources #4685

Open
1 task done
bmm-alc opened this issue Mar 22, 2024 · 5 comments
Open
1 task done

Generate a dependency graph of resources #4685

bmm-alc opened this issue Mar 22, 2024 · 5 comments
Assignees
Labels
area/ux In pursuit of a delightful user experience enhancement New feature or request

Comments

@bmm-alc
Copy link

bmm-alc commented Mar 22, 2024

Describe the bug

That would ge useful to have a command like flux dot <type>/<resource> to generate a dot compatible output, in order to see the dependency graph.

Steps to reproduce

nothing to provide here

Expected behavior

a dot file in stdout or a file I can pass to dot.

Screenshots and recordings

No response

OS / Distro

does not matter

Flux version

2.2.2

Flux check

not relevant

Git provider

No response

Container Registry provider

No response

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@stefanprodan
Copy link
Member

Is this about Flux dependsOn or something else?

@bmm-alc
Copy link
Author

bmm-alc commented Mar 25, 2024

Is this about Flux dependsOn or something else?

Yes ! sorry to not be clear

@stefanprodan
Copy link
Member

I propose we go with flux deps kustomizations --output dot

@stefanprodan stefanprodan added enhancement New feature or request area/ux In pursuit of a delightful user experience labels Apr 18, 2024
@stefanprodan
Copy link
Member

Also dot should not be the default output, instead we should render the deps as text to stdout, same as flux tree does it.

@bigkevmcd
Copy link
Contributor

I'm happy to take this one on, I've done this sort of thing before 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ux In pursuit of a delightful user experience enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants