Hi, 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 metadata: name: hello-pod namespace: default spec: containers: - name: hello-ctr image: nginx ports: - 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.