3 ms·
The example of kubernetrs should have an storage interface, instead of directly on etcd is great. I once suggested to GKE's relevant team that they should refa
by bigcat12345678 4y ago
The example of kubernetrs should have an storage interface, instead of directly on etcd is great.
I once suggested to GKE's relevant team that they should refactor K8s to have a genetic storage API that wraps etcd. They instead decided to build a etcd mock.
I guess at this point, etcd is pretty much a subproject of k8s, instead of general purpose kv system. So that would be OK.
- hardwaresofton 4y agok8s is actually a story of the triumph of interfaces. CoreOS may have stumbled on to it first, but k8s's real power is in the Operator (CRD + Controller) paradigm. Operators are essentially interfaces-as-YAML + implementations-as-connected-services. So much of the successful simplification of k8s today is due to being able to move complexity out of tree and delegate functionality to external pieces. The sort of interface-interface that CRDs represent is doing a lot of heavy lifting in being able to simplify k8s.
- p_l 4y agoK3s ultimately added pluggable (somewhat) k/v layer