Re: [kubernetes-users] connecting to internal containers

2017-02-20 Thread Rodrigo Campos
to communicate between your botkit-dev pods and api pods, read about kubernetes service. They solve exactly that problem :) On Mon, Feb 20, 2017 at 8:21 PM, Norman Khine wrote: > It is only for internal usage between the two containers. > > one more question - what if i have

Re: [kubernetes-users] connecting to internal containers

2017-02-20 Thread Norman Khine
It is only for internal usage between the two containers. one more question - what if i have another container but which is in a different pod, how would i connect to it without having to go out of the ELB, for example, i have a botkit that needs to talk to the API container that is in another

Re: [kubernetes-users] How reliable is the PreStop container hook?

2017-02-20 Thread Rodrigo Campos
On Monday, February 20, 2017, wrote: > Does anyone have guidance on how reliable the PreStop container hook > (either from experience, or with knowledge of the design of the system)? In my experience, it works as expected. We use it to kill nginx waiting for

Re: [kubernetes-users] connecting to internal containers

2017-02-20 Thread Rodrigo Campos
Local host or 127.0.0.1, depends if the service binds to ipv4 only and how your client connects. But if local host doesn't work, try 127.0.0.1 :-) On Monday, February 20, 2017, 'Tim Hockin' via Kubernetes user discussion and Q wrote: > 0.0.0.0 is valid as a

Re: [kubernetes-users] connecting to internal containers

2017-02-20 Thread 'Tim Hockin' via Kubernetes user discussion and Q
0.0.0.0 is valid as a bind-to address, meaning "any IP", but as a connect-to address you probably want 'localhost' On Mon, Feb 20, 2017 at 2:11 PM, Matthias Rampke wrote: > I see three containers in this. > > Yes, 0.0.0.0: should work if the graphql container binds to

Re: [kubernetes-users] connecting to internal containers

2017-02-20 Thread Matthias Rampke
I see three containers in this. Yes, 0.0.0.0: should work if the graphql container binds to all interfaces. Try it out? On Mon, Feb 20, 2017, 21:01 Norman Khine wrote: > Hello, I have the following template file which has 2 containers: > > > containers: > -

[kubernetes-users] connecting to internal containers

2017-02-20 Thread Norman Khine
Hello, I have the following template file which has 2 containers: containers: - name: api ports: - containerPort: 3000 env: - name: SERVERLESS_ENDPOINT value: http://0.0.0.0: - name: media ports:

[kubernetes-users] Looking for testers for Canary releasing solution for K8s

2017-02-20 Thread Olaf Molenveld
Hi all, we just released a new version of our canary-releasing and smart micro scaling solution Vamp (vamp.io) and are looking for testers, collaborators (we’re apache 2.0 OSS) and other ways of feedback to define and design the upcoming features of Vamp:

[kubernetes-users] Kubectl OpenID and Server Configuration Caching

2017-02-20 Thread Rudy Bonefas
We have decided to use OpenID Connect with Kubectl and I have been in the process if writing an OpenID Connect server using the nimbusds java sdk. When kubectl first connects to my server using the /.well-known/openid-configuration endpoint, it obviously caches the returned configuration

[kubernetes-users] Re: Deleting a pod with emptyDir volume causes kubelet extremely busy

2017-02-20 Thread Qian Zhang
It seems caused by the changes in Golang: https://github.com/golang/go/commit/321c312d8246dec6889f5fe334b6193c320baf0e On Monday, February 20, 2017 at 5:30:46 PM UTC+8, Qian Zhang wrote: > > Hi, > > I had a pod with a emptyDir volume in my K8s cluster, and after I deleted > it, I found kubelet