Hello everyone,
I’m trying to replicate what Mumshad is doing on the Nodeport-Demo lab and I can’t access the node from my browser but I’m not sure what I do wrong and I hope we have some experienced k8s users with us to enlight me a bit.
Steps I have done:
- Open k8s 1.23 multi-node playground
- curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
- sudo install minikube-linux-amd64 /usr/local/bin/minikube
- minikube start --driver=none
PS: if I do “minikube start” I get the following error:
Exiting due to DRV_AS_ROOT: The "docker" driver should not be used with root privileges.
-
create the deployment and service file definition (attached photo)
-
run the files to create the pods & Nodeport service
-
minikube service myapp-service --url
I get in response : http://172.25.0.25:30005
When I try to access that URL I get the following message:
This site can’t be reached
172.25.0.25 took too long to respond.
I don’t understand what am I doing wrong since I just started to learn k8s, and I would be thankful if somebody can help me out