Re: [kubernetes-users] Help me understand Kubernetes/Google LB options and architectures

2017-05-16 Thread 'Tim Hockin' via Kubernetes user discussion and Q
On Tue, May 16, 2017 at 11:14 AM, Joe Auty wrote: > Thanks again Tim! > > What would a recommended architecture look like for a socket.io sort of > setup? I don't know socket.io per se, but I can speak abstractly... > Needs: > > - session affinity (I think either L4 or 7!?)

Re: [kubernetes-users] Help me understand Kubernetes/Google LB options and architectures

2017-05-16 Thread 'Tim Hockin' via Kubernetes user discussion and Q
On Tue, May 16, 2017 at 11:08 AM, Joe Auty wrote: > The only real choice there is "ClientIP", which makes sense in an L4 > context. > > > But wouldn't the IP need to be forwarded as an HTTP header? How does it know > what the IP is? When you use an L7 frontend like GCLB and an

Re: [kubernetes-users] kubectl against kubelet

2017-05-16 Thread Rodrigo Campos
On Tuesday, May 16, 2017, wrote: > I have a stand-alone kubelet running with no api server. Essentially > using it to more easily manage the docker daemon on a single host and do > not want to set up the API server. > > Is there a way to put kubectl in like a "stand-alone"

Re: [kubernetes-users] kubectl against kubelet

2017-05-16 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
> > Essentially using it to more easily manage the docker daemon on a single > host > Can you explain how is managing docker daemon on a single host difficult for you? > > -- > You received this message because you are subscribed to the Google Groups > "Kubernetes user discussion and Q" group.

[kubernetes-users] kubectl against kubelet

2017-05-16 Thread moserke
I have a stand-alone kubelet running with no api server. Essentially using it to more easily manage the docker daemon on a single host and do not want to set up the API server. Is there a way to put kubectl in like a "stand-alone" mode? Main things I want to be able to do is list pods, exec

Re: [kubernetes-users] Help me understand Kubernetes/Google LB options and architectures

2017-05-16 Thread Joe Auty
Thanks again Tim! What would a recommended architecture look like for a socket.io sort of setup? Needs: - session affinity (I think either L4 or 7!?) FWIW the provided socket.io examples are for HAProxy and NGinx - if we use HAProxy/NGinx, redundancy of these services would be great - LB

Re: [kubernetes-users] Help me understand Kubernetes/Google LB options and architectures

2017-05-16 Thread Joe Auty
The only real choice there is "ClientIP", which makes sense in an L4 context. But wouldn't the IP need to be forwarded as an HTTP header? How does it know what the IP is? Thanks for these great posts, these concepts are really starting to click now! 'Tim Hockin' via Kubernetes user

Re: [kubernetes-users] Help me understand Kubernetes/Google LB options and architectures

2017-05-16 Thread 'Tim Hockin' via Kubernetes user discussion and Q
On Tue, May 16, 2017 at 7:02 AM, Joe Auty wrote: > This is very helpful, thanks, this makes sense! > > If services are layer 4 though, what does service.spec.sessionAffinity do? The only real choice there is "ClientIP", which makes sense in an L4 context. > If I'm

Re: [kubernetes-users] Help me understand Kubernetes/Google LB options and architectures

2017-05-16 Thread Joe Auty
Hi Tim, I have a couple of different use cases actually, but at this point I'm just trying to understand the architecture to know where my LB fits. Options: - haproxy/nginx outside of the cluster pointing to NodePort/LoadBalancer ports - haproxy/nginx inside the cluster - Using just the

Re: [kubernetes-users] Help me understand Kubernetes/Google LB options and architectures

2017-05-16 Thread Joe Auty
This is very helpful, thanks, this makes sense! If services are layer 4 though, what does service.spec.sessionAffinity do? If I'm understanding you, NGinx and HAProxy become useful things inside the cluster to provide layer 7 LB, whereas otherwise a more application/pod specific perspective