I want to use the kubernetes java client to create a controller (using shared informer) to watch for create, update, and delete events for pods in a specific namespace. I've found some examples that watch deployments and list nodes...but cannot find examples for pods. are there any examples that are available?
Maybe you can try the following link to understand what all things are necessary to write a custom controller and try to write your own with JAVA.