multi model/cloud deploy (how to deploy kubernates-workers in multitenant openstack)
john at arbash-meinel.com
Fri Jun 16 11:26:36 UTC 2017
If you have started the machine yourself, you should be able to "juju
add-machine ssh:IP_ADDRESS" and then use that as a "juju deploy --to X"
However, you will still need to tear down the machine when you're done. We
don't yet support multi-provider models. Likely we won't, but we will
support cross-model relations, which would let you have some of your
workloads on different providers. Though if you wanted it to be logically 1
application, with units in different providers, that wouldn't quite work
the way you wanted.
On Fri, Jun 16, 2017 at 1:05 PM, Patrizio Bassi <patrizio.bassi at gmail.com>
> Hi All,
> I have a need somehow similar (at least in the background) to what
> reported in the thread "How to Move a machine and its application from a
> Model to Another "(https://lists.ubuntu.com/arc
> hives/juju/2017-June/009111.html ).
> I deployed an openstack environment using juju bundles, this cloud hosts
> several applications and tenants.
> Coming to the Kubernates deploy, openstack is a "nested" provider for
> juju, the cloud is created and bootstrapped setting the openstack
> tenant/project (juju "tenant-name") we called "shared tenant". A minimal
> Kubernates setup is installed in this "shared" tenant. So far so good!
> We would like to deploy some kubernates-workers in other tenants, so each
> project can benefit the "shared" installation, monitoring, admin console,
> but run their own workload in their tenant space, so charge-back and quotas
> apply for instance.
> juju add-unit kubernates-worker can only allow in the same model, so the
> same cloud.
> Can we just force with --to statement? while for MaaS managed machine it's
> enough to have a known "ready" machine, it's not clear to me if in
> openstack i can do the same.
> 1) create a xenial ubuntu instance with network connectivity to
> juju-controller in "shared tenant"
> 2) tell juju to deploy the kubernates-worker units in that instance
> For instance, in case of unit-destroy, i would expect juju not to have the
> rights because the "tenant-name" is different.
> I saw the add-unit has a -m switch. Can, as far as the user is allowed to
> deploy, the -m switch be used to do a sort of "federation" between
> If not, any plan to implement something like that?
> Of course now i'm refering to the same cloud provider, but maybe in future
> this can led to hybrid multi-cloud installation.
> Thank you
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Juju