Closed dfgrosso closed 2 months ago
Nevermind. It seems like my ISP's connection had a manually set DNS server (8.8.8.8) and the install script (git client maybe) is assuming the DNS server is available at the default gw IP. Setting the DNS server for DHCP in my WAN connection solved the issue.
/kind support /close
@ahmetb: Closing this issue.
Greetings,
I have installed krew v.0.4.3 on a Windows PC. While trying to install Inspektor Gadget plugin with this command:
kubectl krew install gadget
I got this error:
Updated the local copy of plugin index. Installing plugin: gadget W0902 13:28:46.589971 31268 install.go:164] failed to install plugin "gadget": install failed: failed to unpack into staging dir: failed to unpack the plugin archive: failed to obtain plugin archive: failed to download "https://github.com/inspektor-gadget/inspektor-gadget/releases/download/v0.32.0/kubectl-gadget-windows-amd64-v0.32.0.tar.gz": Get "https://github.com/inspektor-gadget/inspektor-gadget/releases/download/v0.32.0/kubectl-gadget-windows-amd64-v0.32.0.tar.gz": dial tcp: lookup github.com on 192.168.1.254:53: no such host failed to install some plugins: [gadget]: install failed: failed to unpack into staging dir: failed to unpack the plugin archive: failed to obtain plugin archive: failed to download "https://github.com/inspektor-gadget/inspektor-gadget/releases/download/v0.32.0/kubectl-gadget-windows-amd64-v0.32.0.tar.gz": Get "https://github.com/inspektor-gadget/inspektor-gadget/releases/download/v0.32.0/kubectl-gadget-windows-amd64-v0.32.0.tar.gz": dial tcp: lookup github.com on 192.168.1.254:53: no such host Error: exit status 1
Thanks