Re: [kubernetes-users] error querying EC2 for volume info

2017-03-28 Thread dvogel26 via Kubernetes user discussion and Q
On Monday, March 27, 2017 at 5:38:50 PM UTC-4, Rodrigo Campos wrote: > The iam role ec2 instances are using doesn't seem to have permission for that. > > > That you can do it is separate, because you probably are not using the same > role as ec2 kubernetes nodes. > I'm running Kubernetes on a

Re: [kubernetes-users] Image needs significantly more memory in Kubernetes than just using Docker

2017-03-28 Thread 'David Oppenheimer' via Kubernetes user discussion and Q
If you specify a memory limit but no request, Kubernetes automatically sets memory request as the same value. If you specify a memory request but no limit, Kubernetes does not set any memory limit, so your container should never be killed due to exceeding its memory limit. You said you are setting

[kubernetes-users] Re: Enabling bearer token auth on TLS cluster on CoreOS

2017-03-28 Thread Phil Swenson
Here is the answer: http://stackoverflow.com/questions/43072514/kubernetes-how-to-enable-api-server-bearer-token-auth/43075428#43075428 On Monday, March 27, 2017 at 2:25:49 PM UTC-6, Phil Swenson wrote: > > Hi, I've been trying to enabled token auth for HTTP rest api access from a > remote

[kubernetes-users] How is the staging/dev environment setup at your workplace? (x-post kubernetes-dev)

2017-03-28 Thread Kunal Kerkar
Hi, Some background about me. I’ve been working on web APIs for the last 5 years. Initially it started with a monolith codebase, plugging in all sorts of APIs and packaging it all together. It was fairly easy to setup a staging cluster due to the simplicity involved in hosting the code and

Re: [kubernetes-users] Image needs significantly more memory in Kubernetes than just using Docker

2017-03-28 Thread 'EJ Campbell' via Kubernetes user discussion and Q
blockquote, div.yahoo_quoted { margin-left: 0 !important; border-left:1px #715FFA solid !important; padding-left:1ex !important; background-color:white !important; } You could also have something in your program that allocates memory off java's heap. Here is a simplified program you can use to

Re: [kubernetes-users] Image needs significantly more memory in Kubernetes than just using Docker

2017-03-28 Thread 'Tim Hockin' via Kubernetes user discussion and Q
Wild guess - something is looking at underlying OS or hardware info (e.g. number of processors) and scalng memory or threads based on that. On Mar 28, 2017 9:39 AM, "bg" wrote: > I have an image that is basic Java application. I'm trying to minimize the > amount of memory

[kubernetes-users] Image needs significantly more memory in Kubernetes than just using Docker

2017-03-28 Thread bg
I have an image that is basic Java application. I'm trying to minimize the amount of memory I submit the Job with in Kubernetes. Using Java's -Xmx flag I limit the program to using 25MB of memory (-Xmx25m) and using docker I run the container with 30M of memory: docker run -m 30m That works