Improve update demo, support rolling template update

This improves the update demo pretty dramatically.

* Makes the demo more visual, fixes some HTML layout
* Make naming of objects in `kubecfg run <image> <replicas> <controller>` more obvious
* Run update demo without pushing/creating new containers in docker hub (slow)
* Improve e2e tests to actually do the rolling update
I have a more general problem with kubecfg and the accretion of
special-purpose flags.  But that is a different issue.


On Tue, Sep 2, 2014 at 3:20 PM, Joe Beda <notifications@github.com> wrote:

> In pkg/kubecfg/kubecfg.go:
>
> > @@ -168,7 +178,7 @@ func RunController(image, name string, replicas int, client client.Interface, po
> >  		DesiredState: api.ReplicationControllerState{
> >  			Replicas: replicas,
> >  			ReplicaSelector: map[string]string{
> > -				"name": name,
> > +				"name": name + "-pod",
>
> The labels here are used in the test but it was confusing to have name=foo
> on the replicationController, pod and container. I just added a suffix to
> make it more descriptive when dumping the API output.
>
> --
> Reply to this email directly or view it on GitHub
> <https://github.com/GoogleCloudPlatform/kubernetes/pull/1142/files#r17020216>
> .
>