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

Fail to get the kubectl-trace binary by curl cmd. #95

Closed
mJace opened this issue Sep 27, 2019 · 0 comments · Fixed by #96
Closed

Fail to get the kubectl-trace binary by curl cmd. #95

mJace opened this issue Sep 27, 2019 · 0 comments · Fixed by #96

Comments

@mJace
Copy link
Contributor

mJace commented Sep 27, 2019

Original command in master to get the binary is to use curl with -Lo

curl -Lo https://github.com/iovisor/kubectl-trace/releases/download/v0.1.0-rc.1/kubectl-trace_0.1.0-rc.1_linux_amd64.tar.gz

curl -LO will be more properly.

Error Log

root@node1:~# curl -Lo https://github.com/iovisor/kubectl-trace/releases/download/v0.1.0-rc.1/kubectl-trace_0.1.0-rc.1_linux_amd64.tar.gz
curl: no URL specified!
curl: try 'curl --help' or 'curl --manual' for more information

Fixed

root@node1:~# curl -LO https://github.com/iovisor/kubectl-trace/releases/download/v0.1.0-rc.1/kubectl-trace_0.1.0-rc.1_linux_amd64.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   634    0   634    0     0    817      0 --:--:-- --:--:-- --:--:--   815
  1 28.2M    1  509k    0     0   186k      0  0:02:35  0:00:02  0:02:33  497k

Env.

root@node1:~# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.3 LTS
Release:	18.04
Codename:	bionic


curl --version
curl 7.58.0 (x86_64-pc-linux-gnu) libcurl/7.58.0 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3
Release-Date: 2018-01-24
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 a pull request may close this issue.

1 participant