Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Take a look at the client-go, start off with simple things like listing out all the svcs or deployments. It will give you a hang of things.
the sample controller using client-go to learn about informers: https://github.com/kubernetes/sample-controller
controller-runtime, uses client-go but adds an additional layer of abstraction to make life easier for you: https://github.com/kubernetes-sigs/controller-runtime
kubebuilder, generates a whole operator project for you, but code-wise, it uses controller-runtime: https://book.kubebuilder.io/
Here's something I built a few months back. Could help you understand how to use Kubernetes Go client.