4 ms·
I once set up an Elasticsearch cluster in Kubernetes. My conclusion was that it was totally redundant because in the end I made a few super-nodes that each run
by naringas 7y ago
I once set up an Elasticsearch cluster in Kubernetes.
My conclusion was that it was totally redundant because in the end I made a few super-nodes that each run one super-pod (which is basically just one node from the elasticsearch cluster)
I was confusing to think about the nodes of the cluster. is it a kubernetes-node? or an elasticsearch-node?
after I was done, I felt terrible, but it was already working so I had to shrug it off.
It is also kind of funny to think that this is all running in virtual machine which provides one kubernetes-node with runs a docker container which runs one elasticsearch-node using the Java Virtual Machine.
- orf 7y agoKubernetes isn’t fantastic for running heavily stateful applications like a database. You won’t have much fun if you try. It’s for stateless services that can be killed, scars down and scaled up at will with minimal disruption.