In my yaml file below, 8080 doesn't work because nginx is configured to listen 
on port 80.  Also, doing a curl against the IP of POD works (curl 
http://podid:80).  So what's the point of containerPorts?

apiVersion: v1
kind: Pod
  name: hello-pod
  namespace: default
  - name: hello-ctr
    image: nginx
    - containerPort: 8080

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.
  • [kubernetes-users]... adoyt

Reply via email to