webhook.site
webhook.site copied to clipboard
exec /init: exec format error
When i start the webhook pod in my minikube instance the webhook pod is crashing and the only log that I can see is as follows:
exec /init: exec format error
Stream closed EOF for webhook/webhook-b648cd58c-pblc6 (webhook)
Any ideas?
k8s Rev 1.28.3
Hi there, what OS and processor architecture are you running Minikube on?
Hi it's an Apple Macbook pro 16'' M3 (ARM64)
So the issue is, the docker image u are creating is for arm architecture but u r trying to run it on amd architecture. U can just user --platform=linux/amd64
in ur docker build command and everything should work fine