Commit Graph

260 Commits

Author SHA1 Message Date
Justin Santa Barbara 59ee0b05a0 Initial protokube README 2016-07-02 14:47:12 -04:00
Justin Santa Barbara d427858477 Rename to kops
The upup tool is now called kops, and we have moved repos
2016-06-30 09:25:25 -04:00
Justin Santa Barbara 8e52111c0f protokube: apply gofmt 2016-06-27 23:52:59 -04:00
Justin Santa Barbara 81c95c48a3 protokube: avoid doing redundant DNS updates 2016-06-27 23:52:23 -04:00
Justin Santa Barbara eeed4a3031 Rationalize API to something we want to support forever 2016-06-26 23:09:02 -04:00
Justin Santa Barbara 77f5ce0cb0 protokube: put etcd data location in same place as before
Enables upgrade from kube-up
2016-06-15 13:55:06 -04:00
Justin Santa Barbara 7e820f89fa upup: increase etcd initialDelaySeconds
Otherwise a transient problem can put etcd into a restart loop, where
k8s backs off and a quorum of nodes won't exist simultaneously.
2016-06-11 23:08:40 -04:00
Justin Santa Barbara c228d2a51e protokube: DNS and direct etcd support
Adds changes to support clustered etcd:

* Configure node names in DNS
* Parse annotations on the volume to infer the etcd configuration

Using annotations on the volumes to control what manifests launch feels
pretty powerful.  Though we could also just write the manifest to a
central location (e.g. S3) and then sync them into the kubelet
directory.

This also means we no longer have to directly spawn kubelet - we can now
just write the manifests.
2016-06-07 15:18:53 -04:00
Justin Santa Barbara d5141af03f protokube: only try to mount the master disk on the master 2016-06-04 16:10:52 -04:00
Justin Santa Barbara b11ad36f94 Protokube: prototyping the 'missing' kubelet pieces
Working towards self-hosting of k8s, we will likely have to add some
features to kubelet, such as independent mounting of disks or copying of
resources from S3.  protokube lets us develop those features prior to
moving them into kubelet.

In particular, today we need to mount an EBS volume on the master prior
to starting kubelet, if we want to run the master in an ASG.

protokube is a service that runs on boot, and it tries to mount the
master volume.  Once it mounts the master volume, it runs kubelet.
Currently it runs kubelet by looking at a directory
/etc/kubernetes/bootstrap; the intention is that we could actually have
multiple versions of kubelet in here (or other services) and then we
could automatically roll-back from a failed update.
2016-05-30 18:05:24 -04:00