I tried following all the instructions on the Kubernetes tutorial Example: Deploying WordPress and MySQL with Persistent Volumes (https://kubernetes.io/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/#visit-your-new-wordpress-blog). I use minikube with 2 nodes. Also, I use NodePort type for the wordpress service. Everything seems to work fine (pods, services, deployments are all running). The only issue is that when I try to access the Wordpress installation after exposing services with minikube service wordpress --url
, all I get is EOF. I've tried streaming the wordpress pod's logs but don't see any new output on visiting the minikube url. Any advice on fixing this issue would be greatly appreciated.
Note: If I do kubectl port-forward svc/wordpress 8080:80
, I'm able to access the app at localhost:8080.