New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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! |
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:3128 And 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 \
localhost I 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. |
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:
The text was updated successfully, but these errors were encountered: