I have this basic Dockerfile:
FROM nginx
RUN apt-get -y update && apt install -y curl
In the master node of my Kubernetes cluster I
Your PODs are scheduled on your worker nodes. Since you set imagePullPolicy
to Never
you need to make your image available to both nodes. In other words, you need to build it on both nodes as you did on the master.
As a sidenote, it would be probably easier in the long term if you setup a custom docker registry and push your images there.