waseem-h / openshift-update-graph

Visualize the OpenShift Update Graph

Home Page:https://ctron.github.io/openshift-update-graph/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenShift Update Graph Visualizer

This is the source code for the OpenShift update graph visualizer.

Example

About

The data is fetched from the OpenShift update information endpoint (https://api.openshift.com/api/upgrades_info/v1/graph). This data is being by openshift/cincinnati, and contains the information which version upgrades are possible.

As the endpoint doesn't set any CORS headers, the data is being synced very 15 minutes to this repository. A check is added to see if the content of the graph changed, as the original content is not sorted, the order of the nodes, and thus the "edge information" changes with every request.

At the same time, the list of possible channels is refreshed as well.

Credit

This solution is inspired by the graph.sh script, from openshift/cincinnati, which takes the upgrade information, and creates a dot file from it, which can be visualized with the Graphviz dot tool.

About

Visualize the OpenShift Update Graph

https://ctron.github.io/openshift-update-graph/

License:Eclipse Public License 2.0


Languages

Language:HTML 86.9%Language:Shell 9.4%Language:JavaScript 3.7%