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

Generating graph on local machine (without hosting it in k8s-topo pod) #5

Open
tahir24434 opened this issue Sep 26, 2019 · 2 comments

Comments

@tahir24434
Copy link

Is there any way to generate and access graph locally without hosting it in pod? Here is what I am trying to do
$> ./examples/builder/builder 100 0 --prefix vmx
$> ./bin/k8s-topo --graph examples/builder/random.yml

Above command generates graph.json file in we directory. I was under assumption that if I open directly the index.html file, it should show me the graph on my local browser. However, it is not the case. It shows me an empty page.

Is there any thing which we can do to show the graph on local browser?

@networkop
Copy link
Owner

I'm assuming you've done the k8s-topo --create before the graph, right? otherwise it should fail.
can you share your graph.json from the web directory?

@tahir24434
Copy link
Author

I'll try it again and will respond to it.

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

No branches or pull requests

2 participants