Re:Writing a Kubernetes CRD Controller in Rust
by bogomipz on Saturday January 09, 2021 @09:17PM
(#25708014)
>"You can actually nominate particular types be stored in particular etcd servers -- GKE does this to put Events into a separate etcd from everything else."
Interesting. Is this documented anywhere?
Re:Writing a Kubernetes CRD Controller in Rust
by jacques_chester on Sunday January 10, 2021 @12:08AM
(#25710478)
The --etcd-servers-overrides flag can do it. I could swear I'd seen a proper writeup in the Kubernetes docs, but couldn't find it again.
What I said was slightly wrong. It's not that you nominate Kinds, it's that you nominate which etcd servers get which etcd key paths. You can essentially work it out because the path structure is consistent.
You can actually nominate particular types be stored in particular etcd servers -- GKE does this to put Events into a separate etcd from everything else.
However, it still has problems. Firstly, you can only define it for inbuilt types. Secondly, it's common for different objects to cross reference each other through objectRefs and the like, which behave badly when you effectively perform a join in the API server over multiple etcds.