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

Simplify first usage #4

Open
fgschwan opened this issue Sep 7, 2020 · 3 comments · Fixed by #8
Open

Simplify first usage #4

fgschwan opened this issue Sep 7, 2020 · 3 comments · Fixed by #8
Labels
enhancement New feature or request
Milestone

Comments

@fgschwan
Copy link
Collaborator

fgschwan commented Sep 7, 2020

It would be great to the one line command to start vpp-probe. Even one line installation would be great (it would be with one line vpp-probe start only 2 commands).

@fgschwan fgschwan added the enhancement New feature or request label Sep 8, 2020
@ondrej-fabry
Copy link
Member

ondrej-fabry commented Feb 23, 2021

One line command to install vpp-probe is now possible:

# for go1.16+
go get go.ligato.io/vpp-probe

# and for go1.15 (or older)
GO111MODULE=on go get go.ligato.io/vpp-probe

and one line command to discover VPP instances:

# in local environment
vpp-probe discover

# in Kubernetes environment
vpp-probe --env kube discover

# in Docker environment
vpp-probe --env docker discover

@ondrej-fabry ondrej-fabry added this to the v0.1.0 milestone Feb 23, 2021
@ondrej-fabry ondrej-fabry linked a pull request Feb 23, 2021 that will close this issue
@fgschwan
Copy link
Collaborator Author

Just tested this with local docker containers and it doesn't work for docker (reported here #11, #12)

@ondrej-fabry
Copy link
Member

ondrej-fabry commented Apr 14, 2021

There are now 3 ways to get the vpp-probe described in the README: https://github.com/ligato/vpp-probe#install

The easiest for Go devs is to run:

# go1.16+
go install go.ligato.io/vpp-probe@latest

# go1.15 and older
GO111MODULE=on go get go.ligato.io/vpp-probe@latest

for others using the published Docker image ligato/vpp-probe is probably the most convenient.

I plan to add the helper script for getting the latest pre-compiled binary from GitHub releases so users can simply run something like curl ligato.io/get-vpp-probe | bash to install the latest vpp-probe.

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

Successfully merging a pull request may close this issue.

2 participants