[ad_1]
I have installed docker desktop and Minikube on my Mac Air 2020 with M1 chip successfully. I am trying to create a simple single cluster deployment “hello-node” by following the instructions on Kubernetes.io.
When I run the
”’kubectl create deployment hello-node –image=k8s.gcr.io/echoserver:1.4”’
command, the pod does not move to ready state.When I check the kubectl logs deployment/hello-node I get the error:
”'[error] 1#1: failed to initialize Lua VM in /etc/nginx/nginx.conf:54
nginx: [error] failed to initialize Lua VM in /etc/nginx/nginx.conf:54”’
The issue seems to be the below warning, incompatibility of the platforms.
”’WARNING: The requested image’s platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
2022/06/10 05:48:50 [error] 1#1: failed to initialize Lua VM in /etc/nginx/nginx.conf:54
nginx: [error] failed to initialize Lua VM in /etc/nginx/nginx.conf:54;”’
I have checked multiple venues but I could not find a solution around this. Is there a workaround?
[ad_2]