Hi,

I've created a very simple RC and couple Services, and my understanding is that 
I should be able to resolve the IP of a service with 
servicename.namespace.svc.cluster.local, but none of the containers that I 
create can resolve the names of the services.

My service yaml looks like:

apiVersion: v1
kind: Service
metadata:
  name: helper1-service
  labels:
    app: helper1
spec:
  ports:
  - port: 4567
    name: helper1-port
    targetPort: 4567
    protocol: TCP
  selector:
    app: coolapp
  type: LoadBalancer
---
apiVersion: v1
kind: Service
metadata:
  name: coolapp-service
  labels:
    app: coolapp
spec:
  ports:
  - port: 8765
    name: coolapp-port
    targetPort: 8765
    protocol: TCP
  selector:
    app: coolapp
  type: LoadBalancer

So in a coolapp container, I anticipate being able to resolve 
helper1-service.default.svc.cluster.local, and vis-a-vis from helper1 I should 
be able to resolve coolapp-service.default.svc.cluster.local.

This is not happening, and I'm at a loss as to why.

Any suggestions are appreciated.  I've been scouring the documentation for 
something I've missed, and am not seeing it.

A

-- 
You received this message because you are subscribed to the Google Groups 
"Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to kubernetes-users+unsubscr...@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to