Create a standalone k8s binary, capable of running a full cluster

I think that's ok.  Nothing crashes if etcd isn't fully there, and if there
is a /version there, it will get there eventually...

I can switch to hitting the root key, if we really want to, but unlike the
integration tests, I don't immediately start hammering the server and
expecting correct responses.

--brendan

On Sun, Nov 2, 2014 at 10:11 AM, Joe Beda <notifications@github.com> wrote:

> In pkg/tools/etcd_tools.go:
>
> > @@ -358,3 +364,42 @@ func (h *EtcdHelper) AtomicUpdate(key string, ptrToType runtime.Object, tryUpdat
> >  		return err
> >  	}
> >  }
> > +
> > +func checkEtcd(host string) error {
> > +	response, err := http.Get(host + "/version")
>
> Yeah - /version returns 200s before things are up and really running.
> See: #963 (comment)
> <https://github.com/GoogleCloudPlatform/kubernetes/pull/963#issuecomment-52795798>
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/GoogleCloudPlatform/kubernetes/pull/2121/files#r19713556>
> .
>