Re: [kubernetes-users] Looking for service pool managing solution

2018-05-17 Thread Rodrigo Campos
Not sure it's simpler, nor what you mean with tags. But yeah, you can create pods via the API, count, or use quota limits if you prefer, too. Let's simplify it: try and report back ;) Seriously, I think that would be the easiest and fastest thing to do. On Thursday, May 17, 2018,

Re: [kubernetes-users] SecretList's items don't have "kind" or "apiVersion"

2018-05-17 Thread 'Daniel Smith' via Kubernetes user discussion and Q
It was purposefully that way, but users typically have the expectation you have, and there's actually a PR out (merged?) from deads2k@ fixing this. On Thu, May 17, 2018 at 3:15 PM Torsten Bronger < bron...@physik.rwth-aachen.de> wrote: > Hallöchen! > > An HTTP get to the endpoint /secrets/

[kubernetes-users] SecretList's items don't have "kind" or "apiVersion"

2018-05-17 Thread Torsten Bronger
Hallöchen! An HTTP get to the endpoint /secrets/ against my Kubernetes 1.10 API server yields: kind: SecretList apiVersion: v1 metadata: {resourceVersion: '1143', selfLink: /api/v1/namespaces/default/secrets} items: - data: *** metadata: creationTimestamp: '2018-05-17T21:30:58Z'

Re: [kubernetes-users] Kubernetes Ingress HTTP Load Balancer with port range

2018-05-17 Thread Jonathan Mejias
Yeah, i know that does so many things but How can i create virtual host using kubernetes and using HTTP Load Balancer types? I just need to use PATHS for my dynamic endpoints applications. And i need to use the better practices in that. regards 2018-05-17 11:00 GMT-04:00 'Tim Hockin' via

Re: [kubernetes-users] Looking for service pool managing solution

2018-05-17 Thread tomasz . szandala
Let's simplify it: can I write 5 different pod yamls, put in it a kind of "tag" and write an API request (request should have "tag" value) that will run ONE random pod from those 5? -- You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q"

Re: [kubernetes-users] Looking for service pool managing solution

2018-05-17 Thread Rodrigo Campos
On Thursday, May 17, 2018, wrote: > So: > I have 3 types of devices. Each device has assigned container - to access > device you have to connect to container and from there you can use device. What do you mean with device? > Containers have special environment

Re: [kubernetes-users] Looking for service pool managing solution

2018-05-17 Thread tomasz . szandala
So: I have 3 types of devices. Each device has assigned container - to access device you have to connect to container and from there you can use device. Containers have special environment variable describing to which device it is assigned, e.g. B4 - which means: device type B, number 4. Now we

[kubernetes-users] Resizing Cluster to Save on GKE Costs

2018-05-17 Thread Nicholas J Ingrassellino
I read somewhere that a good way to save costs on GKE is to reduce the node size to zero (gcloud container clusters resize [name] --size 0) when you are not using it (non-production environments, mostly). This worked great until I tried to bring it back up over zero. Now all the pods are listed

[kubernetes-users] Re: Slow response times using default Ingress on GKE

2018-05-17 Thread Dave Jensen
Thank you, I think this solved the issue. We set the IdleTimeout (in Golang) to 620s and, in our staging environment, I have not seen a request take longer than 200ms. On Wednesday, May 16, 2018 at 2:41:32 PM UTC-7, Nicks wrote: > > I created an HTTP LB setup on GCP using a golang HTTP server

Re: [kubernetes-users] Looking for service pool managing solution

2018-05-17 Thread Rodrigo Campos
Can you please elaborate? I don't follow what you mean with "type A, unique variable: xxx". On Thu, May 17, 2018 at 12:35 PM, wrote: > Hi Rodrigo, > I cannot find an example for one thing: > Let's say I have 3 pods defined: > type: A, unique_variable: 111 > type: A,

Re: [kubernetes-users] Looking for service pool managing solution

2018-05-17 Thread tomasz . szandala
Hi Rodrigo, I cannot find an example for one thing: Let's say I have 3 pods defined: type: A, unique_variable: 111 type: A, unique_variable: 222 type: A, unique_variable: 333 Now: how can I use API or Kubectl to create random pod of type A? Kind regards, Tomasz -- You received this message

Re: [kubernetes-users] Kubernetes Ingress HTTP Load Balancer with port range

2018-05-17 Thread 'Tim Hockin' via Kubernetes user discussion and Q
Kubernetes' Ingress abstraction does what you want. On Wed, May 16, 2018 at 6:38 PM Jonathan Mejias wrote: > Im using kubernetes to deploy apps, how can i create that virtual host > into a container cluster? > > On Wed, May 16, 2018, 19:36 'Tim Hockin' via Kubernetes user

Re: [kubernetes-users] Looking for service pool managing solution

2018-05-17 Thread Rodrigo Campos
For what I understand, yes. Go ahead and try it out and read the docs. Each container/pod can specify it's requirements regarding could/mem, and k8s will allocate them while they exist automatically on some node. Or you can even make sure some containers/pods will be run on some type of nodes

Re: [kubernetes-users] Multiple vs Single K8S Clusters

2018-05-17 Thread Prys Williams
Thanks Paul, that's interesting. Anyone doing the opposite - i.e. single cluster for all? On Thursday, 17 May 2018 09:01:42 UTC+1, Paul Ingles wrote: > > We run multiple clusters for the reasons you highlight: cluster-local > failures are more readily mitigated. We’ve had networking issues

[kubernetes-users] Looking for service pool managing solution

2018-05-17 Thread tomasz . szandala
Greetings, I am looking for a software to manage a pool of application, using API and database system. Let me show You my problem: I have 3 types of services: A, B and C. Each one requires outside resource, so we distinguish each instance. e.g.: I have 6 A-type virtual machines { A1, A2,..,

[kubernetes-users] Container not starting Error: cannot find volume \"default-token-hwtv5\" to mount into container

2018-05-17 Thread Niranjan Kolly
Hi, I am getting below issue when trying to create pod. Any help is appreciated. pod_workers.go:186] Error syncing pod 2f0ce712-59a6-11e8-afb7-005056980c31 ("kong-migration-2gtfp_default(2f0ce712-59a6-11e8-afb7-005056980c31)"), skipping: failed to "StartContainer" for "kong-migration" with

Re: [kubernetes-users] Multiple vs Single K8S Clusters

2018-05-17 Thread Paul Ingles
We run multiple clusters for the reasons you highlight: cluster-local failures are more readily mitigated. We’ve had networking issues affect one cluster but not the others. We don’t separate clusters along env lines, instead just named after colours (currently) and state the order in which

[kubernetes-users] Multiple vs Single K8S Clusters

2018-05-17 Thread Prys Williams
Hi all, I'm looking for broad advice on cluster architecture, specifically around the pros and cons of having multiple clusters vs single cluster for Prod workloads. Our approach so far has been to use a single cluster with RBAC, namespaces, network policies etc all being used to segregate