Re: [kubernetes-users] port kinds

2017-08-01 Thread Snd LP
Would be nice to have an example of when to use which keywords. Such as: (1) Using single-node with no H-A / Load-Balancing. (2) Using H-A / Load-Balancing with multiple nodes In each case, how the defined "nodePorts" are used for internal-local communication. Also usage of "targetPort" is bett

Re: [kubernetes-users] port kinds

2017-07-31 Thread
Let me know if it isnt clear. I'll fix it. On Mon, Jul 31, 2017 at 11:26 PM, Snd LP wrote: > thank you. > studying the slides. > (leaping from docker to kubernetes these days). > > On Mon, Jul 31, 2017 at 11:17 PM, 'Tim Hockin' via Kubernetes user > discussion and Q&A wrote: >> >> I like to do

Re: [kubernetes-users] port kinds

2017-07-31 Thread Snd LP
thank you. studying the slides. (leaping from docker to kubernetes these days). On Mon, Jul 31, 2017 at 11:17 PM, 'Tim Hockin' via Kubernetes user discussion and Q&A wrote: > I like to do these illustrated mini-presentations to explain topics. > > On Mon, Jul 31, 2017 at 11:08 PM, 'David Oppenhe

Re: [kubernetes-users] port kinds

2017-07-31 Thread
I like to do these illustrated mini-presentations to explain topics. On Mon, Jul 31, 2017 at 11:08 PM, 'David Oppenheimer' via Kubernetes user discussion and Q&A wrote: > > > On Mon, Jul 31, 2017 at 4:36 PM, 'Tim Hockin' via Kubernetes user discussion > and Q&A wrote: >> >> >> https://speakerdec

Re: [kubernetes-users] port kinds

2017-07-31 Thread
On Mon, Jul 31, 2017 at 4:36 PM, 'Tim Hockin' via Kubernetes user discussion and Q&A wrote: > https://speakerdeck.com/thockin/kubernetes-a-very- > brief-explanation-of-ports I had not seen this before. This is really great. > > > On Mon, Jul 31, 2017 at 3:19 PM, Snd LP wrote: > > I got some

Re: [kubernetes-users] port kinds

2017-07-31 Thread
https://speakerdeck.com/thockin/kubernetes-a-very-brief-explanation-of-ports On Mon, Jul 31, 2017 at 3:19 PM, Snd LP wrote: > I got some nginx containers running that I can access externally. > Here are two yaml files I ran to make this happen. > > What do "hostPort" vs "containerPort" vs "port"

[kubernetes-users] port kinds

2017-07-31 Thread Snd LP
I got some nginx containers running that I can access externally. Here are two yaml files I ran to make this happen. What do "hostPort" vs "containerPort" vs "port" vs "targetPort" vs "nodePort" all do? What can I leave out to make clean? Thanks. [root@kctl-master kubectl]# cat nginx.yaml apiV