Re: cluster up - reuse registry address

2016-08-12 Thread v

Hey,

for all the curious people out there:
Just wanted to say that pulling via oc new-app or oc run did not work for my 
v1.2.1 cluster any more after I used this trick.

On top of that this trick has permanently messed up something in my cluster because "oadm prune images 
--confirm" now randomly tries to connect to one of the IPs that I've tried to use with "spec.clusterIP". 
In order for "oadm prune images --confirm" to work I now have to use "oadm prune images --confirm 
--registry-url=SERVICEIP".

Regards
v

Am 2016-08-08 um 03:03 schrieb Clayton Coleman:

When you create the registry you can specify the service IP that is assigned 
(as long as another service hasn't claimed it).

$ oadm registry -o yaml > registry.yaml
$ vi registry.yaml
# Set the registry service `spec.clusterIP` field to a valid service IP (must be 
within the service CIDR, typically 172.30.0.0/16 )
$ oc create -f registry.yaml


On Sun, Aug 7, 2016 at 8:55 PM, Lionel Orellana > wrote:

Hi I'm facing a similar problem to this: 
https://github.com/openshift/origin/issues/7879 
 Basically I need to configure 
the NO_PROXY variable of the Docker deamon to include the registry address. Problem 
is with cluster up I can't control the ip address that will be assigned to the 
registry. Or at least I can't find a way to do it. Is there an option that I'm not 
seeing? ThanksLionel.
___ users mailing list users@lists.openshift.redhat.com  http://lists.openshift.redhat.com/openshiftmm/listinfo/users  


___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: cluster up - reuse registry address

2016-08-11 Thread Clayton Coleman
This is the string flag bug again.  We really need to fix this.

On Aug 10, 2016, at 4:04 AM, Cesar Wong  wrote:

Lionel,

So is it working for you now?

On Aug 9, 2016, at 11:10 PM, Lionel Orellana  wrote:

Digging through the go libraries used for parsing the command options I
found that setting the no_proxy variable like this works:

-e \"no_proxy=172.17.0.3,172.17.0.4\"

It all comes down to https://golang.org/pkg/encoding/csv

which is used by the pflag package.
On Tue, 9 Aug 2016 at 10:31 PM, Lionel Orellana  wrote:

> Setting the log level to 4 I found the following
>
>   Starting OpenShift using container 'origin'
> I0809 22:21:26.415373   20151 run.go:143] Creating container named "origin"
> config:
>   image: openshift/origin:v1.3.0-alpha.2
>   command:
> start
>
> --master-config=/var/lib/origin/openshift.local.config/master/master-config.yaml
> --node-config=/var/lib/origin/openshift.local.config/
> node-poc-docker03.aipo.gov.au/node-config.yaml
>   environment:
> http_proxy=http://proxy.aipo.gov.au:3128
> https_proxy=http://proxy.aipo.gov.au:3128
>* no_proxy=172.17.0.3*
> *172.17.0.4*
>
> I've tried different ways of setting multiple ip's in no_proxy but they
> always seem to be getting split on the comma.
>
> -e "no_proxy=172.17.0.3,172.17.0.4"
> -e no_proxy="172.17.0.3\,172.17.0.4"
> -e no_proxy=’172.17.0.3,172.17.0.4’
> -e no_proxy=172.17.0.3,172.17.0.4
>
> This might be causing some of my problems. The fact that I can't set more
> than one ip address in no_proxy.
>
>
>
>
>
>
>
> On 9 August 2016 at 11:18, Lionel Orellana  wrote:
>
>> 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 cluster up
>>> behind a proxy.
>>>
>>> I need to maintain the registry's address so I can add it to the
>>> no_proxy variable of the docker deamon. Clayton's procedure works for
>>> reusing the address . I will try --use-existing-config.
>>>
>>> But I also need to add the registry's internal address (which always
>>> seems to be initially set to 172.17.0.4) to the no_proxy variable of the
>>> cluster up command itself. Otherwise the health checks try to go through
>>> the proxy and fail.
>>>
>>> When I recreate the registry (in order to set a known service ip) the
>>> pod ip changes and the health checks start to fail again.
>>>
>>> Obviously I am making this harder than it should be. But I just can't
>>> get the right combination to run a cluster behind a proxy where I can login
>>> to the registry (docker login). Maybe I should have said that's what I'm
>>> trying to do from the beginning.
>>>
>>> Cheers
>>>
>>>
>>> Lionel.
>>>
>>> On Tue, 9 Aug 2016 at 1:16 AM, Clayton Coleman 
>>> wrote:
>>>
 Generally deep configuration is not the goal of oc cluster up - that's
 more the Ansible installs responsibility.  oc cluster up is about getting a
 running cluster up for test / dev as quickly as possible, but we don't want
 to add fine grained tuning to it.

 On Mon, Aug 8, 2016 at 10:49 AM, Cesar Wong  wrote:

> 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 of setting the address when using cluster
> up though.
> On Mon, 8 Aug 2016 at 11:03 AM, Clayton Coleman 
> wrote:
>
>> When you create the registry you can specify the service IP that is
>> assigned (as long as another service hasn't claimed it).
>>
>> $ oadm registry -o yaml > registry.yaml
>> $ vi registry.yaml
>> # Set the registry service `spec.clusterIP` field to a valid
>> service IP (must be within the service CIDR, typically 172.30.0.0/16)
>> $ oc create -f registry.yaml
>>
>>
>> On Sun, Aug 7, 2016 at 8:55 PM, Lionel Orellana 
>> wrote:
>>
>>> Hi
>>>
>>> I'm facing a similar problem to this:
>>> https://github.com/openshift/origin/issues/7879
>>>
>>> Basically I need to configure the NO_PROXY variable of the Docker
>>> deamon to include the registry address. Problem is with cluster up I 
>>> can't
>>> control the ip address that will be assigned to the registry. Or at 
>>> least I
>>> can't find a way to do it. Is there an option that I'm not seeing?
>>>
>>> Thanks
>>>
>>> Lionel.
>>>
>>> 

Re: cluster up - reuse registry address

2016-08-11 Thread Lionel Orellana
Yes.

On 10 August 2016 at 18:04, Cesar Wong  wrote:

> Lionel,
>
> So is it working for you now?
>
> On Aug 9, 2016, at 11:10 PM, Lionel Orellana  wrote:
>
> Digging through the go libraries used for parsing the command options I
> found that setting the no_proxy variable like this works:
>
> -e \"no_proxy=172.17.0.3,172.17.0.4\"
>
> It all comes down to https://golang.org/pkg/encoding/csv
>
> which is used by the pflag package.
> On Tue, 9 Aug 2016 at 10:31 PM, Lionel Orellana 
> wrote:
>
>> Setting the log level to 4 I found the following
>>
>>   Starting OpenShift using container 'origin'
>> I0809 22:21:26.415373   20151 run.go:143] Creating container named
>> "origin"
>> config:
>>   image: openshift/origin:v1.3.0-alpha.2
>>   command:
>> start
>> --master-config=/var/lib/origin/openshift.local.config/
>> master/master-config.yaml
>> --node-config=/var/lib/origin/openshift.local.config/node-
>> poc-docker03.aipo.gov.au/node-config.yaml
>>   environment:
>> http_proxy=http://proxy.aipo.gov.au:3128
>> https_proxy=http://proxy.aipo.gov.au:3128
>>* no_proxy=172.17.0.3*
>> *172.17.0.4*
>>
>> I've tried different ways of setting multiple ip's in no_proxy but they
>> always seem to be getting split on the comma.
>>
>> -e "no_proxy=172.17.0.3,172.17.0.4"
>> -e no_proxy="172.17.0.3\,172.17.0.4"
>> -e no_proxy=’172.17.0.3,172.17.0.4’
>> -e no_proxy=172.17.0.3,172.17.0.4
>>
>> This might be causing some of my problems. The fact that I can't set more
>> than one ip address in no_proxy.
>>
>>
>>
>>
>>
>>
>>
>> On 9 August 2016 at 11:18, Lionel Orellana  wrote:
>>
>>> 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 cluster up
 behind a proxy.

 I need to maintain the registry's address so I can add it to the
 no_proxy variable of the docker deamon. Clayton's procedure works for
 reusing the address . I will try --use-existing-config.

 But I also need to add the registry's internal address (which always
 seems to be initially set to 172.17.0.4) to the no_proxy variable of the
 cluster up command itself. Otherwise the health checks try to go through
 the proxy and fail.

 When I recreate the registry (in order to set a known service ip) the
 pod ip changes and the health checks start to fail again.

 Obviously I am making this harder than it should be. But I just can't
 get the right combination to run a cluster behind a proxy where I can login
 to the registry (docker login). Maybe I should have said that's what I'm
 trying to do from the beginning.

 Cheers


 Lionel.

 On Tue, 9 Aug 2016 at 1:16 AM, Clayton Coleman 
 wrote:

> Generally deep configuration is not the goal of oc cluster up - that's
> more the Ansible installs responsibility.  oc cluster up is about getting 
> a
> running cluster up for test / dev as quickly as possible, but we don't 
> want
> to add fine grained tuning to it.
>
> On Mon, Aug 8, 2016 at 10:49 AM, Cesar Wong  wrote:
>
>> 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 of setting the address when using cluster
>> up though.
>> On Mon, 8 Aug 2016 at 11:03 AM, Clayton Coleman 
>> wrote:
>>
>>> When you create the registry you can specify the service IP that is
>>> assigned (as long as another service hasn't claimed it).
>>>
>>> $ oadm registry -o yaml > registry.yaml
>>> $ vi registry.yaml
>>> # Set the registry service `spec.clusterIP` field to a valid
>>> service IP (must be within the service CIDR, typically 172.30.0.0/16
>>> )
>>> $ oc create -f registry.yaml
>>>
>>>
>>> On Sun, Aug 7, 2016 at 8:55 PM, Lionel Orellana 
>>> wrote:
>>>
 Hi

 I'm facing a similar problem to this: https://github.com/openshift/
 origin/issues/7879

 Basically I need to configure the NO_PROXY variable of the Docker
 deamon to include the registry address. Problem is with cluster up I 
 can't
 control the ip address that will be assigned to the registry. Or at 
 least I
 can't find a way to do it. Is there an 

Re: cluster up - reuse registry address

2016-08-09 Thread Lionel Orellana
Digging through the go libraries used for parsing the command options I
found that setting the no_proxy variable like this works:

-e \"no_proxy=172.17.0.3,172.17.0.4\"

It all comes down to https://golang.org/pkg/encoding/csv

which is used by the pflag package.
On Tue, 9 Aug 2016 at 10:31 PM, Lionel Orellana  wrote:

> Setting the log level to 4 I found the following
>
>   Starting OpenShift using container 'origin'
>
> I0809 22:21:26.415373   20151 run.go:143] Creating container named "origin"
>
> config:
>
>   image: openshift/origin:v1.3.0-alpha.2
>
>   command:
>
> start
>
>
> --master-config=/var/lib/origin/openshift.local.config/master/master-config.yaml
>
> --node-config=/var/lib/origin/openshift.local.config/
> node-poc-docker03.aipo.gov.au/node-config.yaml
>
>   environment:
>
> http_proxy=http://proxy.aipo.gov.au:3128
>
> https_proxy=http://proxy.aipo.gov.au:3128
>
>* no_proxy=172.17.0.3*
>
> *172.17.0.4*
>
> I've tried different ways of setting multiple ip's in no_proxy but they
> always seem to be getting split on the comma.
>
> -e "no_proxy=172.17.0.3,172.17.0.4"
>
> -e no_proxy="172.17.0.3\,172.17.0.4"
>
> -e no_proxy=’172.17.0.3,172.17.0.4’
> -e no_proxy=172.17.0.3,172.17.0.4
>
> This might be causing some of my problems. The fact that I can't set more
> than one ip address in no_proxy.
>
>
>
>
>
>
>
> On 9 August 2016 at 11:18, Lionel Orellana  wrote:
>
>> 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 cluster up
>>> behind a proxy.
>>>
>>> I need to maintain the registry's address so I can add it to the
>>> no_proxy variable of the docker deamon. Clayton's procedure works for
>>> reusing the address . I will try --use-existing-config.
>>>
>>> But I also need to add the registry's internal address (which always
>>> seems to be initially set to 172.17.0.4) to the no_proxy variable of the
>>> cluster up command itself. Otherwise the health checks try to go through
>>> the proxy and fail.
>>>
>>> When I recreate the registry (in order to set a known service ip) the
>>> pod ip changes and the health checks start to fail again.
>>>
>>> Obviously I am making this harder than it should be. But I just can't
>>> get the right combination to run a cluster behind a proxy where I can login
>>> to the registry (docker login). Maybe I should have said that's what I'm
>>> trying to do from the beginning.
>>>
>>> Cheers
>>>
>>>
>>> Lionel.
>>>
>>> On Tue, 9 Aug 2016 at 1:16 AM, Clayton Coleman 
>>> wrote:
>>>
 Generally deep configuration is not the goal of oc cluster up - that's
 more the Ansible installs responsibility.  oc cluster up is about getting a
 running cluster up for test / dev as quickly as possible, but we don't want
 to add fine grained tuning to it.

 On Mon, Aug 8, 2016 at 10:49 AM, Cesar Wong  wrote:

> 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 of setting the address when using cluster
> up though.
> On Mon, 8 Aug 2016 at 11:03 AM, Clayton Coleman 
> wrote:
>
>> When you create the registry you can specify the service IP that is
>> assigned (as long as another service hasn't claimed it).
>>
>> $ oadm registry -o yaml > registry.yaml
>> $ vi registry.yaml
>> # Set the registry service `spec.clusterIP` field to a valid
>> service IP (must be within the service CIDR, typically 172.30.0.0/16)
>> $ oc create -f registry.yaml
>>
>>
>> On Sun, Aug 7, 2016 at 8:55 PM, Lionel Orellana 
>> wrote:
>>
>>> Hi
>>>
>>> I'm facing a similar problem to this:
>>> https://github.com/openshift/origin/issues/7879
>>>
>>> Basically I need to configure the NO_PROXY variable of the Docker
>>> deamon to include the registry address. Problem is with cluster up I 
>>> can't
>>> control the ip address that will be assigned to the registry. Or at 
>>> least I
>>> can't find a way to do it. Is there an option that I'm not seeing?
>>>
>>> Thanks
>>>
>>> Lionel.
>>>
>>> ___
>>> users mailing list
>>> users@lists.openshift.redhat.com
>>> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>>>
>>>
>> ___

Re: cluster up - reuse registry address

2016-08-09 Thread Lionel Orellana
Setting the log level to 4 I found the following

  Starting OpenShift using container 'origin'

I0809 22:21:26.415373   20151 run.go:143] Creating container named "origin"

config:

  image: openshift/origin:v1.3.0-alpha.2

  command:

start

--master-config=/var/lib/origin/openshift.local.config/maste
r/master-config.yaml

--node-config=/var/lib/origin/openshift.local.config/node-po
c-docker03.aipo.gov.au/node-config.yaml

  environment:

http_proxy=http://proxy.aipo.gov.au:3128

https_proxy=http://proxy.aipo.gov.au:3128

   * no_proxy=172.17.0.3*

*172.17.0.4*

I've tried different ways of setting multiple ip's in no_proxy but they
always seem to be getting split on the comma.

-e "no_proxy=172.17.0.3,172.17.0.4"

-e no_proxy="172.17.0.3\,172.17.0.4"

-e no_proxy=’172.17.0.3,172.17.0.4’
-e no_proxy=172.17.0.3,172.17.0.4

This might be causing some of my problems. The fact that I can't set more
than one ip address in no_proxy.







On 9 August 2016 at 11:18, Lionel Orellana  wrote:

> 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 cluster up
>> behind a proxy.
>>
>> I need to maintain the registry's address so I can add it to the no_proxy
>> variable of the docker deamon. Clayton's procedure works for reusing the
>> address . I will try --use-existing-config.
>>
>> But I also need to add the registry's internal address (which always
>> seems to be initially set to 172.17.0.4) to the no_proxy variable of the
>> cluster up command itself. Otherwise the health checks try to go through
>> the proxy and fail.
>>
>> When I recreate the registry (in order to set a known service ip) the pod
>> ip changes and the health checks start to fail again.
>>
>> Obviously I am making this harder than it should be. But I just can't get
>> the right combination to run a cluster behind a proxy where I can login to
>> the registry (docker login). Maybe I should have said that's what I'm
>> trying to do from the beginning.
>>
>> Cheers
>>
>>
>> Lionel.
>>
>> On Tue, 9 Aug 2016 at 1:16 AM, Clayton Coleman 
>> wrote:
>>
>>> Generally deep configuration is not the goal of oc cluster up - that's
>>> more the Ansible installs responsibility.  oc cluster up is about getting a
>>> running cluster up for test / dev as quickly as possible, but we don't want
>>> to add fine grained tuning to it.
>>>
>>> On Mon, Aug 8, 2016 at 10:49 AM, Cesar Wong  wrote:
>>>
 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 of setting the address when using cluster
 up though.
 On Mon, 8 Aug 2016 at 11:03 AM, Clayton Coleman 
 wrote:

> When you create the registry you can specify the service IP that is
> assigned (as long as another service hasn't claimed it).
>
> $ oadm registry -o yaml > registry.yaml
> $ vi registry.yaml
> # Set the registry service `spec.clusterIP` field to a valid
> service IP (must be within the service CIDR, typically 172.30.0.0/16)
> $ oc create -f registry.yaml
>
>
> On Sun, Aug 7, 2016 at 8:55 PM, Lionel Orellana 
> wrote:
>
>> Hi
>>
>> I'm facing a similar problem to this: https://github.com/openshift/
>> origin/issues/7879
>>
>> Basically I need to configure the NO_PROXY variable of the Docker
>> deamon to include the registry address. Problem is with cluster up I 
>> can't
>> control the ip address that will be assigned to the registry. Or at 
>> least I
>> can't find a way to do it. Is there an option that I'm not seeing?
>>
>> Thanks
>>
>> Lionel.
>>
>> ___
>> users mailing list
>> users@lists.openshift.redhat.com
>> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>>
>>
> ___
 users mailing list
 users@lists.openshift.redhat.com
 http://lists.openshift.redhat.com/openshiftmm/listinfo/users



>>>
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


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 cluster up
> behind a proxy.
>
> I need to maintain the registry's address so I can add it to the no_proxy
> variable of the docker deamon. Clayton's procedure works for reusing the
> address . I will try --use-existing-config.
>
> But I also need to add the registry's internal address (which always seems
> to be initially set to 172.17.0.4) to the no_proxy variable of the cluster
> up command itself. Otherwise the health checks try to go through the proxy
> and fail.
>
> When I recreate the registry (in order to set a known service ip) the pod
> ip changes and the health checks start to fail again.
>
> Obviously I am making this harder than it should be. But I just can't get
> the right combination to run a cluster behind a proxy where I can login to
> the registry (docker login). Maybe I should have said that's what I'm
> trying to do from the beginning.
>
> Cheers
>
>
> Lionel.
>
> On Tue, 9 Aug 2016 at 1:16 AM, Clayton Coleman 
> wrote:
>
>> Generally deep configuration is not the goal of oc cluster up - that's
>> more the Ansible installs responsibility.  oc cluster up is about getting a
>> running cluster up for test / dev as quickly as possible, but we don't want
>> to add fine grained tuning to it.
>>
>> On Mon, Aug 8, 2016 at 10:49 AM, Cesar Wong  wrote:
>>
>>> 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 of setting the address when using cluster up
>>> though.
>>> On Mon, 8 Aug 2016 at 11:03 AM, Clayton Coleman 
>>> wrote:
>>>
 When you create the registry you can specify the service IP that is
 assigned (as long as another service hasn't claimed it).

 $ oadm registry -o yaml > registry.yaml
 $ vi registry.yaml
 # Set the registry service `spec.clusterIP` field to a valid
 service IP (must be within the service CIDR, typically 172.30.0.0/16)
 $ oc create -f registry.yaml


 On Sun, Aug 7, 2016 at 8:55 PM, Lionel Orellana 
 wrote:

> Hi
>
> I'm facing a similar problem to this:
> https://github.com/openshift/origin/issues/7879
>
> Basically I need to configure the NO_PROXY variable of the Docker
> deamon to include the registry address. Problem is with cluster up I can't
> control the ip address that will be assigned to the registry. Or at least 
> I
> can't find a way to do it. Is there an option that I'm not seeing?
>
> Thanks
>
> Lionel.
>
> ___
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>
 ___
>>> users mailing list
>>> users@lists.openshift.redhat.com
>>> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>>>
>>>
>>>
>>
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


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 of setting the address when using cluster up 
> though.
> On Mon, 8 Aug 2016 at 11:03 AM, Clayton Coleman  > wrote:
> When you create the registry you can specify the service IP that is assigned 
> (as long as another service hasn't claimed it).
> 
> $ oadm registry -o yaml > registry.yaml
> $ vi registry.yaml
> # Set the registry service `spec.clusterIP` field to a valid service IP 
> (must be within the service CIDR, typically 172.30.0.0/16 
> )
> $ oc create -f registry.yaml
> 
> 
> On Sun, Aug 7, 2016 at 8:55 PM, Lionel Orellana  > wrote:
> Hi
> 
> I'm facing a similar problem to this: 
> https://github.com/openshift/origin/issues/7879 
> 
> 
> Basically I need to configure the  NO_PROXY variable of the Docker deamon to 
> include the registry address. Problem is with cluster up I can't control the 
> ip address that will be assigned to the registry. Or at least I can't find a 
> way to do it. Is there an option that I'm not seeing?
> 
> Thanks
> 
> Lionel.
> 
> ___
> users mailing list
> users@lists.openshift.redhat.com 
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users 
> 
> 
> 
> ___
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users

___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users