kubernetes: I can't reach service IPs on the network. Unable to access application from web.

Hi, I have my kubernetes environment up and running on an ubuntu machine with a master and two minion nodes. I’m able to fetch the nodes and list then.

I’m using https://github.com/GoogleCloudPlatform/kubernetes/tree/master/release-0.19.0/examples/update-demo i.e. to scale nautilus image. I’m unaware of which IP to use to view the images on the web page.

$ kubectl get pods
POD                          IP            CONTAINER(S)   IMAGE(S)                                        HOST                          LABELS                              STATUS    CREATED      MESSAGE
update-demo-nautilus-agkk9   172.16.50.2                                                                  10.x.x.x/10.x.x.x  name=update-demo,version=nautilus   Running   18 minutes
                                           update-demo    gcr.io/google_containers/update-demo:nautilus                                                                     Running   18 minutes
update-demo-nautilus-anjzp   172.16.50.3                                                                  10.x.x.x/10.x.x.x   name=update-demo,version=nautilus   Running   18 minutes
                                           update-demo    gcr.io/google_containers/update-demo:nautilus                                                                     Running   18 minutes
$ kubectl get rc
CONTROLLER             CONTAINER(S)   IMAGE(S)                                        SELECTOR                            REPLICAS
update-demo-nautilus   update-demo    gcr.io/google_containers/update-demo:nautilus   name=update-demo,version=nautilus   2

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 19 (9 by maintainers)

Most upvoted comments

Did you try http://localhost:8001/static as specified in the example?