[Juju] Proxy Charm examples
Stuart Bishop
stuart.bishop at canonical.com
Fri Aug 21 06:43:37 UTC 2015
On 21 August 2015 at 01:45, Cory Johns <cory.johns at canonical.com> wrote:
> Even as a proxy charm, this could be improved (it could use actions to
> enable per-service configuration, for example), but it should give you the
> basic idea.
>
>
The main limitation is that this approach only supports proxying a single
unit service, or a service where each unit presents identical data. If you
need a proxy like this, you may need to take these limitations into account
when designing the relation interface (eg. present hostnames (plural - a
list of all hosts) the same on each unit, rather than a individual hostname
on each unit).
Can the proxy be a subordinate to save spinning up the container?
--
Stuart Bishop <stuart.bishop at canonical.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20150821/16d5e499/attachment.html>
More information about the Juju
mailing list