On Tue, Jun 21, 2016 at 01:51:01PM -0700, kant kodali wrote: > Hi William, > > So here is what I tried > > This is my service config.yaml > > *apiVersion: v1* > *kind: Service* > *metadata:* > * name: echo-server* > *spec:* > * ports:* > * - port: 11111* > * nodePort: 30080* > * name: "echo-server"* > * selector:* > * app: echo-server* > * clusterIP: None* > * type: NodePort* > > > and then I did *kubectl describe node *to get the external IP of the > machine (as I want clients who are external to the cluster should be able > to connect) where "echo-server" pod is running and finally did > > telnet <externalIP> 30080 // This didn't quite work. any idea?
Have you tried it inside the cluster? On AWS there's a firewall by default (security groups don't enable that), so you will need to change that to connect (as with any other host on AWS). -- You received this message because you are subscribed to the Google Groups "Containers at Google" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-containers. For more options, visit https://groups.google.com/d/optout.
