Greetings Vladimir, As an author of the Canonical Distribution of Kubernetes charms I'm curious which connection attempts were blocking you. We've taken great care with respect to ensuring the charms will work in an offline environment. Our last hold-out issue was with the docker images. Docker just simply doesn't respect the system level proxy variables and necessitated an additional level of configuration on the charms to pass this through.
Could you perhaps retry the deployment in your limited egress env and pass the proxy values to the kubernetes-worker charm? juju config kubernetes-worker http_proxy=http://my.proxy:7777 https_proxy= http://my.proxy:7777 no_proxy=10.0.0.1 as a basic example of what you would issue to the charm to configure the container runtime engine proxy variables. Sub the proxy config values as appropriate. I'm open to better methods to do this, which I think we can get committed in short order, such as reading from the system level variables and then re-render the systemd template with those exported. (thanks for the idea!) However, until such a time that we have that reworked, I'm highly interested in if there were other blocking factors in your setup. Thanks and all the best, On Mon, Feb 20, 2017 at 4:26 AM Vladimir Burlakov <[email protected]> wrote: > Hi Mark, > Some thoughts/tests on how charms works after/in deployment state in proxy > environment, f.e in deploying Kubernetes charm we stuck, cause application > trying to connect to public http/s servers without proxy, and it not reads > system settings for proxy .. so maybe there (in juju) should be an option > to redirect all (or well known, such as http/https/ftp) connection to > outside through juju controller using it as gateway or through proxy > itself?! > Or am I mistaken and this option is already there? :) > > Thanks, > Vladimir > > > > 10 февр. 2017 г., в 9:07, Mark Shuttleworth <[email protected]> > написал(а): > > > > On 09/02/17 12:27, Vladimir Burlakov wrote: > >> Hi Guys, > >> Thank you a lot, it’s worked, you really helped me. :) as said my > >> friend: "community - is the power !" > > > > :) > > > > Welcome aboard, Vladimir! > > > > One question - are we good about passing this proxy information on to > > the various machines that get spun up? Ubuntu, CentOS, Windows etc all > > have ways to use proxy info, and I'm interested in whether we rigorously > > pass this to them via cloud-init. > > > > Mark > > > -- > Juju mailing list > [email protected] > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/juju > -- Juju Charmer Canonical Group Ltd. Ubuntu - Linux for human beings | www.ubuntu.com Juju - The fastest way to model your application | www.jujucharms.com
-- Juju mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
