Re: [kubernetes-users] GKE/GCE: instance may belong to at most one load-balanced instance group

2017-01-06 Thread 'Tim Hockin' via Kubernetes user discussion and Q
https://github.com/kubernetes/ingress/issues/112 On Fri, Jan 6, 2017 at 4:59 PM, Tim Hockin wrote: > On Fri, Jan 6, 2017 at 3:32 PM, 'Mark Betz' via Kubernetes user > discussion and Q wrote: >> Ha, ok fair enough ... >> >>> The last part of

Re: [kubernetes-users] Connection timeouts to a gcloud load balanced service

2017-01-06 Thread 'Tim Hockin' via Kubernetes user discussion and Q
Things to check - are all of your nodes healthy? Is kube-proxy up and running on each of them (kubectl get pods -n kube-system) ? On Fri, Jan 6, 2017 at 4:14 PM, Tanner Bruce wrote: > Hi, > > I'm running kubernetes, on gcloud and have a service exposed with a load >

Re: [kubernetes-users] GKE/GCE: instance may belong to at most one load-balanced instance group

2017-01-06 Thread 'Tim Hockin' via Kubernetes user discussion and Q
On Fri, Jan 6, 2017 at 3:32 PM, 'Mark Betz' via Kubernetes user discussion and Q wrote: > Ha, ok fair enough ... > >> The last part of this reads as "I know I'm not >> supposed to have an instance belong to more than one load balanced >> instance >> group, so I

Re: [kubernetes-users] GKE/GCE: instance may belong to at most one load-balanced instance group

2017-01-06 Thread 'Mark Betz' via Kubernetes user discussion and Q
Ha, ok fair enough ... > The last part of this reads as "I know I'm not > supposed to have an instance belong to more than one load balanced instance > group, so I added my instance to more than one load balanced instance group." Yeah I didn't think through it enough, clearly, but I guess

Re: [kubernetes-users] GKE/GCE: instance may belong to at most one load-balanced instance group

2017-01-06 Thread 'Tim Hockin' via Kubernetes user discussion and Q
I am not sure I understand On Fri, Jan 6, 2017 at 11:38 AM, 'Mark Betz' via Kubernetes user discussion and Q wrote: > Say I have a cluster with two services: one is an http service that I want > to expose to the world, and the other is a thrift service that I

Re: [kubernetes-users] logs folder permission

2017-01-06 Thread Rodrigo Campos
Oh, I see what you mean now. I don't know how to tell docker the ownership, maybe you can set a umask? Maybe there are flags too, don't know much about docker. On Friday, January 6, 2017, wrote: > I don't think I can do that. Isn't Dockerfile just handling docker >

[kubernetes-users] Re: How can I know network and subnet for my k8s-cluster?

2017-01-06 Thread 'Mark Betz' via Kubernetes user discussion and Q
Hi, Manoj. You can get the information you need from the `servicesIpv4Cidr` property of the cluster. If you're on GKE you can get that with `gcloud container clusters describe `. Just convert the cidr to an IP and subnet mask, and pass the IP in OVPN_K8S_SERVICE_NETWORK and the mask in

Re: [kubernetes-users] logs folder permission

2017-01-06 Thread overip
Unfortunately FluentD runs with a user called FluentD I think there must be a way to do what I am trying to do. On Friday, January 6, 2017 at 12:27:04 PM UTC-8, Vishnu Kannan wrote: > `/var/lib/docker/` is managed by docker and it is not intended to be consumed > outside of docker directly.

Re: [kubernetes-users] logs folder permission

2017-01-06 Thread 'Vishnu Kannan' via Kubernetes user discussion and Q
`/var/lib/docker/` is managed by docker and it is not intended to be consumed outside of docker directly. IIUC, `docker logs` is the interface that users are expected to use. Is running "fluentd" as root user an option? On Fri, Jan 6, 2017 at 12:22 PM, Rodrigo Campos wrote:

Re: [kubernetes-users] logs folder permission

2017-01-06 Thread Rodrigo Campos
It happens also if you run the docker image on your local PC, right? Probably you need to create it and chmod in your dockerfile, but remember that docker storage is not persistent and it gets erased every time the container is removed (on deploy, container crash, node drain, etc.) On Friday,

[kubernetes-users] logs folder permission

2017-01-06 Thread overip
Hello everyone. Everytime I create a new containers on Kubernetes, new log folders in /var/lib/docker/containers get created. The permission is automatically set to drwx-- . That doesn't allow me to correctly collect the content and read it through FluentD. Any suggestion on how to fix the

[kubernetes-users] GKE/GCE: instance may belong to at most one load-balanced instance group

2017-01-06 Thread 'Mark Betz' via Kubernetes user discussion and Q
Say I have a cluster with two services: one is an http service that I want to expose to the world, and the other is a thrift service that I want to call from some other place (over a vpn gateway into the GCP project). For this use case I decide to go with two load balancers: the one k8s will

Re: [kubernetes-users] Re: GKE 1.4.0 Container-VM Image (GCI) missing glusterfs-client.

2017-01-06 Thread 'Jing Xu' via Kubernetes user discussion and Q
A few updates related to NFS and GlusterFS support on GCI cluster: 1. NFSv4 is supported, but the document related to NFS example listed in https://github.com/kubernetes/kubernetes/tree/master/examples/volumes/nfs has not yet updated. Please make the following changes to make the example work.

[kubernetes-users] repost] Please help contribute to etcd for Kubernetes documentation

2017-01-06 Thread Caleb Miles
[repost from kubernetes-dev] Hello! The CoreOS etcd team would like to help improve documentation for deploying and operating etcd for Kubernetes; before we begin writing documentation we would love to know how you are currently deploying etcd for Kubernetes and what topics you would like

Re: [kubernetes-users] Autoscale volume and pods simultaneously

2017-01-06 Thread 'Tim Hockin' via Kubernetes user discussion and Q
Ahh, you want to start with a clone of the data, not an empty volume. Why not use something like git-sync to pull the data down from some canonical source? On Thu, Jan 5, 2017 at 11:33 PM, Montassar Dridi wrote: > each new pod gets it's own persistent volume copy/clone

Re: [kubernetes-users] Autoscale volume and pods simultaneously

2017-01-06 Thread Montassar Dridi
thank you for your help, appreciate it, I'm gonna use statefulsets On Friday, January 6, 2017 at 1:09:56 AM UTC-5, Tim Hockin wrote: > > On Thu, Jan 5, 2017 at 9:52 PM, Montassar Dridi > wrote: > > > > > > On Thursday, January 5, 2017 at 11:17:26 PM UTC-5, Tim Hockin

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

2017-01-06 Thread Romain Vrignaud
Hello, I'm running in a GKE cluster (1.4.x) some application that need to connect to a third party API. This third party API has mandatory IP filtering. So in order to get API authorized I need to declare what are the public IP that I'll use to connect to the API. My problem is that public IPs of