Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
K8s on Pg
1 point by alexnewman on May 12, 2022 | hide | past | favorite | 2 comments
Why can't k8s use a database like postgres as opposed to etcd. It seems pg has all the availability options covered nowadays.


https://github.com/k3s-io/kine#readme but it's "caveat emptor" since to the best of my knowledge no one runs conformance tests on top of it


I could spent >0s looking into this, but I've been curious how kline implements Etcd's Watch API[1]. For the matter, I don't have much idea in general how kline handles data. Kline would be a great candidate for a blog post or introductory technical article on.

I do quickly see one issue- evidently watches presently use polling. The issue requests use of postgres triggers[2].

[1] https://etcd.io/docs/v3.2/learning/api/#watch-api

[2] https://github.com/k3s-io/kine/issues/20




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: