[kubernetes-users] Unable to reach external URLof the Loadblance configured to talk to the endpoints on a GKE cluster running a nodejs app

2018-05-20 Thread subramanya . sadashiva
Hey Guys, Im sure many of you have faced this problem before, i have deployed a 2 Node GKE cluster running a nodejs app, the app listening on lets say on http://localhost:9000. I created the below Service with the below YAML , basicaly setting up the LoadBalancer for my Pods to talk to over

Re: [kubernetes-users] Re: Recommended way to get the pods of a Kubernetes deployment?

2018-05-20 Thread 'Tim Hockin' via Kubernetes user discussion and Q
The outdated pods are being terminated, so they should go away "soon". In the meantime it's not wrong to include them because they exist. If you want then to terminate faster, that is something you can control :) On Sun, May 20, 2018, 9:06 AM Torsten Bronger

Re: [kubernetes-users] Finding a way to get stable public IP for outbound connections

2018-05-20 Thread 'Tim Hockin' via Kubernetes user discussion and Q
You can build that as a controller that runs in-cluster, picks one of the nodes, and assigns the static IP. It will still be racy, though, in that it will never be instantaneous. On Sun, May 20, 2018, 3:28 PM wrote: > An update: I was able to do this with the standard

Re: [kubernetes-users] http redirect to https/

2018-05-20 Thread David Rosenstrauch
On 2018-05-20 6:28 am, sh...@teclaone.com wrote: Completed the setup of Phpmy admin, Wordpress, MySql, Ngnix and it is fine, load balancing with http. Now I am having Issues with http redirecting to https and where to connect my existing ssl certificates. Are you saying that it's

Re: [kubernetes-users] Finding a way to get stable public IP for outbound connections

2018-05-20 Thread mike
An update: I was able to do this with the standard add-access-config mechanism here: https://cloud.google.com/compute/docs/ip-addresses/reserve-static-external-ip-address No guarantees around when GKE will rebuild those nodes and lose the node IPs, but it works for now. On Sunday, May 20, 2018

Re: [kubernetes-users] Finding a way to get stable public IP for outbound connections

2018-05-20 Thread mike
Evan, Did you figure out a way to assign reserved static IP addresses to a few specific nodes in a GKE pool? We are also fine with doing this manually for a couple of specific nodes for the time being (rather than building a NAT gateway), but I cannot find reliable information about how to

Re: [kubernetes-users] Recommended way to get the pods of a Kubernetes deployment?

2018-05-20 Thread 'Tim Hockin' via Kubernetes user discussion and Q
Maybe I don't understand - the labels in the template are applied to the pod. Just label select against pods. On Sun, May 20, 2018, 8:12 AM Torsten Bronger wrote: > Hallöchen! > > Since this question is apparently off-topic on SO >

[kubernetes-users] Recommended way to get the pods of a Kubernetes deployment?

2018-05-20 Thread Torsten Bronger
Hallöchen! Since this question is apparently off-topic on SO (https://stackoverflow.com/q/50434349/188108), I ask here: What is the recommended way to get the pods of a Kubernetes deployment? Currently, I do: 1. Add unique labels to the deployment's template. 2. Get the revision number of the