Wednesday, July 15, 2020

Code update

I had blogged on using the Istio client from Aspenmesh previously.

https://jmenke.blogspot.com/2019/08/development-environment-for-operators.html

It appears there is a stable istio client in the istio project itself now.

https://github.com/istio/client-go

Looking at the code, it was actually ported from the Aspenmesh project.

https://github.com/kubernetes/client-go

It may be time to update the example I have for creating clients.   Also probably should expand research into finding client packages for existing database operators.

I have asked about an official client-go package for MemSQL on the forum.  It might not be that hard to create one though:

https://gist.github.com/robrich/c05cc266ad8bf972608698f78269bc7d

https://docs.memsql.com/v7.1/guides/deploy-memsql/self-managed/kubernetes/step-3/

https://www.velotio.com/engineering-blog/extending-kubernetes-apis-with-custom-resource-definitions-crds

It appears cassandra has a clientset

https://github.com/datastax/cass-operator/blob/master/operator/pkg/generated/clientset/versioned/clientset.go

No comments: