Re: cluster up - reuse registry address

2016-08-08 Thread Lionel Orellana
I guess what I need is a way to configure the proxy as per https://docs.openshift.org/latest/install_config/http_proxies.html#configuring-hosts-for-proxies On Tue, 9 Aug 2016 at 10:05 AM, Lionel Orellana wrote: > It's been difficult to get a functional poc going with oc

Re: Recreate strategy optimization

2016-08-08 Thread Clayton Coleman
That's not possible today, although in the future I could imagine support for that. There would have to be some gating factor that prevents pod startup which is not yet possible. You *can* pre-seed a cluster with images by creating a daemon set in your prestart deployment hook that contains the

Recreate strategy optimization

2016-08-08 Thread Philippe Lafoucrière
Hi, I have noticed something that could be optimized in recreate strategy: During a deploy, Openshift will set the current running replicas to zero, and then pull the new image, and eventually starts it. The problem is, sometimes, the pull can very (very) long, and during that period, the pods

Re: Using a Jenkins Slave in openshift

2016-08-08 Thread Ben Parees
The sample defines a buildconfig which ultimately uses this directory as the context for a docker build: https://github.com/siamaksade/jenkins-s2i-example/tree/master/slave it does that by pointing the buildconfig to this repo: https://github.com/siamaksade/jenkins-s2i-example and the context

Re: API client / library / javascript

2016-08-08 Thread Clayton Coleman
That's a bug then - because -n namespace should override the file on disk. On Mon, Aug 8, 2016 at 1:59 PM, Tobias Florek wrote: > Hi! > > > > Can "oc" client be called that when we implement shell call to oc > > Yes, `-o yaml` and `-o json` from most calls. > > With one

Re: cluster up - reuse registry address

2016-08-08 Thread Cesar Wong
Hi Lionel, You can always reuse the same data/config dirs and keep your service ips: oc cluster up --host-data-dir=blah --host-config-dir=blah --use-existing-config > On Aug 7, 2016, at 9:17 PM, Lionel Orellana wrote: > > Thanks Clayton. > > Would be nice to have a way

API client / library / javascript

2016-08-08 Thread David Strejc
Is there any API client (other than oc) or library ideally for javascript or we must implement whole REST API calls ourselves? Many thanks for any direction. David Strejc https://octopussystems.cz t: +420734270131 e: david.str...@gmail.com ___ users