-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Replace references to echoserver with supported image from all documentation #11107
Comments
I just deactivated the "new virtualisation framework" option and retried, with the same result. |
I'm not sure if k8s.gcr.io/echoserver:1.10 has any arm64 variant, it looks like amd64 only ? |
Thanks for the hint! Might this be worth a note in the docs? Would have saved me some time. :) I could do that as well, if this would be welcome- |
That would be much welcome. I'm not sure if there is an alternative image available, but a note in the docs would be a start!
https://minikube.sigs.k8s.io/docs/start/ It seems to be based on the "nginx" image, so it should be possible to make a new version of it that also supports $ docker run -it --entrypoint "" k8s.gcr.io/echoserver:1.4 nginx -V
nginx version: nginx/1.10.0 cat /etc/os-release $ docker run -it --entrypoint "" k8s.gcr.io/echoserver:1.10 nginx -V
nginx version: nginx/1.13.3 cat /etc/os-release |
I found it, it lived in k8s "ingress-nginx" - but it died in 2018.
Then it got bumped to 2.1, but nobody bothered updating docs. kubernetes/ingress-nginx@77b922a | kubernetes/kubernetes@a2d94d9
2.1 kubernetes/kubernetes@5e84dfb "Multiple same headers got wrong result" 2.2
|
Hey thank you for all this information! I am trying to digest what this means for me currently... I tried deploying
I currently clone the Kubernetes repo and try to build the echoserver image on my machine... and yes this seems to be successful: git clone <kubernetes-repo>
cd kubernetes/test/images/echoserver
vim Dockerfile # get rid of all that cross-build stuff I do not know :)
docker build .
docker tag <image id> echoserver:v2.2
minikube load echoserver:v2.2
kubectl create deployment hello-minikube --image=echoserver:v2.2
# success :) This way, I can now continue with the getting started guide. :) I can add a note to the docs if you like, with a reference to this issue maybe? |
My bad, I should have tested the image rather than assuming that it would work just because it is used in the k8s test. It worked OK on Crashes the same way on Linux. Apparently they "forgot" to release a version of the echoserver, with arm64 support...
Like you say, minikube doesn't need the LuaJIT support anyway. But upgrading nginx to something less ancient, would fix it too... The weird thing is that the git repository says nginx 1.15, but image says 1.12 ? |
As was discussed in kubernetes#11107 on m1-based machines the `echoserver:1.4` (and any other available version) does not start. This commit adds a hint for people experiencing this, and links to the issue where a work around is mentioned.
+1, I've spent about 2 days running hello-minikube. I couldn't start hello-minikube on apple MacBook Pro with M1 chip(MacOS 11.4 BigSur (20F71)). Have always the same situation: |
@awarus Have you solved this problem? |
No, as far I understand hello-minikube image is not available now for M1 |
What we're going to end up doing here is creating an image that support multiple archs and using that instead of echoserver for all these demos and guides. |
Hi, can you share the Dockerfile you changed with us? |
e2eteam/echoserver:2.2-linux-arm64 worked for me on m1 |
@preslavmihaylov thanks! I have following service:
Can anyone explain why it is available only after port forwarding at http://localhost:8081 and http://localhost:8080:
instead of 127.0.0.1:32194, 127.0.0.1:31621 or 192.168.49.2:32194, 192.168.49.2:31621 ? And why
|
@Tazovsky I believe this is because the addresses you see in there are part of minikube's internal network and you have to expose them for this to work locally. When using AWS or similar as backend, usually, you'll get a hostname you can connect to directly |
Thank you so much! It works in my M1 macbook. |
This is showing all green but when running
|
I ended up forking echoserver as https://github.com/silasb/echoserver and a ARM64 docker image is located here https://hub.docker.com/r/silasb/echoserver |
+1 to the request for a note in the docs that this image might not work for everyone. I only happened to recognize the error log of (FWIW, I found that |
If anyone is interested in creating their own pod and service to use with the tutorial on Mac M1/ARM64, this comment might be helpful. Let me know if any questions. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
Thank you for pushing an image that works for the architecture. Would love to see this repo added to the k8s docks/registry |
We've pushed an image |
Trying out minikube on my Mac mini apple silicon/m1.
But step 4 from minikube start is not working for me.
I am using Docker Desktop 3.3.1 (63152). I have activated the experimental feature:
"Use new virtualisation framework"
Please let me know if I can provide further information!
Steps to reproduce the issue:
Full output of failed command:
Full output of
minikube start
command used, if not already included:😄 minikube v1.19.0 auf Darwin 11.2.3 (arm64)
✨ Automatically selected the docker driver
👍 Starting control plane node minikube in cluster minikube
🚜 Pulling base image ...
\ > gcr.io/k8s-minikube/kicbase...: 357.67 MiB / 357.67 MiB 100.00% 1.82 MiB
🔥 Creating docker container (CPUs=2, Memory=4000MB) ...
> kubectl.sha256: 64 B / 64 B [--------------------------] 100.00% ? p/s 0s
> kubelet.sha256: 64 B / 64 B [--------------------------] 100.00% ? p/s 0s
> kubeadm.sha256: 64 B / 64 B [--------------------------] 100.00% ? p/s 0s
> kubectl: 35.44 MiB / 35.44 MiB [------------] 100.00% 2.18 MiB p/s 16.44s
> kubeadm: 34.50 MiB / 34.50 MiB [-----------] 100.00% 1.72 MiB p/s 20.229s
> kubelet: 100.57 MiB / 100.57 MiB [---------] 100.00% 3.32 MiB p/s 30.452s
🔎 Verifying Kubernetes components...
▪ Using image gcr.io/k8s-minikube/storage-provisioner:v5
🌟 Enabled addons: storage-provisioner, default-storageclass
🏄 Done! kubectl is now configured to use "minikube" cluster and "default" namespace by default
Optional: Full output of
minikube logs
command:minikube.log
The text was updated successfully, but these errors were encountered: