New to kubernetes and go here.
I’m writing a controller that will monitor a specific subset of pods for state changes and publish these changes to various external data sources; cassandra, coredns, redis, etc…
I’m curious what approaches are best for caching this data within kubernetes environment. I assume etcd would be ideal for this but are there mechanisms in client-go (or the kubeapi directly via rest) to do this or will my controller need all the plumbing to interface with etcd directly? Or is there a better option all together.
The cache can be ephemeral and only matters if the cluster is up and hasn’t gone down.
Thx for any help.