ingress-nginx: kubectl plugin cannot be installed on Apple Silicon (darwin/arm64)
NGINX Ingress controller version (exec into the pod and run nginx-ingress-controller --version.): n/a
Kubernetes version (use kubectl version
):
Client Version: version.Info{Major:“1”, Minor:“22”, GitVersion:“v1.22.4”, GitCommit:“b695d79d4f967c403a96986f1750a35eb75e75f1”, GitTreeState:“clean”, BuildDate:“2021-11-17T15:48:33Z”, GoVersion:“go1.16.10”, Compiler:“gc”, Platform:“darwin/arm64”}
Environment:
- Cloud provider or hardware configuration: n/a
- OS (e.g. from /etc/os-release): MacOS 12.1 (21C52)
- Kernel (e.g.
uname -a
): Darwin *** 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 20:29:10 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T8101 arm64
What happened:
I tried to install the kubectl plugin for ingress-nginx as described in the docs:
kubectl krew install ingress-nginx
Updated the local copy of plugin index.
Installing plugin: ingress-nginx
W0126 13:21:27.097874 59776 install.go:164] failed to install plugin "ingress-nginx": plugin "ingress-nginx" does not offer installation for this platform
F0126 13:21:27.098127 59776 root.go:79] failed to install some plugins: [ingress-nginx]: plugin "ingress-nginx" does not offer installation for this platform
My krew
seems to be intalled correctly:
kubectl krew version
OPTION VALUE
GitTag v0.4.2
GitCommit 6fcdb79
IndexURI https://github.com/kubernetes-sigs/krew-index.git
BasePath /Users/me/.krew
IndexPath /Users/me/.krew/index/default
InstallPath /Users/me/.krew/store
BinPath /Users/me/.krew/bin
DetectedPlatform darwin/arm64
What you expected to happen:
Plugin is installed
How to reproduce it: See above
Anything else we need to know: As I see in the krew plugin manifest here this should work, the plugin has darwin/arm64 build.
I can install other plugins.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 3
- Comments: 15 (2 by maintainers)
can we get a darwin/arm64 version? 😃 Would be so beautiful
Workaround for lonely souls:
Thanks! kubectl plugin has not been updated for a long time. I will deal with it ASAP.
We can using #7627 for tracking.