onyx

FYI: alternative Onyx :onyx: chat is at <https://gitter.im/onyx-platform/onyx> ; log can be found at <https://clojurians-log.clojureverse.org/onyx/index.html>
wildermuthn 2018-04-18T15:31:55.000908Z

Hey Onyx team. I haven’t used Clojure or Onyx in about 6 months, but it’s exciting to see all the continued progress. I have a small question, which is that at my new workplace, we’re heavily invested into Kubernetes. It seems to me that K8 would conflict with the way Onyx already manages its own cluster with Zookeeper. But I’m curious if this has been looked at.

Travis 2018-04-18T15:34:19.000813Z

Onyx can run just fine on K8

Travis 2018-04-18T15:36:07.000098Z

We have run it for a bit on there. We run both Kafka and zk in K8. Onyx is just a set of pods

Travis 2018-04-18T15:36:12.000472Z

Essentially

lucasbradstreet 2018-04-18T15:36:44.000363Z

Right. We don’t do anything magical with ZooKeeper outside of the testing only server that can be startup in the env, so all you need to do is startup ZooKeeper containers in k8s and point Onyx at them. :)

wildermuthn 2018-04-18T15:37:17.000779Z

I figured there would be problems with Zookeeper/Onyx and K8 fighting to manage bringing nodes (pods) up and down. But awesome. I’ll dig in more then.

2018-04-18T16:05:05.000852Z

no zookeeper + k8s is not a problem. onyx would probably look a bit differently if it was designed from the ground up for k8s, but i’ve been running it without problems for quite some time

2018-04-18T16:05:51.000116Z

there’s even a ZK chart already

lucasbradstreet 2018-04-18T16:08:34.000531Z

Most of the problems we’ve hit with k8s and kafka/zookeeper were due to how well they run as StatefulSets, and were related to DNS resolution issues that are slowly being fixed in upstream ZooKeeper and Kafka.

2018-04-18T16:09:37.000064Z

i think it’s mostly Kafka being problematic with broker / node discovery, right ?

2018-04-18T16:10:32.000140Z

ah interesting

lucasbradstreet 2018-04-18T16:10:36.000648Z

Kafka was fine in that respect. Actually I think it was mostly related to these issues so we needed to patch in a ZooKeeper client with a fix into Kafka.

2018-04-18T16:11:15.000752Z

so that would also be related to the Curator discussion we had last week ?

lucasbradstreet 2018-04-18T16:11:40.000215Z

That one was more for SSL for us. But yes, I think we need to upgrade it for that reason too.

2018-04-18T16:12:07.000611Z

ok, good to know