Watching Kubernetes custom resources with dynamic informers & golang



Watching Kubernetes custom resources with dynamic informers & golang

Watching Kubernetes custom resources with dynamic informers & golang

Written your first golang operator? Monitoring your resources with GETS/Lists and reconciles? Check out this video on how to use the event stream to optimise the way you receive updates in cluster.
Complete with walk-through implementation and advice!
Let me know what you think.

Links: https://github.com/cloud-native-skunkworks/dynamic-informer

Timecodes:
0:00 Introduction
1:58 client-go, reflection & informers
3:28 Project setup
8:14 Targetting your custom resource
10:10 Informer factory
11:30 Adding event handlers
12:57 Downside of auto importing…
14:46 Detecting an updated custom resource
15:19 Casting types
16:37 Conclusion

Comments are closed.