Introducing zetcd
coreos.com
coreos.com
The neat thing about the etcd Operator is you can define a cluster and the etcd Operator takes care of normal operations by using the Kubernetes API.
apiVersion: "etcd.coreos.com/v1beta1"
kind: "Cluster"
metadata:
name: "example-etcd-cluster"
spec:
size: 5
version: "3.1.8"
Pretty neat!Anyways, the zetcd project is still super young but would love more folks to try it out. As the post says folks have already tried using Kafka, Mesos, and others.
[1] https://coreos.com/blog/introducing-the-etcd-operator.html
Joking, of course.
I recall GitHub having an issue like that where their build pipeline used Bower which is hosted on GitHub. When shit hit the fan and a build broke the site, they could build the "fix" as Bower didn't work.
Off the top of my head:
- Quay.io, our registry service, is built and deployed by itself
- Clair, our static analysis tool for detecting security vulnerabilities, analyzes itself
- Tectonic, our enterprise Kubernetes distro, is "self-driving" and manages itself
- discovery.etcd.io, a service we run to make it easier to bootstrap new etcd quorums, is just a quorum of etcd nodes
If for some reason the cluster goes down, bootstrapping it might be a bit difficult.
I'd also never pick kubernetes for my "from scratch" cluster due to already being reliant on the JVM stack. I actually like the idea of giving an IT department that already understands zookeeper a mesos cluster with DC/OS.
That being said - k8s has a ton of momentum but it seems to be mainly with startups or maybe niche teams (prove me wrong here?) outside of google. It would be great to understand what you guys are looking at for things like this. Right now it feels like k8s and a lot of the other startups in this space like pachyderm are trying to compete with the hadoop ecosystem (which is great! competition forces innovation which is good for the ecosystem as a whole)
The reason you don't bump into k8s while selling to Hadoop users is that Hadoop isn't something you'd run on a container-based stack (at least not right now and IMO it wont be). There are lots of Hadoop users who run containers for their application infra (as opposed to data infra). Pachyderm's whole pitch is that containerized data infra can be really powerful and that enterprises will want to unify their stack to all be containerized and k8s is THE answer for the orchestration layer.
P.S. Despite all my opinions above, I actually agree with your initial question around who zetcd is actually targeting. I don't have a clear picture of that.
Doesn't Pachyderm predate K8s though? Is this a recent development? Have they shifted focus then?
I will try to reply in the morning in depth on the other points.
What I'm trying to gauge here is k8s as an actual "company wide platform". I would love for it to be something I can depend on to be at an enterprise in a few years. It's great technology but still feels like it needs to be beaten up a bit yet.
You'd be surprised how many services you interact with on a daily basis are running on k8s (whole or in part).
It's still early, and many of the adopters today in large companies just happened to be making modernization efforts of their app-dev / app-deploy pipelines and moved to k8s or OpenShift. That said, it's certainly not ubiquitous yet.
What is your use case?
>What is your use case?
Contract work, so use case varies. I agree that etcd is often the right answer.
I do think this sort of cross-cluster key replication is useful and we offer it as a userspace external tool called make-mirror[1].
[1] https://github.com/coreos/etcd/blob/master/etcdctl/README.md...
Here is a doc [https://github.com/coreos/etcd/blob/master/Documentation/lea...] comparing etcd with other systems, including CockroachDB.
I work on etcd.
This seems to be the major design compatibility item between the two is that the zookeeper protocol has a session state and so supports ephemeral nodes. If a gc pauses the jvm for a long time the client session will expire. In etcd there is ttl instead (zookeeper always lacked ttl as it wasn't needed)
Disclaimer: The person who wrote this is AFK at the moment so I might be completely wrong ;)
ZooKeeper 3.5.3 supports TTLs