Re: Does kubernetes plugin allow modifying POD resource limits?

2017-01-26 Thread J
A simple 'jnlp' wasn't working. The PODs go into error and terminate immediately so I couldn't look at any further logs there. Connection using jnlp-agent also just terminates immediately after connecting; so not sure what the actual problem is. On Thursday, 26 January 2017 12:40:57 UTC-8,

Re: Does kubernetes plugin allow modifying POD resource limits?

2017-01-26 Thread Carlos Sanchez
On Thu, Jan 26, 2017 at 9:04 PM, J wrote: > That worked with actually setting the name to 'jnlp-slave'; in a resource > unlimited namespace. Thanks > if you don't set the name to jnlp you'll get 2 containers in your pod > > Will get back to you as soon as I find the api

Re: Does kubernetes plugin allow modifying POD resource limits?

2017-01-26 Thread J
That worked with actually setting the name to 'jnlp-slave'; in a resource unlimited namespace. Thanks Will get back to you as soon as I find the api handles for POD resource limits, as I'd really like to be able to use my existing cluster namespace. On Thursday, 26 January 2017 11:08:20

Re: Does kubernetes plugin allow modifying POD resource limits?

2017-01-26 Thread Carlos Sanchez
You can check in k8s why the container exited. You need to make sure args is '${computer.jnlpmac} ${computer.name}' On Thu, Jan 26, 2017 at 8:04 PM, J wrote: > > You're right, the api only seems to define container limits. While I still > look for how the api infers these;

Re: Does kubernetes plugin allow modifying POD resource limits?

2017-01-26 Thread J
You're right, the api only seems to define container limits. While I still look for how the api infers these; I can usually define them in a yaml like this with a "type: Pod" label, and it puts limits on

Re: Does kubernetes plugin allow modifying POD resource limits?

2017-01-26 Thread Carlos Sanchez
On Thursday, January 26, 2017 at 1:54:47 AM UTC+1, J wrote: > > I'm trying to schedule jenkins-slave PODs on a locally running cluster of > mine which already has resource limits for cpu/memory for PODs & Containers. > Firstly where can we specify resource limits for PODs (UI or anywhere)? >

Does kubernetes plugin allow modifying POD resource limits?

2017-01-25 Thread J
I'm trying to schedule jenkins-slave PODs on a locally running cluster of mine which already has resource limits for cpu/memory for PODs & Containers. Firstly where can we specify resource limits for PODs (UI or anywhere)? The values I do specify through the jenkins UI seem to be meant for