-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Failed to install ingress-nginx plugin with krew! #12226
Comments
Is there any way to solve it? |
@strongjz Is there any way to solve it? |
0.31.0 controller is no longer supported. To my understanding, the plugin version should match the controller version. |
Hello @strongjz I have facing the same issue. I use helm to install nginx in my kubernetes cluster. Currently this is the helm version:
At the best of my knowledge it is the latest released by this project. Looking at the nginx controller image deployed this is what I have:
I can't find In the meantime I am gonna build the plugin from source |
Same issue here. Is there any solution for this? |
See my related issue filed here in This is not a solution but shedding more light on the situation. The plugin definition has not been updated in 4+ years. There is also a secondary issue, the plugin is based upon the controller releases that used to provide builds for different platforms/architectures. It no longer looks like the release system is providing builds. Ping: Sorry about the ping blast. What needs to be done to get platform/architecture builds reestablished for the above? I can provide the fix in the krew repo but there is nothing to point the plugin definitions at. I am also unsure of which version would be best for the plugin definition |
I started to reverse engineer what happened. The MakeFile no longer has a I filed an issue for those here: Looks like it was removed here, and then nothing has happened since: Not sure why removing the build script for manual building was the idea thrown around. Anyways there is a github action for this but not entirely sure its working |
@threadcrux if you want to help ensure this doesnt happen again, you could add some ci to test the krew build on PR. |
I can start to think about it. I have a little bit of over commitment at the moment. Questions:
It's definitely a good idea even if the initial implementation is super simple (i.e. testing a single piece of functionality to start). This would validate the releases are being made and it's usable from a deployment standpoint, not necessarily a functionality standpoint, but its a move in the right direction. EDIT: Missed this phrasing
Gotcha I see what you're thinking, add the test on the other side of that repo |
/kind bug |
issues with our release for 1.12 have been resolved, we are looking to release 1.12.0, next patch for 1.11 and the final for 1.10 soon. We should know then if the patch in the GHA for #12439 fixed the krew issue. |
From the GHA logs, it seems that the goreleaser configuration file (.goreleaser.yaml) needs to include version: 2.
|
Is there a relatively straightforward way to fetch or build the binary manually? The docs only mention krew, afaict. Barring that, is there a way to perform |
I was able to work this out with something like:
|
After your command you should to run these commands cp go/bin/plugin .krew/bin/kubectl-ingress_nginx
mkdir -p .krew/store/ingress-nginx/v1.11.4
ln -s /home/$USER/.krew/bin/kubectl-ingress_nginx /home/$USER/.krew/store/ingress-nginx/v1.11.4/ingress-nginx and after that |
If you want to build it yourself, you can try the following script: (it works for my mac)
|
Installing ingress-nginx plugin with krew failed with an error download https://github.com/kubernetes/ingress-nginx/releases/download/controller-0.31.0/kubectl-ingress_nginx-linux-amd64.tar.gz 404.
I tried my best on the search engines, but couldn't find any relevant information.
The text was updated successfully, but these errors were encountered: