Re: conjure-up Canonical Kubernetes in LXD

2016-11-21 Thread Adam Stokes
On Fri, Nov 18, 2016 at 3:49 AM Mark Shuttleworth  wrote:


Developers will love this, the ability to spin up k8s in multi-node mode
on a laptop is fantastic!

I wonder if it's worth providing a page of instructions for the sysctl
changes built-in to conjure-up?

Currently within the  UI the user is able to press 'r' and display the
spells readme which would have that information in there.


We should aim to have the thing we socialize be one command ("conjure-up
canonical-kubernetes") and not a URL to a page with instructions.
Ideally, conjure-up would be able to detect the status of the machine,
tell the user how to adjust, and block until these changes have been
actioned (or do them for the user with approval).

We've talked about this before and I've created an issue to track
https://github.com/conjure-up/conjure-up/issues/507 . Ultimately, we don't
want to have to make any modifications to the user's host system to get big
software deployed within localhost cloud type.

Either one of these suggestions is doable and I'll keep the bug updated
with what we come up with.
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: conjure-up Canonical Kubernetes in LXD

2016-11-18 Thread Merlijn Sebrechts
Wait, wouldn't this require juju to have an "mesos" provider, so juju can
request lxc containers from mesos? I've heard something like this mentioned
at the Summit, will this become a reality? [that would be awesome!]

We want support for Docker containers because:
 - A lot devs we work with create their prototypes in docker
 - There are a bunch of useful docker containers with stuff that isn't
charmed yet

We want Kubernetes because:
 - Auto scaling
 - Auto failure recovery
 - It has a future beyond Docker
 - The Charms are officially supported by Canonical (hence Kubernetes >
Mesos)


2016-11-18 10:41 GMT+01:00 Tom Barber :

> What you want Merlijn is LXC on Apache Mesos so you can provision a Mesos
> cluster on MAAS and then provision Juju Charms into LXC on the infinitely
> scalable cluster! Docker is cool but until it releases the proper
> orchestration stuff, it comes a poor second to deploying workloads with
> Juju ;)
>
> That's not a slight at the great work Adam, Chuck and co are doing, but
> feedback I got from people at the Pentaho User meetup last weekend and
> ApacheCon this week who all get 'stuck' with Docker once the convenience
> factor has gone away. Anyway, I digress Amazing getting proper Docker
> running on LXD as well.
>
> Tom
>
> On Fri, Nov 18, 2016 at 9:35 AM, Mark Shuttleworth 
> wrote:
>
>> On 18/11/16 09:29, Merlijn Sebrechts wrote:
>> > Awesome! Does this mean that running a Kubernetes cluster in LXD
>> > containers on physical MAAS machines will also work?
>>
>> Hehe, good question :)
>>
>> You would need to do some very careful network jiggling to line things
>> up across a cluster, but it would be possible. And we'll make it
>> out-of-the-box easy over the next six months.
>>
>> Mark
>>
>> --
>> Juju mailing list
>> Juju@lists.ubuntu.com
>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
>> an/listinfo/juju
>>
>
>
>
> --
> Tom Barber
> CTO Spicule LTD
> t...@spicule.co.uk
>
> http://spicule.co.uk
>
> GB: +44(0)5603641316
> US: +18448141689
>
>
>
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: conjure-up Canonical Kubernetes in LXD

2016-11-18 Thread Tom Barber
What you want Merlijn is LXC on Apache Mesos so you can provision a Mesos
cluster on MAAS and then provision Juju Charms into LXC on the infinitely
scalable cluster! Docker is cool but until it releases the proper
orchestration stuff, it comes a poor second to deploying workloads with
Juju ;)

That's not a slight at the great work Adam, Chuck and co are doing, but
feedback I got from people at the Pentaho User meetup last weekend and
ApacheCon this week who all get 'stuck' with Docker once the convenience
factor has gone away. Anyway, I digress Amazing getting proper Docker
running on LXD as well.

Tom

On Fri, Nov 18, 2016 at 9:35 AM, Mark Shuttleworth  wrote:

> On 18/11/16 09:29, Merlijn Sebrechts wrote:
> > Awesome! Does this mean that running a Kubernetes cluster in LXD
> > containers on physical MAAS machines will also work?
>
> Hehe, good question :)
>
> You would need to do some very careful network jiggling to line things
> up across a cluster, but it would be possible. And we'll make it
> out-of-the-box easy over the next six months.
>
> Mark
>
> --
> Juju mailing list
> Juju@lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/juju
>



-- 
Tom Barber
CTO Spicule LTD
t...@spicule.co.uk

http://spicule.co.uk

GB: +44(0)5603641316
US: +18448141689
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: conjure-up Canonical Kubernetes in LXD

2016-11-18 Thread Mark Shuttleworth
On 18/11/16 09:29, Merlijn Sebrechts wrote:
> Awesome! Does this mean that running a Kubernetes cluster in LXD
> containers on physical MAAS machines will also work?

Hehe, good question :)

You would need to do some very careful network jiggling to line things
up across a cluster, but it would be possible. And we'll make it
out-of-the-box easy over the next six months.

Mark

-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: conjure-up Canonical Kubernetes in LXD

2016-11-18 Thread Merlijn Sebrechts
Awesome! Does this mean that running a Kubernetes cluster in LXD containers
on physical MAAS machines will also work?

2016-11-18 0:51 GMT+01:00 Adam Stokes :

> Just pulled in changes to support deploying The Canonical Distribution of
> Kubernetes on the localhost cloud type.
>
> I've blogged about it here:
>
> http://blog.astokes.org/conjure-up-canonical-kubernetes-under-lxd-today/
>
> Please give it a shot deploy some workloads on it and let us know how it
> goes.
>
> --
> Juju mailing list
> Juju@lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/juju
>
>
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: conjure-up Canonical Kubernetes in LXD

2016-11-18 Thread Mark Shuttleworth

Developers will love this, the ability to spin up k8s in multi-node mode
on a laptop is fantastic!

I wonder if it's worth providing a page of instructions for the sysctl
changes built-in to conjure-up?

We should aim to have the thing we socialize be one command ("conjure-up
canonical-kubernetes") and not a URL to a page with instructions.
Ideally, conjure-up would be able to detect the status of the machine,
tell the user how to adjust, and block until these changes have been
actioned (or do them for the user with approval).

Thoughts?
Mark


-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: conjure-up Canonical Kubernetes in LXD

2016-11-17 Thread Antonio Rosales
On Thu, Nov 17, 2016 at 5:02 PM, Charles Butler
 wrote:
> This deserves a ton of fanfare. Let's celebrate this win by circulating this
> like crazy.
>
> I've already retweeted this evening and plan on following up again tomorrow
> during normal business hours.  Great work Stokes on completing this
> herculean task. The ~containers team, appreciates the effort that went into
> this, and the collaboration across our teams.

Indeed, OpenStack, Kubernetes, or Hadoop-Spark Cluster . . . on your
laptop. . . in machine containers . . . multi-node . . . same as in
the cloud. . . Developers Rejoice!

-Antonio


>
> Go team!
>
>
>
> Charles Butler  - Juju Charmer
> Come see the future of modeling your datacenter: http://jujucharms.com
>
> On Thu, Nov 17, 2016 at 5:51 PM, Adam Stokes 
> wrote:
>>
>> Just pulled in changes to support deploying The Canonical Distribution of
>> Kubernetes on the localhost cloud type.
>>
>> I've blogged about it here:
>>
>> http://blog.astokes.org/conjure-up-canonical-kubernetes-under-lxd-today/
>>
>> Please give it a shot deploy some workloads on it and let us know how it
>> goes.
>
>
>
> --
> Juju mailing list
> Juju@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>



-- 
Antonio Rosales
Ecosystem Engineering
Canonical

-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: conjure-up Canonical Kubernetes in LXD

2016-11-17 Thread Charles Butler
This deserves a ton of fanfare. Let's celebrate this win by circulating
this like crazy.

I've already retweeted this evening and plan on following up again tomorrow
during normal business hours.  Great work Stokes on completing this
herculean task. The ~containers team, appreciates the effort that went into
this, and the collaboration across our teams.

Go team!



Charles Butler  - Juju Charmer
Come see the future of modeling your datacenter: http://jujucharms.com

On Thu, Nov 17, 2016 at 5:51 PM, Adam Stokes 
wrote:

> Just pulled in changes to support deploying The Canonical Distribution of
> Kubernetes on the localhost cloud type.
>
> I've blogged about it here:
>
> http://blog.astokes.org/conjure-up-canonical-kubernetes-under-lxd-today/
>
> Please give it a shot deploy some workloads on it and let us know how it
> goes.
>
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


conjure-up Canonical Kubernetes in LXD

2016-11-17 Thread Adam Stokes
Just pulled in changes to support deploying The Canonical Distribution of
Kubernetes on the localhost cloud type.

I've blogged about it here:

http://blog.astokes.org/conjure-up-canonical-kubernetes-under-lxd-today/

Please give it a shot deploy some workloads on it and let us know how it
goes.
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju