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

Policy topology: add status/conditions #108

Open
jasonmadigan opened this issue Oct 17, 2024 · 2 comments
Open

Policy topology: add status/conditions #108

jasonmadigan opened this issue Oct 17, 2024 · 2 comments
Labels

Comments

@jasonmadigan
Copy link
Member

jasonmadigan commented Oct 17, 2024

Policy topology: add status/conditions

Would need some extra data for the nodes, but as I understand it this should be relatively easy to add. This would require policy-machinery work to serialize things in a JSON format instead of a DOT file.

@jasonmadigan
Copy link
Member Author

@Boomatang @guicassolato @KevFan

Something @Boomatang chatted about a few weeks back: including resource status/conditions in topology. I think we'd be approaching the breaking point of using the DOTfile to serialize at that point, so we may want to serialize the graph in some sort of JSON/YAML format too, in addition to the dotfile. This'd help us visualise status/conditions in the topology view, which'd be super sweet.

@Boomatang
Copy link

After we spoke about this I did a little bit more looking into it. At the time I was almost sure the exporting of JSON or YAML would be relativity straight forward. However that is not true, it was the github.com/goccy/go-graphviz library that had the multiple export opinions. We had to switch this library out as it was not thread safe and cause issue. It was switch out for github.com/emicklei/dot.

Change was introduced in Kuadrant/policy-machinery#18

This ask may take some more effort than first believed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Todo
Development

No branches or pull requests

2 participants