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

Adding a infra CLI command to get the prombench service endpoints #436

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

imrajdas
Copy link
Contributor

@imrajdas imrajdas commented Sep 5, 2020

List of services endpoints

  • Grafana: http://<IP>:<PORT>/grafana
  • Prometheus: http://<IP>:<PORT>/prometheus-meta
  • Logs: http://<IP>:<PORT>/grafana/explore

fixes: #427

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>
@imrajdas
Copy link
Contributor Author

imrajdas commented Sep 5, 2020

cc @geekodour

@imrajdas imrajdas changed the title Adding infra CLI to get services of prombench Adding a infra CLI command to get the prombench service endpoints Sep 5, 2020

NodePort = service.Spec.Ports[0].NodePort

fmt.Printf("Grafana: http://%v:%v/grafana\n", InternalIP, NodePort)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rather than printing the services I think we should just simply print the InternalIP and NodePort and one could use the README to see whatever service the want. :) We primarily want the InternaIP and NodePrort here so.

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

Successfully merging this pull request may close these issues.

Need a new infra cli command to print the exposed services
2 participants