Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Offline-mode documentation #206
Comments
|
Thanks for the ideas. I agree with this issue. I have been using http_proxy and https_proxy settings in a restrictive environments. I also wanted to add some documenation about no_proxy key that Juju accepts. You would noproxy stuff like localhost, 10.0.3.1, and the state servers own ip address, but proxy the rest of the traffic. The GNU documentation for the proxy values can be found here: Thank you for the issue! |
evilnick
added
the
enhancement
label
Oct 30, 2014
evilnick
referenced this issue
Oct 30, 2014
Closed
Global environment.yaml config options need their own page #207
|
I was under the impression that no-proxy should not have IPs, only domains.... As in 'a list of domains that proxy should not be used for' from http://www.gnu.org/software/wget/manual/html_node/Proxies.html |
|
This issue is super old, but still relevant. In fact, we've seen lots more people in Juju works in restricted network environments and honors various
As an example, consider an environment where all network traffic must go through an ## no proxy for localhost, our eth0 ip address, and our lxd subnet
$ export no_proxy=`echo localhost 10.245.67.130 10.44.139.{1..255} | sed 's/ /,/g'`
$ export http_proxy=http://squid.internal:3128
$ export https_proxy=http://squid.internal:3128And now, bootstrap juju with appropriate proxy configuration: $ juju bootstrap \
--config http-proxy=$http_proxy \
--config https-proxy=$https_proxy \
--config no-proxy=$no_proxy \
--model-default http-proxy=$http_proxy \
--model-default https-proxy=$https_proxy \
--model-default no-proxy=$no_proxy \
localhostI would make a formal PR for the above, but I'm not sure where it would fit best. Perhaps as a section in the |
|
I think we need a new page that deals specifically with the issues arising from operating in a constrained environment, and then link to it from other relevant sections of the documentation (e.g. the charm deploying page, controllers page etc). Thanks @kwmonroe for this work. I will add a work item for us to add such a page and update this issue when we have done so. |
niedbalski commentedOct 30, 2014
Hello,
The only publicly available reference I can locate for doing off-line Juju deployments is https://juju.ubuntu.com/docs/howto-offline-charms.html.
However, there are a few other things we also should be covering on this document: