I have built a docker image called
vampire2008/akira-es2 to install the search guard on the elasticsearch. The image can be downloaded from the DockerHub. I have successfully run the container and initialize the search guard by using
docker run --name akira-es -p 9200:9200 -p 9300:9300 -d vampre1008/akira-es2:latest
However, when I use the minikube to deploy the container and create a pod
kubectl run akira-essg --image=vampire2008/akira-es2:latest --restart=Never
I got the Error status for the pod, and when I describe the pod, I did not see any error messages from the logs.
I have also tried to deploy the local image with
eval $(minikube docker-env) docker build -t akira-es3 . kubectl run akira-essg1 --image=akira-es3:latest --restart=Never --port=9200 --image-pull-policy=Never
I got like backoff error
Hope someone can help me diagnose the process to see where I got wrong.