Comments (4)
This seems to be the issue kubernetes-sigs/kind#2549 but I am not sure what the resolution is.
from admiralty.
Hi @ahmetb, I see that you submitted another issue after this one, #149, where you have gone farther in the quick start guide. Were you able to figure out what the problem is here?
Unfortunately, I don't have an M1 available. We do build multi-arch images that are known to work, though aren't systematically tested... Which version of kind are you running? The latest version seems to address some multi-arch issues (not necessarily related):
NOTE: these node images support amd64 and arm64 now.
[...]
Fix kind load docker-image if all images are already present
https://github.com/kubernetes-sigs/kind/releases/tag/v0.12.0
from admiralty.
I'm seeing the same problem.
- If I just run a regular
nginx
image from docker hub it works. - If I use the local registry route (using
--platform=linux/arm64
images), it also works.
But kind load docker-image
:
GOOS=linux GOARCH=arm64 go build -o bin/server example/server
docker build --platform=linux/arm64 -t demo-server-arm64 -f Dockerfile
kind --name=demo load docker-image demo-server-arm64
kubectl create deployment demo-server-arm64 --image demo-server-arm64 --replicas=1
# fails with:
# Failed to pull image "demo-server-arm64": rpc error: code = Unknown desc = failed to pull and unpack
# image "docker.io/library/demo-server-arm64:latest": failed to resolve reference
# "docker.io/library/demo-server-arm64:latest": pull access denied, repository does not exist
# or may require authorization: server message: insufficient_scope: authorization failed
GOOS=linux GOARCH=amd64 go build -o bin/server example/server
docker build --platform=linux/amd64 -t demo-server-amd64 -f Dockerfile
kind --name=demo load docker-image demo-server-amd64
# fails with:
# ERROR: failed to load image: command "docker exec --privileged -i demo-control-plane ctr --namespace=k8s.io images import --snapshotter overlayfs -" failed with error: exit status 1
# Command Output: ctr: image might be filtered out
(N.B. Dockerfile is just 1 binary COPY
based on scratch
)
I have the feeling that somewhere down the line, Kubernetes might be trying to load amd64 images... The fact that NGINX works, can this be because it is a multi-architecture image?
from admiralty.
Tested the v0.16 quickstart with an M1. It works. Probably an issue that was fixed with a recent version kind.
from admiralty.
Related Issues (20)
- Question: What is the stable k8s version where I can install and test admiralty between 2 clusters? HOT 3
- Job Pods deleted on target clusters cause extra untracked Pods to be created HOT 2
- kubectl attach via proxy pods HOT 3
- reconciliation for PodChaperons HOT 3
- Default priority is different in 2 clusters, preventing the federated pods from starting
- Different ingress host or different config-map HOT 2
- node keep deleting HOT 1
- Admiralty virtual node uses deprecated label for load balancer exclusion HOT 2
- EKS tries to create system processes (kube-system namespace) incorrectly on Admiralty virtual nodes HOT 4
- Failed to Call Webhook HOT 1
- docs/quickstart: cert-manager webhook CrashLoopBackOff on Apple M1 HOT 1
- CSIStorageCapacity no long supported from Kubernetes 1.27 HOT 6
- Enable customization of reinvocationPolicy for webhook
- Panic on nil pointer dereference HOT 2
- x509: certificate signed by unknown authority
- Wrong PODs assignment HOT 1
- Cloud Burst Configuration -> Pod does not trigger auto-scale HOT 2
- True decentralized architecture?
- Unable to Access Pod Logs in Source Cluster HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from admiralty.